Update the reference assemblies we ship in mono.
[mono-project.git] / mcs / errors / cs7070.cs
blob599a1808ffd4a12a71510d655355f2678d9b481b
1 // CS7070: Security attribute `DebugPermissionAttribute' is not valid on this declaration type. Security attributes are only valid on assembly, type and method declarations
2 // Line: 10
4 using System;
5 using System.Security;
6 using System.Security.Permissions;
8 public class Program {
10 [DebugPermission (SecurityAction.RequestMinimum)]
11 public int i;
14 [AttributeUsage (AttributeTargets.All, AllowMultiple = true, Inherited = false)]
15 [Serializable]
16 public class DebugPermissionAttribute : CodeAccessSecurityAttribute {
18 public DebugPermissionAttribute (SecurityAction action)
19 : base (action)
23 public override IPermission CreatePermission ()
25 return null;