Merge pull request #409 from Alkarex/patch-1
[mono.git] / mcs / class / corlib / Mono.Security.Cryptography / KeyPairPersistence.cs
index a19dc7afbe44566c1946ee7e3c0f1ee9e603321a..c118cc3785c7633399b4d0fff3da33ba6cdbf9a4 100644 (file)
@@ -26,6 +26,8 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !MOONLIGHT
+
 using System;
 using System.Globalization;
 using System.IO;
@@ -98,10 +100,10 @@ namespace Mono.Security.Cryptography {
 #endif
        class KeyPairPersistence {
        
-               private static bool _userPathExists = false; // check at 1st use
+               private static bool _userPathExists; // check at 1st use
                private static string _userPath;
                
-               private static bool _machinePathExists = false; // check at 1st use
+               private static bool _machinePathExists; // check at 1st use
                private static string _machinePath;
 
                private CspParameters _params;
@@ -452,3 +454,6 @@ namespace Mono.Security.Cryptography {
                }
        }
 }
+
+#endif
+