New test.
[mono.git] / mcs / class / corlib / System.Security.Cryptography.X509Certificates / X509ContentType.cs
index d96b30d7f49b88cfe35b44dba4ab650d5bf11b96..e7b0f14a554833a850974cbd370bc7cbdb3276a8 100644 (file)
@@ -32,21 +32,19 @@ namespace System.Security.Cryptography.X509Certificates {
 
 // Note: Definitions are useful for 1.0 and 1.1 so we declare them internal
 
-#if NET_2_0
-       [Serializable]
        [ComVisible (true)]
        public
-#else
-       internal
-#endif
        enum X509ContentType {
                Unknown,
                Cert,
+#if !MOONLIGHT
+               // not supported by Silverlight 2.0 (NET_2_1)
                SerializedCert,
                Pfx,
                SerializedStore,
                Pkcs7,
                Authenticode,
                Pkcs12 = Pfx
+#endif
        }
 }