is there good coupling around ilgenerator?
i'm controlling system.reflection.emit while now, (who don't?) upsetting bug prone.
do know there good coupling around il generator, something i rest evacuate il some-more stable easier feeling enactment directly sre?
edit:
i know utilizing countenance trees definitively easier safer emitting il directly, nonetheless also have constraints right now. i can't emanate formula blocs, loops, announce work several locals, etc. need wait until .net 4 comes out :)
moreover, i'm traffic formula bottom already relies sre.
obviously, ilgenerator all i need. nonetheless i conclude some-more assistance utilizing it. i'm referring ilgenerator wrapper, stays during graceful low level, i cruise something yield methods like:
// performs practical proceed method, depending
// practical stationary one.
call(methodinfo methodinfo)
// pushes default value form stack, following evacuate
// ret opcode.
returndefault(type type)
// exam vigilant form evacuate analogous pull
// opcode (ldstr, ldc_i*, ldc_r*, etc.)
loadconstant(object o)
it's unequivocally 3 genuine examples, nonetheless adequate denote i expect. set progression methods, nonetheless good have support saving statements loops . fact, runsharp graceful tie i want, nonetheless abstracts ilgenerator too many doesn't arrangement the functionality.
i can't remember where, nonetheless i already saw such an supporter an open source project.
Comments
Post a Comment