New test.
[mono.git] / mcs / class / corlib / System.Security.Permissions / PublisherIdentityPermissionAttribute.cs
index 80d034feb922d2812642620481e63e88860510b8..d5ae1319b1a9e843167d82d26ab50939a9ceea99 100644 (file)
@@ -27,6 +27,8 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !MOONLIGHT
+
 using System.Runtime.InteropServices;
 using SSCX = System.Security.Cryptography.X509Certificates;
 
@@ -34,9 +36,7 @@ using Mono.Security.Cryptography;
 
 namespace System.Security.Permissions {
 
-#if NET_2_0
        [ComVisible (true)]
-#endif
        [AttributeUsage (AttributeTargets.Assembly | AttributeTargets.Class |
                         AttributeTargets.Struct | AttributeTargets.Constructor |
                         AttributeTargets.Method, AllowMultiple=true, Inherited=false)]
@@ -92,3 +92,6 @@ namespace System.Security.Permissions {
                }
        }
 }
+
+#endif
+