Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-sec-suppress.il « tests « ilasm « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 08562b42c478c9e9789d395c82285180fa28909a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// a Type or method with a custom attribute SuppressUnmanagedCodeSecurityAttribute
// automatically gets a HasSecurity attribute set.

.assembly extern mscorlib
{
}
.assembly 'sec'
{
}
.module sec.dll


  .class private auto ansi beforefieldinit test
  	extends [mscorlib]System.Object
  {
    .custom instance void class [mscorlib]System.Security.SuppressUnmanagedCodeSecurityAttribute::.ctor() =  (01 00 00 00 )

    .method public hidebysig  specialname  rtspecialname 
           instance default void .ctor ()  cil managed 
    {
	.maxstack 8
	IL_0000:  ldarg.0 
	IL_0001:  call instance void object::.ctor()
	IL_0006:  ret 
    }

    .method private hidebysig 
           instance default void abc ()  cil managed 
    {
        .custom instance void class [mscorlib]System.Security.SuppressUnmanagedCodeSecurityAttribute::.ctor() =  (01 00 00 00 )

	.maxstack 8
	IL_0000:  ret 
    }

  }