Method lookup: get rid of reflection code #161
Labels
area:compiler
Related to code compilation or type checking
area:sdk
Cesium .NET SDK
good-first-issue
An issue considered simple enough for new contributors
kind:feature
New feature or request
status:help-wanted
Open for contributors
As of now,
Cesium.CodeGen.Extensions.TypeSystemEx.MethodLookup
does lookup on referenced assemblies using the runtime reflection. This means that to look up a method, Cesium has to load the referenced assembly.This is not right, since not every assembly may even be loaded by the compiler (due to architecture or platform differences between the compiler runtime and the application target runtime).
We should inspect the referenced assemblies using Cecil instead of the runtime reflection
See also:
// TODO[#161]
in the compiler code.The text was updated successfully, but these errors were encountered: