1 write to m_methodBuilder
System.Private.CoreLib (1)
src\System\Reflection\Emit\RuntimeConstructorBuilder.cs (1)
19
m_methodBuilder
= new RuntimeMethodBuilder(name, attributes, callingConvention, null, null, null,
26 references to m_methodBuilder
System.Private.CoreLib (26)
src\System\Reflection\Emit\RuntimeConstructorBuilder.cs (26)
22
type.m_listMethods!.Add(
m_methodBuilder
);
24
m_methodBuilder
.GetMethodSignature().InternalGetSignature(out _);
26
_ =
m_methodBuilder
.MetadataToken; // Doubles as "CreateMethod" for MethodBuilder -- analogous to CreateType()
40
return
m_methodBuilder
.GetParameterTypes();
46
return
m_methodBuilder
.GetTypeBuilder();
50
return
m_methodBuilder
.GetMethodSignature();
57
return
m_methodBuilder
.ToString();
63
public override int MetadataToken =>
m_methodBuilder
.MetadataToken;
65
public override Module Module =>
m_methodBuilder
.Module;
67
public override Type? ReflectedType =>
m_methodBuilder
.ReflectedType;
69
public override Type? DeclaringType =>
m_methodBuilder
.DeclaringType;
71
public override string Name =>
m_methodBuilder
.Name;
83
ConstructorInfo rci = GetTypeBuilder().GetConstructor(
m_methodBuilder
.m_parameterTypes!)!;
87
public override MethodAttributes Attributes =>
m_methodBuilder
.Attributes;
91
return
m_methodBuilder
.GetMethodImplementationFlags();
94
public override RuntimeMethodHandle MethodHandle =>
m_methodBuilder
.MethodHandle;
109
return
m_methodBuilder
.GetCustomAttributes(inherit);
114
return
m_methodBuilder
.GetCustomAttributes(attributeType, inherit);
119
return
m_methodBuilder
.IsDefined(attributeType, inherit);
133
return
m_methodBuilder
.DefineParameter(iSequence, attributes, strParamName);
141
return
m_methodBuilder
.GetILGenerator(streamSize);
157
return
m_methodBuilder
.ReturnType;
162
m_methodBuilder
.SetCustomAttribute(con, binaryAttribute);
167
m_methodBuilder
.SetImplementationFlags(attributes);
172
get =>
m_methodBuilder
.InitLocals;
173
set =>
m_methodBuilder
.InitLocals = value;