Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJb Evain <jb@evain.net>2015-05-28 20:17:51 +0300
committerJb Evain <jb@evain.net>2015-05-28 20:21:22 +0300
commitff1110260564d91c9d3e977c345fcbc055bc04dd (patch)
treee3d1dcbe7be70dd3a9a782c02fd29144e8f5c3e9 /Mono.Security.Cryptography
parent2cd32880c896bf22566686e5d1ed462c8120bcfa (diff)
Remove support for building against SL and the CF in favor of a PCL
Diffstat (limited to 'Mono.Security.Cryptography')
-rw-r--r--Mono.Security.Cryptography/CryptoConvert.cs7
-rw-r--r--Mono.Security.Cryptography/CryptoService.cs6
2 files changed, 9 insertions, 4 deletions
diff --git a/Mono.Security.Cryptography/CryptoConvert.cs b/Mono.Security.Cryptography/CryptoConvert.cs
index 4ac1424..20a6821 100644
--- a/Mono.Security.Cryptography/CryptoConvert.cs
+++ b/Mono.Security.Cryptography/CryptoConvert.cs
@@ -27,7 +27,9 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if !(SILVERLIGHT || READ_ONLY)
+#if !READ_ONLY
+
+#if !PCL
using System;
using System.Security.Cryptography;
@@ -246,3 +248,6 @@ namespace Mono.Security.Cryptography {
}
#endif
+
+#endif
+
diff --git a/Mono.Security.Cryptography/CryptoService.cs b/Mono.Security.Cryptography/CryptoService.cs
index 5cb7e0e..cc3afc3 100644
--- a/Mono.Security.Cryptography/CryptoService.cs
+++ b/Mono.Security.Cryptography/CryptoService.cs
@@ -15,7 +15,7 @@ using System.Security.Cryptography;
#if !READ_ONLY
-#if !SILVERLIGHT && !CF
+#if !PCL
using System.Runtime.Serialization;
using Mono.Security.Cryptography;
#endif
@@ -30,7 +30,7 @@ namespace Mono.Cecil {
static class CryptoService {
-#if !SILVERLIGHT && !CF
+#if !PCL
public static void StrongName (Stream stream, ImageWriter writer, StrongNameKeyPair key_pair)
{
int strong_name_pointer;
@@ -127,7 +127,7 @@ namespace Mono.Cecil {
}
}
-#if !SILVERLIGHT && !CF
+#if !PCL
static partial class Mixin {
public static RSA CreateRSA (this StrongNameKeyPair key_pair)