tags:

views:

79

answers:

0

Is there a Code sample that uses PostSharp actively but can also use System.Reflecttion.Emit alternatively to get field value and load into LocalVariableSymbol of PostSharp ?

eg.

in PS Weavingcontext.InstructionWriter.EmitInstructionField(Opcodenumber.Ldsfld, Ifld); in Reflection code sample to get the current context and emit the above to the IL Assembly