Ejemplo n.º 1
0
 protected DotMethodBase(DotType declaringType, bool isStatic, Type[] parametersTypes, IEnumerable <ILInstruction> body)
 {
     this.declaringType   = declaringType;
     this.isStatic        = isStatic;
     this.parametersTypes = parametersTypes ?? new Type[0];
     this.body            = body == null ? new List <ILInstruction>() : new List <ILInstruction>(body);
 }
Ejemplo n.º 2
0
 public DotConstructor(DotType declaringType, bool isStatic, Type[] parametersTypes, IEnumerable <ILInstruction> body) : base(declaringType, isStatic, parametersTypes, body)
 {
 }
Ejemplo n.º 3
0
 public DotMethod(string name, DotType declaringType, bool isStatic, Type returnType, Type[] parametersTypes, IEnumerable <ILInstruction> body) : base(declaringType, isStatic, parametersTypes, body)
 {
     this.name       = name;
     this.returnType = returnType;
 }