예제 #1
0
 public ILEmitter(ModuleDef targetModule, Importer?importer = null, CilFragment fragment = null)
 {
     TargetModule     = targetModule;
     _importer        = importer ?? new Importer(targetModule);
     _mainFragment    = fragment ?? new CilFragment();
     _tempLocals      = new TempLocals();
     _insertions      = new Dictionary <Instruction, List <Insertion> >();
     _insertionsStack = new Stack <Insertion>();
 }
예제 #2
0
 public User(TempLocals locals, Local local)
 {
     _locals = locals;
     _local  = local;
 }