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