コード例 #1
0
 internal void SetMethod(GeneratedMethod method)
 {
     GeneratedMethod = method;
 }
コード例 #2
0
 public OverrideMethodContext(MethodInfo info, GeneratedMethod method, BaseTypeGenerationContext typeGenerationContext)
     : base(typeGenerationContext)
 {
     this.info = info;
     SetMethod(method);
 }
コード例 #3
0
ファイル: GeneratedDelegate.cs プロジェクト: legendz3/Siege
 public GeneratedDelegate(MethodBodyContext context, GeneratedMethod method, DelegateGenerator generator)
 {
     this.context   = context;
     this.method    = method;
     this.generator = generator;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #7
0
 public ILocalIndexer Invoke(GeneratedMethod info, Type returnType)
 {
     return(method.Call(() => info, returnType));
 }
コード例 #8
0
ファイル: GeneratedDelegate.cs プロジェクト: adamjmoon/Siege
 public GeneratedDelegate(MethodBodyContext context, GeneratedMethod method, DelegateGenerator generator)
 {
     this.context = context;
     this.method = method;
     this.generator = generator;
 }
コード例 #9
0
 public GeneratedArray(int localIndex, IList <ITypeGenerationAction> actions, GeneratedMethod method)
 {
     this.localIndex = localIndex;
     this.actions    = actions;
     this.method     = method;
 }
コード例 #10
0
ファイル: GeneratedArray.cs プロジェクト: adamjmoon/Siege
 public GeneratedArray(int localIndex, IList<ITypeGenerationAction> actions, GeneratedMethod method)
 {
     this.localIndex = localIndex;
     this.actions = actions;
     this.method = method;
 }