1 // Test for new(2.0) syntax for specifying permissionset
\r
2 // (Uses string instead of a bytearray or namevalue pairs)
\r
4 .assembly extern mscorlib
\r
8 .assembly 'test-perm_pass-2'
\r
10 .custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
\r
11 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
\r
12 .hash algorithm 0x00008004
\r
15 .module 'test-perm_pass-2.dll'
\r
17 .class private auto ansi beforefieldinit test
\r
18 extends [mscorlib]System.Object
\r
20 .method public hidebysig specialname rtspecialname
\r
21 instance void .ctor() cil managed
\r
25 IL_0001: call instance void [mscorlib]System.Object::.ctor()
\r
29 .method public hidebysig static void foo() cil managed
\r
31 .permissionset linkcheck
\r
32 "<PermissionSet class=\"System.Security.PermissionSe"
\r
33 + "t\"\nversion=\"1\">\n<IPermission class=\"System.Security.Permissi"
\r
34 + "ons.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=n"
\r
35 + "eutral, PublicKeyToken=b77a5c561934e089\"\nversion=\"1\"\nUnrestr"
\r
36 + "icted=\"true\"/>\n</PermissionSet>\n"
\r
37 // Code size 1 (0x1)
\r