File: test-perm_pass-3.il

package info (click to toggle)
mono 4.6.2.7+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 778,148 kB
  • ctags: 914,052
  • sloc: cs: 5,779,509; xml: 2,773,713; ansic: 432,645; sh: 14,749; makefile: 12,361; perl: 2,488; python: 1,434; cpp: 849; asm: 531; sql: 95; sed: 16; php: 1
file content (60 lines) | stat: -rw-r--r-- 1,798 bytes parent folder | download | duplicates (2)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.assembly extern mscorlib
{
  .ver 2:0:0:0
}
.assembly 'test-perm_pass-3'
{
  .permissionset reqopt
            "<PermissionSet class=\"System.Security.PermissionSe"
  + "t\"\n               version=\"1\">\n   <IPermission class=\"System"
  + ".Security.Permissions.SecurityPermission, mscorlib, Version="
  + "2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\n "
  + "               version=\"1\"\n                Flags=\"SkipVerifi"
  + "cation\"/>\n</PermissionSet>\n"
  
  .permissionset assert = {
			[mscorlib]System.Security.Permissions.IsolatedStorageFilePermissionAttribute = {
				property enum [mscorlib]System.Security.Permissions.IsolatedStorageContainment 'UserQuota' = int32 (5)
			}
  }

  .ver 0:0:0:0
}

.module 'test-perm_pass-3.dll'
.imagebase 0x00400000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003
.corflags 0x00000001

.class public abstract foo
{
  .permissionset assert = {
	                [mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {
				property bool 'MemberAccess' = bool(true)
			}
  }

  .method public hidebysig newslot abstract virtual 
          instance void  abc() cil managed
  {
    .permissionset demand =
                {
			[mscorlib]System.Security.Permissions.IsolatedStorageFilePermissionAttribute = {
				property enum [mscorlib]System.Security.Permissions.IsolatedStorageContainment 'UserQuota' = int32 (50)
			},

	                [mscorlib]System.Security.Permissions.IsolatedStorageFilePermissionAttribute = {
				property enum [mscorlib]System.Security.Permissions.IsolatedStorageContainment 'UsageAllowed' = int32 (123)
			},

	                [mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {
				property char 'MemberAccess' = char (16)
			}
		}

    
  }

}