diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2015-09-03 17:36:18 -0700 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2015-09-03 17:36:18 -0700 |
commit | cc9fcb43ed083d97ed337e9a617728da03cde55d (patch) | |
tree | 8c036834e60fa760094ebb4314d022a2e717d0d8 /tests/src/JIT/Methodical/Coverage | |
parent | 3913d10b8cfdc5927872e5d63bb994ceaf0e21b3 (diff) | |
download | coreclr-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/Methodical/Coverage')
-rw-r--r-- | tests/src/JIT/Methodical/Coverage/b39946.il | 5 | ||||
-rw-r--r-- | tests/src/JIT/Methodical/Coverage/b518440.il | 8 | ||||
-rw-r--r-- | tests/src/JIT/Methodical/Coverage/hole.il | 11 |
3 files changed, 20 insertions, 4 deletions
diff --git a/tests/src/JIT/Methodical/Coverage/b39946.il b/tests/src/JIT/Methodical/Coverage/b39946.il index 77dd334f48..55979b70c1 100644 --- a/tests/src/JIT/Methodical/Coverage/b39946.il +++ b/tests/src/JIT/Methodical/Coverage/b39946.il @@ -2,6 +2,11 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. .assembly extern legacy library mscorlib {} +.assembly extern System.Console +{ + .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) + .ver 4:0:0:0 +} .assembly b39946 {} .class ILGEN_0x5c383c7 { diff --git a/tests/src/JIT/Methodical/Coverage/b518440.il b/tests/src/JIT/Methodical/Coverage/b518440.il index 0466f428ac..27382632a5 100644 --- a/tests/src/JIT/Methodical/Coverage/b518440.il +++ b/tests/src/JIT/Methodical/Coverage/b518440.il @@ -1,6 +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 System.Console +{ + .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) + .ver 4:0:0:0 +} + .assembly extern mscorlib{} .assembly b518440{} @@ -16,7 +22,7 @@ call void A::Test() ldstr "Test SUCCESS" - call void [mscorlib]System.Console::WriteLine(string) + call void [System.Console]System.Console::WriteLine(string) ldc.i4 100 ret } diff --git a/tests/src/JIT/Methodical/Coverage/hole.il b/tests/src/JIT/Methodical/Coverage/hole.il index 0bc7aa21b4..a2e183b791 100644 --- a/tests/src/JIT/Methodical/Coverage/hole.il +++ b/tests/src/JIT/Methodical/Coverage/hole.il @@ -6,7 +6,12 @@ // Metadata version: v1.2.30210 -.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 hole {} .module hole.exe // MVID: {972ABF67-C385-44E6-B525-571BCCECC13C} @@ -81,9 +86,9 @@ // Code size 21 (0x15) .maxstack 10 IL_0000: ldstr "In Foo: " - IL_0005: call void [mscorlib]System.Console::Write(string) + IL_0005: call void [System.Console]System.Console::Write(string) IL_000a: ldsfld int32 BASIC::x - IL_000f: call void [mscorlib]System.Console::WriteLine(int32) + IL_000f: call void [System.Console]System.Console::WriteLine(int32) ldc.i4 100 IL_0014: ret } // end of method BASIC::Foo |