2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0647-2.cs
blob4644fddbf673dd4fec8cd80b483abcd7a915a580
1 // cs0647-2.cs: Error during emitting `System.Security.Permissions.SecurityPermissionAttribute' attribute. The reason is `SecurityAction `Demand' is not valid for this declaration'
2 // Line : 10
4 using System;
5 using System.Security;
6 using System.Security.Permissions;
8 [assembly: SecurityPermission (SecurityAction.Demand, SkipVerification=true)]
10 class Test
12 static void Main () {}