File: bug-387274.2.il

package info (click to toggle)
mono 4.6.2.7%2Bdfsg-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 (86 lines) | stat: -rw-r--r-- 2,494 bytes parent folder | download | duplicates (10)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.assembly extern mscorlib
{
  .ver 2:0:0:0
  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
}
.assembly extern Microsoft.VisualC
{
  .ver 8:0:0:0
  .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
}

.assembly 'PureApp'
{
  .permissionset reqmin = {[mscorlib]System.Security.Permissions.SecurityPermissionAttribute = {property bool 'SkipVerification' = bool(true)}}
  .hash algorithm 0x00008004
  .ver  0:0:0:0
}
.module PureApp.exe // GUID = {DB842872-06AD-4D53-B0A8-D39869A4A91F}


.method assembly static default char& modopt ([mscorlib]System.Runtime.CompilerServices.IsExplicitlyDereferenced)  modopt ([mscorlib]System.Runtime.CompilerServices.IsConst)  PtrToStringChars (string modopt ([mscorlib]System.Runtime.CompilerServices.IsConst)  s)  cil managed 
{
	.maxstack 2
	.locals ( unsigned int8& modopt ([mscorlib]System.Runtime.CompilerServices.IsExplicitlyDereferenced) 	V_0)
	ldarg.0 
	stloc.0 
	ldloc.0 
	brfalse.s END

	call int32 class [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::get_OffsetToStringData()
	ldloc.0 
	add 
	stloc.0 
END:
	ldloc.0 
	ret 
}

.method assembly static default void WriteStringManaged (char modopt ([mscorlib]System.Runtime.CompilerServices.IsConst) * str)  cil managed 
{
	.maxstack 1
	ldarg.0 
	call native int native int::op_Explicit(void*)
	call string class [mscorlib]System.Runtime.InteropServices.Marshal::PtrToStringUni(native int)
	call void class [mscorlib]System.Console::WriteLine(string)
	ret 
}

.method assembly static default int32 main (string[] args)  cil managed 
{
	.entrypoint
	.maxstack 2
	.locals (
		unsigned int8& modopt ([mscorlib]System.Runtime.CompilerServices.IsExplicitlyDereferenced) 	V_0,
		char& pinned modopt ([mscorlib]System.Runtime.CompilerServices.IsExplicitlyDereferenced) modopt ([mscorlib]	System.Runtime.CompilerServices.IsConst) 	V_1)

	ldstr "Pure console application"
	call void class [mscorlib]System.Console::WriteLine(string)
	ldstr "WriteStringManaged"
	stloc.0 
	ldloc.0 
	brfalse.s END

	call int32 class [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::get_OffsetToStringData()
	ldloc.0 
	add 
	stloc.0 
	ldloc.0 
	stloc.1

END:
	ldloc.1 
	call native int native int::op_Explicit(void*)
	call string class [mscorlib]System.Runtime.InteropServices.Marshal::PtrToStringUni(native int)
	call void class [mscorlib]System.Console::WriteLine(string)
	ldc.i4.0 
	ret 
}

.method assembly static  specialname  rtspecialname 
       default void '.cctor' ()  cil managed 
{
	.maxstack 0
	ret 
}