Ejemplo n.º 1
0
 internal void SetMethod(GeneratedMethod method)
 {
     GeneratedMethod = method;
 }
Ejemplo n.º 2
0
 public OverrideMethodContext(MethodInfo info, GeneratedMethod method, BaseTypeGenerationContext typeGenerationContext)
     : base(typeGenerationContext)
 {
     this.info = info;
     SetMethod(method);
 }
Ejemplo n.º 3
0
 public GeneratedDelegate(MethodBodyContext context, GeneratedMethod method, DelegateGenerator generator)
 {
     this.context   = context;
     this.method    = method;
     this.generator = generator;
 }
Ejemplo n.º 4
0
 public GeneratedVariable(Func <DelegateMethod> methodInfo, int localIndex, IList <ITypeGenerationAction> actions, GeneratedMethod method)
 {
     this.delegateMethod = methodInfo;
     this.localIndex     = localIndex;
     this.actions        = actions;
     this.method         = method;
 }
Ejemplo n.º 5
0
 public GeneratedVariable(Func <BuilderBundle> builderBundle, int localIndex, IList <ITypeGenerationAction> actions, GeneratedMethod method)
 {
     this.builderBundle = builderBundle;
     this.localIndex    = localIndex;
     this.actions       = actions;
     this.method        = method;
 }
Ejemplo n.º 6
0
 public GeneratedVariable(Type type, int localIndex, IList <ITypeGenerationAction> actions, GeneratedMethod method)
 {
     this.type       = () => type;
     this.localIndex = localIndex;
     this.actions    = actions;
     this.method     = method;
 }
Ejemplo n.º 7
0
 public ILocalIndexer Invoke(GeneratedMethod info, Type returnType)
 {
     return(method.Call(() => info, returnType));
 }
Ejemplo n.º 8
0
 public GeneratedDelegate(MethodBodyContext context, GeneratedMethod method, DelegateGenerator generator)
 {
     this.context = context;
     this.method = method;
     this.generator = generator;
 }
Ejemplo n.º 9
0
 public GeneratedArray(int localIndex, IList <ITypeGenerationAction> actions, GeneratedMethod method)
 {
     this.localIndex = localIndex;
     this.actions    = actions;
     this.method     = method;
 }
Ejemplo n.º 10
0
 public GeneratedArray(int localIndex, IList<ITypeGenerationAction> actions, GeneratedMethod method)
 {
     this.localIndex = localIndex;
     this.actions = actions;
     this.method = method;
 }