public MethodGen(TypeGen owner, string name, MethodAttributes attributes, Type returnType, MethodImplAttributes implFlags) : base(owner, returnType) { this.name = name; this.attributes = owner.PreprocessAttributes(this, attributes); this.implFlags = implFlags; }
internal MethodGen(TypeGen owner, string name, MethodAttributes attributes, Type returnType, MethodImplAttributes implFlags) : base(owner, returnType, owner) { _name = name; _attributes = owner.PreprocessAttributes(this, attributes); _implFlags = implFlags; }