summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Directed/leave/try2.il
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2015-09-03 17:36:18 -0700
committerBruce Forstall <brucefo@microsoft.com>2015-09-03 17:36:18 -0700
commitcc9fcb43ed083d97ed337e9a617728da03cde55d (patch)
tree8c036834e60fa760094ebb4314d022a2e717d0d8 /tests/src/JIT/Directed/leave/try2.il
parent3913d10b8cfdc5927872e5d63bb994ceaf0e21b3 (diff)
downloadcoreclr-cc9fcb43ed083d97ed337e9a617728da03cde55d.tar.gz
coreclr-cc9fcb43ed083d97ed337e9a617728da03cde55d.tar.bz2
coreclr-cc9fcb43ed083d97ed337e9a617728da03cde55d.zip
Add System.Console references and replace usages with [System.Console]
Diffstat (limited to 'tests/src/JIT/Directed/leave/try2.il')
-rw-r--r--tests/src/JIT/Directed/leave/try2.il13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/src/JIT/Directed/leave/try2.il b/tests/src/JIT/Directed/leave/try2.il
index 0df7ecde5d..79d56ec5ab 100644
--- a/tests/src/JIT/Directed/leave/try2.il
+++ b/tests/src/JIT/Directed/leave/try2.il
@@ -1,7 +1,12 @@
// 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 mscorlib { }
+.assembly extern System.Console
+{
+ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
+ .ver 4:0:0:0
+}
.assembly try2
{
}
@@ -499,7 +504,7 @@
IL_00c5: stloc.s V_17
IL_00c7: ldloc.s V_17
IL_00c9: box Days
- //IL_00ce: call void [mscorlib]System.Console::WriteLine(class System.Object)
+ //IL_00ce: call void [System.Console]System.Console::WriteLine(class System.Object)
IL_00d3: leave.s IL_00d8
} // end .try
@@ -908,13 +913,13 @@
IL_0030: brfalse.s IL_0041
IL_0032: ldstr "PASSED"
- IL_0037: call void [mscorlib]System.Console::WriteLine(class System.String)
+ IL_0037: call void [System.Console]System.Console::WriteLine(class System.String)
IL_003c: ldc.i4.s 100
IL_003e: stloc.1
IL_003f: br.s IL_004f
IL_0041: ldstr "FAILED"
- IL_0046: call void [mscorlib]System.Console::WriteLine(class System.String)
+ IL_0046: call void [System.Console]System.Console::WriteLine(class System.String)
IL_004b: ldc.i4.1
IL_004c: stloc.1
IL_004d: br.s IL_004f