3 instantiations of MethodBuilderImpl
System.Reflection.Emit (3)
System\Reflection\Emit\ConstructorBuilderImpl.cs (1)
16
_methodBuilder = new
MethodBuilderImpl
(name, attributes, callingConvention, returnType: null, returnTypeRequiredCustomModifiers: null,
System\Reflection\Emit\TypeBuilderImpl.cs (2)
308
MethodBuilderImpl methodBuilder =
new
(name, attributes, callingConvention, returnType, returnTypeRequiredCustomModifiers,
396
MethodBuilderImpl method = new
MethodBuilderImpl
(name, attributes, callingConvention, returnType, returnTypeRequiredCustomModifiers,
36 references to MethodBuilderImpl
System.Reflection.Emit (36)
System\Reflection\Emit\ConstructorBuilderImpl.cs (1)
10
internal readonly
MethodBuilderImpl
_methodBuilder;
System\Reflection\Emit\GenericTypeParameterBuilderImpl.cs (2)
22
private
MethodBuilderImpl
? _methodBuilder;
32
public GenericTypeParameterBuilderImpl(string name, int genParamPosition,
MethodBuilderImpl
methodBuilder, TypeBuilderImpl typeBuilder)
System\Reflection\Emit\ILGeneratorImpl.cs (3)
16
private readonly
MethodBuilderImpl
_methodBuilder;
37
internal ILGeneratorImpl(
MethodBuilderImpl
methodBuilder, int size)
654
if (methodInfo is
MethodBuilderImpl
builder)
System\Reflection\Emit\ModuleBuilderImpl.cs (21)
239
if (eventBuilder._addOnMethod is
MethodBuilderImpl
aMb)
244
if (eventBuilder._raiseMethod is
MethodBuilderImpl
rMb)
249
if (eventBuilder._removeMethod is
MethodBuilderImpl
remMb)
256
foreach (
MethodBuilderImpl
method in eventBuilder._otherMethods)
277
if (property.GetMethod is
MethodBuilderImpl
gMb)
282
if (property.SetMethod is
MethodBuilderImpl
sMb)
289
foreach (
MethodBuilderImpl
method in property._otherMethods)
310
private void PopulateMethodDefinitionHandles(List<
MethodBuilderImpl
> methods)
312
foreach (
MethodBuilderImpl
method in methods)
350
private void WriteMethods(List<
MethodBuilderImpl
> methods, List<GenericTypeParameterBuilderImpl> genericParams,
353
foreach (
MethodBuilderImpl
method in methods)
625
private static int AddMethodBody(
MethodBuilderImpl
method, ILGeneratorImpl il, StandaloneSignatureHandle signature, MethodBodyStreamEncoder bodyEncoder) =>
942
private MethodDefinitionHandle AddMethodDefinition(
MethodBuilderImpl
method, BlobBuilder methodSignature, int offset, int parameterToken) =>
1032
if (member is
MethodBuilderImpl
mb && Equals(mb.Module))
1173
if (method is
MethodBuilderImpl
mb && Equals(mb.Module))
1191
((method.GetGenericMethodDefinition() is
MethodBuilderImpl
mb && Equals(mb.Module)) || ContainsTypeBuilder(method.GetGenericArguments()));
1201
if (method is
MethodBuilderImpl
mb && Equals(mb.Module))
1265
MethodBuilderImpl
method = (
MethodBuilderImpl
)_globalTypeBuilder.DefineMethod(name, attributes, callingConvention,
1294
MethodBuilderImpl
method = (
MethodBuilderImpl
)_globalTypeBuilder.DefinePInvokeMethod(
System\Reflection\Emit\ParameterBuilderImpl.cs (2)
12
internal readonly
MethodBuilderImpl
_methodBuilder;
19
public ParameterBuilderImpl(
MethodBuilderImpl
methodBuilder, int sequence, ParameterAttributes attributes, string? paramName)
System\Reflection\Emit\TypeBuilderImpl.cs (7)
35
internal readonly List<
MethodBuilderImpl
> _methodDefinitions = new();
131
MethodBuilderImpl
method = _methodDefinitions[i];
308
MethodBuilderImpl
methodBuilder = new(name, attributes, callingConvention, returnType, returnTypeRequiredCustomModifiers,
396
MethodBuilderImpl
method = new MethodBuilderImpl(name, attributes, callingConvention, returnType, returnTypeRequiredCustomModifiers,
698
private static bool MatchesTheFilter(
MethodBuilderImpl
method, BindingFlags methodFlags, BindingFlags bindingFlags, CallingConventions callConv, Type[]? argumentTypes)
823
foreach (
MethodBuilderImpl
method in _methodDefinitions)
846
foreach (
MethodBuilderImpl
method in _methodDefinitions)