bring XslCompiledTransform to MonoTouch
[mcs.git] / errors / cs0647-6.cs
blob4ba0e078a45e001a650ef76e9fa4ae3b38e37ea7
1 // cs0647-6.cs: Error during emitting `DebugPermissionAttribute' attribute. The reason is `it is attached to invalid parent'
2 // Line : 11
4 using System;
5 using System.Security;
6 using System.Security.Permissions;
8 public class Program {
10 [return: DebugPermission (SecurityAction.LinkDemand)]
11 public int Show (string message)
13 return 2;
17 [AttributeUsage (AttributeTargets.All, AllowMultiple = true, Inherited = false)]
18 [Serializable]
19 public class DebugPermissionAttribute : CodeAccessSecurityAttribute {
21 public DebugPermissionAttribute (SecurityAction action)
22 : base (action)
26 public override IPermission CreatePermission ()
28 return null;