CodeRefractor icon indicating copy to clipboard operation
CodeRefractor copied to clipboard

Compiler Optimizations Aren't Always Called

Open bmustiata opened this issue 10 years ago • 0 comments

For example having:

var message = "test";
message += "other";
System.Console.WriteLine("main entered");

in main will trigger the optimisations call, while having in Main() only:

System.Console.WriteLine("main entered");

will not.

bmustiata avatar Feb 03 '15 22:02 bmustiata