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); }
public DotConstructor(DotType declaringType, bool isStatic, Type[] parametersTypes, IEnumerable <ILInstruction> body) : base(declaringType, isStatic, parametersTypes, body) { }
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; }