eric lippert has said on record here @ so,
reflection.emit weak use build real compiler. it's great little toy compilation tasks emitting dynamic call sites , expression trees in linq queries, sorts of problems you'll face in compiler exceed capabilities. use cci, not reflection.emit.
i've got real compiler unfortunately built (not me) on reflection.emit. it's butting against limits painfully, , i'd convert emit code on cci. i'm finding few things there doesn't seem equivalent for, though.
for example, lines:
_asmbuilder.defineversioninforesource(); _modulebuilder.createglobalfunctions(); //setup global .data
i don't see way same things, can't find equivalent modulebuilder in first place.
is there reference or documentation available how convert reflection.emit project on cci?
Comments
Post a Comment