blob: a9d95276b8420153b6a7924ab487171bf071f019 (
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
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
|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
.assembly extern mscorlib
{ }
.assembly extern common {}
.assembly 'test'
{ }
.class private auto ansi Test extends [mscorlib]System.Object
{
.method private hidebysig static int32 Main() il managed
{
.entrypoint
.maxstack 8
.locals init (
class [common]TestUtil.TestLog testLog
)
newobj instance void [common]TestUtil.TestLog::.ctor()
stloc.s testLog
ldloc.s testLog
callvirt instance void [common]TestUtil.TestLog::StartRecording()
.try {
ldc.i4 1
leave endtry2
} catch [mscorlib]System.Exception {
pop
leave endtry2
}
endtry1:
.try {
ldc.i4 2
leave endtry2
} catch [mscorlib]System.Exception {
pop
leave endtry2
}
endtry2:
ldloc.s testLog
callvirt instance void [common]TestUtil.TestLog::StopRecording()
ldloc.s testLog
callvirt instance int32 [common]TestUtil.TestLog::VerifyOutput()
ret
} // end of method 'Test::Main'
.method public hidebysig specialname rtspecialname
instance void .ctor() il managed
{
.maxstack 8
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ret
} // end of method 'Test::.ctor'
} // end of class 'Test'
|