1 write to _methodBuilder
System.Reflection.Emit (1)
System\Reflection\Emit\ConstructorBuilderImpl.cs (1)
16
_methodBuilder
= new MethodBuilderImpl(name, attributes, callingConvention, returnType: null, returnTypeRequiredCustomModifiers: null,
23 references to _methodBuilder
System.Reflection.Emit (23)
System\Reflection\Emit\ConstructorBuilderImpl.cs (15)
19
type._methodDefinitions.Add(
_methodBuilder
);
24
get =>
_methodBuilder
.InitLocals;
25
set =>
_methodBuilder
.InitLocals = value;
29
_methodBuilder
.DefineParameter(iSequence, attributes, strParamName);
38
return
_methodBuilder
.GetILGenerator(streamSize);
42
_methodBuilder
.SetCustomAttribute(con, binaryAttribute);
45
_methodBuilder
.SetImplementationFlags(attributes);
47
public override string Name =>
_methodBuilder
.Name;
49
public override MethodAttributes Attributes =>
_methodBuilder
.Attributes;
64
public override Type DeclaringType =>
_methodBuilder
.DeclaringType!;
66
public override Module Module =>
_methodBuilder
.Module;
68
public override int MetadataToken =>
_methodBuilder
.MetadataToken;
70
public override Type? ReflectedType =>
_methodBuilder
.ReflectedType;
72
public override MethodImplAttributes GetMethodImplementationFlags() =>
_methodBuilder
.GetMethodImplementationFlags();
77
public override ParameterInfo[] GetParameters() =>
_methodBuilder
.GetParameters();
System\Reflection\Emit\ILGeneratorImpl.cs (1)
450
stackChange -= builder.
_methodBuilder
.ParameterCount;
System\Reflection\Emit\ModuleBuilderImpl.cs (2)
1039
return ctor.
_methodBuilder
._handle;
1163
return cb.
_methodBuilder
._handle;
System\Reflection\Emit\TypeBuilderImpl.cs (5)
680
if (MatchesTheFilter(con.
_methodBuilder
, GetBindingFlags(con.
_methodBuilder
), bindingAttr, callConvention, types))
783
if (MatchesTheFilter(con.
_methodBuilder
, GetBindingFlags(con.
_methodBuilder
), bindingAttr, CallingConventions.Any, con.
_methodBuilder
.ParameterTypes))