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/Regression/CLR-x86-JIT/V1.2-Beta1 | |
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/Regression/CLR-x86-JIT/V1.2-Beta1')
5 files changed, 41 insertions, 13 deletions
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b147147/samabo.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b147147/samabo.il index 60e787d1df..0d55911537 100644 --- a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b147147/samabo.il +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b147147/samabo.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 samabo { } @@ -41,7 +46,7 @@ IL_0012: ldc.i4 100 ldstr "PASSED" - call void [mscorlib]System.Console::WriteLine(string) + call void [System.Console]System.Console::WriteLine(string) ret } // end of method MyStruct::Main @@ -103,7 +108,7 @@ IL_0072: mul IL_0073: add IL_0074: ldind.u2 - IL_0075: call void [mscorlib]System.Console::Write(char) + IL_0075: call void [System.Console]System.Console::Write(char) IL_007a: ldloc.1 IL_007b: ldc.i4.1 IL_007c: add @@ -113,7 +118,7 @@ IL_0080: ble.s IL_0063 IL_0082: ldnull - call void [mscorlib]System.Console::WriteLine(string) + call void [System.Console]System.Console::WriteLine(string) IL_0087: //pop IL_0088: ret } // end of method MyStruct::RunTest diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b147924/bigdat.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b147924/bigdat.il index b51568f8be..01d25b1033 100644 --- a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b147924/bigdat.il +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b147924/bigdat.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 BIGDAT {} .assembly extern mscorlib { @@ -30,7 +36,7 @@ stsfld class BIGDAT/WS_TYPE BIGDAT::WS_DATA ldstr "Pass" - 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/Regression/CLR-x86-JIT/V1.2-Beta1/b180381/constrained2.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b180381/constrained2.il index a22a3fba56..d1022438e9 100644 --- a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b180381/constrained2.il +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b180381/constrained2.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 constrained { } @@ -18,7 +23,7 @@ IL_0008: callvirt instance class [mscorlib]System.Type [mscorlib]System.Object::GetType() IL_000d: stloc.0 IL_000e: ldloc.0 - IL_000f: call void [mscorlib]System.Console::WriteLine(object) + IL_000f: call void [System.Console]System.Console::WriteLine(object) IL_0014: ret } // end of method Test::M diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b223924/bug2.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b223924/bug2.il index d4709fb719..e72f238012 100644 --- a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b223924/bug2.il +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b223924/bug2.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 ILGEN_0xef3a9aea {} .assembly extern mscorlib{auto} .class ILGEN_0xef3a9aea { @@ -44,20 +50,20 @@ catch [mscorlib]System.OverflowException { ldstr "System.OverflowException caught as expected" - call void [mscorlib]System.Console::WriteLine(string) + call void [System.Console]System.Console::WriteLine(string) leave PASS } FAIL: ldc.i4 1 ldstr "FAIL" - call void [mscorlib]System.Console::WriteLine(string) + call void [System.Console]System.Console::WriteLine(string) ret PASS: ldc.i4 100 ldstr "PASS" - call void [mscorlib]System.Console::WriteLine(string) + call void [System.Console]System.Console::WriteLine(string) ret } diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b223936/bug4.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b223936/bug4.il index d150919f35..2d7d9e7772 100644 --- a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b223936/bug4.il +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b223936/bug4.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 ILGEN_0xca498c54 {} .assembly extern mscorlib{auto} .class ILGEN_0xca498c54 { @@ -37,20 +43,20 @@ catch [mscorlib]System.OverflowException { ldstr "System.OverflowException caught as expected" - call void [mscorlib]System.Console::WriteLine(string) + call void [System.Console]System.Console::WriteLine(string) leave PASS } FAIL: ldc.i4 1 ldstr "FAIL" - call void [mscorlib]System.Console::WriteLine(string) + call void [System.Console]System.Console::WriteLine(string) ret PASS: ldc.i4 100 ldstr "PASS" - call void [mscorlib]System.Console::WriteLine(string) + call void [System.Console]System.Console::WriteLine(string) ret } |