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