Implement ILGenerator on Unix to use System.Console.dll
authorstephentoub <stoub@microsoft.com>
Wed, 10 Jun 2015 13:24:43 +0000 (09:24 -0400)
committerstephentoub <stoub@microsoft.com>
Wed, 10 Jun 2015 14:35:32 +0000 (10:35 -0400)
commit1ac4e76e3f0a5dea311a0642d2abaac3acea43fc
tree3efc8ad6b68af67d51613aab2c63ceb07a42fa3b
parent6b36698f02601918ad3cd549e0debd55862b5347
Implement ILGenerator on Unix to use System.Console.dll

The System.Console type in mscorlib on Unix is internal and lacks any ability to write out.  As such, System.Reflection.Emit.ILGenerator.EmitWriteLine needs to use the System.Console from System.Console.dll.
src/mscorlib/src/System/Reflection/Emit/ILGenerator.cs