internal void SetMethod(GeneratedMethod method)
 {
     GeneratedMethod = method;
 }
Exemplo n.º 2
0
 public OverrideMethodContext(MethodInfo info, GeneratedMethod method, BaseTypeGenerationContext typeGenerationContext)
     : base(typeGenerationContext)
 {
     this.info = info;
     SetMethod(method);
 }
Exemplo n.º 3
0
 public GeneratedDelegate(MethodBodyContext context, GeneratedMethod method, DelegateGenerator generator)
 {
     this.context   = context;
     this.method    = method;
     this.generator = generator;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo n.º 7
0
 public ILocalIndexer Invoke(GeneratedMethod info, Type returnType)
 {
     return(method.Call(() => info, returnType));
 }
Exemplo n.º 8
0
 public GeneratedDelegate(MethodBodyContext context, GeneratedMethod method, DelegateGenerator generator)
 {
     this.context = context;
     this.method = method;
     this.generator = generator;
 }
Exemplo n.º 9
0
 public GeneratedArray(int localIndex, IList <ITypeGenerationAction> actions, GeneratedMethod method)
 {
     this.localIndex = localIndex;
     this.actions    = actions;
     this.method     = method;
 }
Exemplo n.º 10
0
 public GeneratedArray(int localIndex, IList<ITypeGenerationAction> actions, GeneratedMethod method)
 {
     this.localIndex = localIndex;
     this.actions = actions;
     this.method = method;
 }