2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0647-3.cs
blob46c0609fe0111edaecf0492679a371c8f0325946
1 // cs0647-3.cs: Error during emitting `System.Security.Permissions.SecurityPermissionAttribute' attribute. The reason is `SecurityAction `RequestMinimum' is not valid for this declaration'
2 // Line : 10
4 using System;
5 using System.Security;
6 using System.Security.Permissions;
8 public class Program {
10 [SecurityPermission (SecurityAction.RequestMinimum, ControlPrincipal=true, Flags=SecurityPermissionFlag.ControlPrincipal)]
11 static public void Main (string[] args)