Пример #1
0
 public CecilEmitter(IXamlTypeSystem typeSystem, MethodDefinition method)
 {
     _method    = method;
     _body      = method.Body;
     TypeSystem = typeSystem;
     LocalsPool = new XamlLocalsPool(t => this.DefineLocal(t));
 }
Пример #2
0
 public PooledLocal(XamlLocalsPool parent, IXamlType type, IXamlLocal local)
 {
     Local   = local;
     _parent = parent;
     _type   = type;
 }