diff options
Diffstat (limited to 'mcs/ilasm/errors/test-perm_fail-3.il')
-rw-r--r-- | mcs/ilasm/errors/test-perm_fail-3.il | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/ilasm/errors/test-perm_fail-3.il b/mcs/ilasm/errors/test-perm_fail-3.il new file mode 100644 index 00000000000..92c0611fbfc --- /dev/null +++ b/mcs/ilasm/errors/test-perm_fail-3.il @@ -0,0 +1,18 @@ +.assembly extern mscorlib +{ +} +.assembly 'test-perm_fail-3' +{ +} + + .class interface public auto ansi abstract foo + { + + .method public virtual hidebysig newslot abstract + instance default void abc () cil managed + { + //reqmin allowed only for .assembly + .permission reqmin [mscorlib]System.Security.Permissions.IsolatedStorageFilePermissionAttribute ("UsageAllowed"=[mscorlib]System.Security.Permissions.IsolatedStorageContainment (16)) + + } + } |