bflattened / bflat

C# as you know it but with Go-inspired tooling (small, selfcontained, and native executables)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.