Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git] / mcs / errors / cs7048.cs
blob398c32e7dc7eeaa56c529f7e6d80b90ea0819aa7
1 // CS7048: First argument of a security attribute `CustomSecurityAttribute' must be a valid SecurityAction
2 // Line: 20
4 using System.Security;
5 using System.Security.Permissions;
7 public class CustomSecurityAttribute : CodeAccessSecurityAttribute
9 public CustomSecurityAttribute ()
10 : base (SecurityAction.Demand)
14 public override IPermission CreatePermission()
16 return null;
20 [CustomSecurity]
21 class X
23 public static void Main ()