Remove mscorlib 1.x strong references from tests
authorMichal Strehovský <michals@microsoft.com>
Thu, 7 Apr 2016 22:28:04 +0000 (15:28 -0700)
committerMichal Strehovský <michals@microsoft.com>
Thu, 7 Apr 2016 22:28:44 +0000 (15:28 -0700)
commit4f5f38c2ec5cf59e602a7968dca6e7db4bbd2908
tree8f58a29a8c6bf8e2ae54cf58e82c992efa922c4e
parentcffa29f5b1d762bdb2534758de5a69d1b6ea94da
Remove mscorlib 1.x strong references from tests

Referencing mscorlib 1.x forces ILASM to emit a reference to the legacy
DebuggableAttribute constructor (the one that takes bools). That
constructor is not in the .NET Core profile and not all core base class
libraries will have it.

See src/ilasm/asmman.cpp#L389.

Commit migrated from https://github.com/dotnet/coreclr/commit/c3a552ce7698fe7381600eaf8d34244a8ee4b0d8
40 files changed:
src/coreclr/tests/src/JIT/Directed/shift/int8.il
src/coreclr/tests/src/JIT/Directed/shift/nativeint.il
src/coreclr/tests/src/JIT/Directed/shift/nativeuint.il
src/coreclr/tests/src/JIT/Methodical/cctor/simple/prefldinit1.il
src/coreclr/tests/src/JIT/Methodical/cctor/simple/prefldinit2.il
src/coreclr/tests/src/JIT/Methodical/cctor/simple/prefldinit4.il
src/coreclr/tests/src/JIT/Methodical/eh/deadcode/deadEHregionacrossBB.il
src/coreclr/tests/src/JIT/Methodical/eh/deadcode/deadcodeincatch.il
src/coreclr/tests/src/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet.il
src/coreclr/tests/src/JIT/Methodical/eh/deadcode/endfinallyinloop.il
src/coreclr/tests/src/JIT/Methodical/eh/finallyexec/catchrettoinnertry.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/2branchesoutoftry.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/backwardleaveincatch.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/branchbackwardswithcatch.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/branchbackwardswithfinally.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/branchoutofnestedtryfinally.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/branchoutoftryfinally.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/forwardleaveincatch.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/labelbeforefinally.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/labelbeginningfinally.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/leaveinsameregion.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/leaveintotrybody.il
src/coreclr/tests/src/JIT/Methodical/eh/leaves/tryfinallyintrycatchwithleaveintotry.il
src/coreclr/tests/src/JIT/Methodical/eh/mixedhandler/catchfiltercatch.il
src/coreclr/tests/src/JIT/Methodical/eh/mixedhandler/filterfiltercatchcatch.il
src/coreclr/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b102637/gbug.il
src/coreclr/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-Beta1/b147924/bigdat.il
src/coreclr/tests/src/JIT/Regression/CLR-x86-JIT/v2.1/b173313/b173313.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/M00/b106158/branchoutoftry.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/M00/b141062/ericswitch.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/M00/b98431/ConsoleApplication2.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/M00/b99403/cbyte7a.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-Beta1/b126221/cs_il.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M01/b10841/repro_good.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M01/b10852/test3.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M01/b11131/bug2.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M02/b14355/call01.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M02/b17023/test1a.il
src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M02/b17904/test.il
src/coreclr/tests/src/JIT/jit64/localloc/common/common.il