blob: ab16fd7acbbbe5e3c4560368e2e4bebf96eb8532 (
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
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
.assembly extern System.Console { }
.assembly extern mscorlib { }
.assembly typeload { }
.class sequential sealed public NumberNode
extends [mscorlib]System.ValueType
{
.field public int32 i
.field public valuetype NumberNode[] next
}
.class public main extends [mscorlib]System.Object
{
.method public static int32 Main()
{
.entrypoint
.locals init (valuetype NumberNode[] V_0,
class [mscorlib]System.Exception V_1,
int32 V_2)
.try
{
ldc.i4.1
newarr NumberNode
stloc.0
ldstr "PASS"
call void [System.Console]System.Console::WriteLine(string)
ldc.i4.s 100
stloc.2
leave.s end
}
catch [mscorlib]System.Exception
{
stloc.1
ldstr "{0}Caught unexpected exception."
ldloc.1
call void [System.Console]System.Console::WriteLine(string,object)
ldstr "FAIL"
call void [System.Console]System.Console::WriteLine(string)
ldc.i4.s 101
stloc.2
leave.s end
}
end: ldloc.2
ret
}
}
|