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