Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: ef1823ab80
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (16 sloc) 0.498 kB
This document describes all code optimalizations performed by Mono C# compiler
when optimalizations are enabled via /optimize+ option.
Optimalizations:
* Instance field initializer to default value
---------------------------------------------
Code to optimize:
class C
{
enum E
{
Test
}
int i = 0; // Field will not be redundantly assigned
int i2 = new int (); // This will be also completely optimized out
E e = E.Test; // Even this will go out.
}
Jump to Line
Something went wrong with that request. Please try again.