Add options IlcScanReflection
NCLnclNCL opened this issue · comments
It is light no reflection with this <IlcScanReflection>false</IlcScanReflection>
The only thing this does is that it disables dataflow analysis. If the program has something like typeof(Foo).GetMethod("Bar")
the compiler would make sure this reflection works at runtime. If it's disabled, the compiler won't do anything. This is a "please break my program" option. We already have a "please break my program" option: disable reflection fully.