Comments
2 comments
-
Hi.
There are two additional properties that the C# language writer is looking for in the LanguageWriterConfiguration.
One for setting the number formatconfiguration["NumberFormat"] = "Decimal"; // "Hexadecimal"
and one for determining if the writer should output C# 4 constructs in a couple of circumstancesconfiguration["Optimization"] = "4.0"; // "2.0"
-
It did the job.
Thanks a lot!
Add comment
Please sign in to leave a comment.
http://www.simple-talk.com/dotnet/.net-tools/hosting-.net-reflector-in-your-own-application/
and it does actually, except one thing.
It does show IL, Visual Basic source perfectly but when I set the language code = 1 (C#), the writer method throws null reference exception.
Did I miss something important?
Please help.
Thanks in advance!