1 instantiation of RuntimeModuleBuilder
System.Private.CoreLib (1)
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (1)
100_manifestModuleBuilder = new RuntimeModuleBuilder(this, (RuntimeModule)InternalAssembly.ManifestModule);
59 references to RuntimeModuleBuilder
System.Private.CoreLib (59)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
266_module = RuntimeModuleBuilder.GetRuntimeModuleFromModule(m); // this returns the underlying module for all RuntimeModule and ModuleBuilder objects.
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\QCallHandles.cs (1)
93internal QCallModule(ref Reflection.Emit.RuntimeModuleBuilder module)
src\System\Reflection\Emit\CustomAttributeBuilder.cs (1)
510internal void CreateCustomAttribute(RuntimeModuleBuilder mod, int tkOwner)
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (2)
70private readonly RuntimeModuleBuilder _manifestModuleBuilder; 275if (RuntimeModuleBuilder.ManifestModuleName == name)
src\System\Reflection\Emit\RuntimeConstructorBuilder.cs (2)
17Type[]? parameterTypes, Type[][]? requiredCustomModifiers, Type[][]? optionalCustomModifiers, RuntimeModuleBuilder mod, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] RuntimeTypeBuilder type) 30Type[]? parameterTypes, RuntimeModuleBuilder mod, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] RuntimeTypeBuilder type) :
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
303RuntimeModuleBuilder module) // module containing this type
src\System\Reflection\Emit\RuntimeEventBuilder.cs (3)
28RuntimeModuleBuilder mod, // the module containing this EventBuilder 53RuntimeModuleBuilder module = m_module; 96private readonly RuntimeModuleBuilder m_module;
src\System\Reflection\Emit\RuntimeFieldBuilder.cs (6)
39RuntimeModuleBuilder module = m_typeBuilder.GetModuleBuilder(); 49RuntimeModuleBuilder module = m_typeBuilder.GetModuleBuilder(); 50RuntimeModuleBuilder.SetFieldRVAContent(new QCallModule(ref module), m_fieldTok, data, size); 135RuntimeModuleBuilder module = m_typeBuilder.GetModuleBuilder(); 155RuntimeModuleBuilder moduleBuilder = (RuntimeModuleBuilder)m_typeBuilder.Module;
src\System\Reflection\Emit\RuntimeILGenerator.cs (4)
171return ((RuntimeModuleBuilder)m_methodBuilder.Module).GetMethodTokenInternal(method, optionalParameterTypes, useMethodDef); 180return ((RuntimeModuleBuilder)m_methodBuilder.Module).GetMemberRefSignature(call, returnType, parameterTypes, null, null, optionalParameterTypes, 0); 712RuntimeModuleBuilder modBuilder = (RuntimeModuleBuilder)m_methodBuilder.Module;
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (6)
20private readonly RuntimeModuleBuilder m_module; 62RuntimeModuleBuilder mod, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] RuntimeTypeBuilder type) 149RuntimeModuleBuilder dynMod = m_module; 354internal RuntimeModuleBuilder GetModuleBuilder() 597RuntimeModuleBuilder module = m_module; 662RuntimeModuleBuilder module = m_module;
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (13)
109RuntimeModuleBuilder thisModule = this; 120RuntimeModuleBuilder thisModule = this; 131RuntimeModuleBuilder thisModule = this; 141RuntimeModuleBuilder thisModule = this; 154RuntimeModuleBuilder thisModule = this; 163RuntimeModuleBuilder thisModule = this; 219RuntimeModuleBuilder thisModule = this; 296if (m is RuntimeModuleBuilder mb) 1096RuntimeModuleBuilder thisModule = this; 1146RuntimeModuleBuilder thisModule = this; 1253RuntimeModuleBuilder thisModule = this; 1265RuntimeModuleBuilder thisModule = this; 1276RuntimeModuleBuilder thisModule = this;
src\System\Reflection\Emit\RuntimeParameterBuilder.cs (2)
25((RuntimeModuleBuilder)_methodBuilder.GetModule()).GetMethodMetadataToken(con), 39RuntimeModuleBuilder module = _methodBuilder.GetModuleBuilder();
src\System\Reflection\Emit\RuntimePropertyBuilder.cs (3)
29RuntimeModuleBuilder mod, // the module containing this PropertyBuilder 74RuntimeModuleBuilder module = m_moduleBuilder; 199private readonly RuntimeModuleBuilder m_moduleBuilder;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (13)
43public void Bake(RuntimeModuleBuilder module, int token) 91internal static void DefineCustomAttribute(RuntimeModuleBuilder module, int tkAssociate, int tkConstructor, 181internal static unsafe void SetConstantValue(RuntimeModuleBuilder module, int tk, Type destType, object? value) 306private readonly RuntimeModuleBuilder m_module; 341internal RuntimeTypeBuilder(RuntimeModuleBuilder module) 380string name, TypeAttributes attr, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type? parent, Type[]? interfaces, RuntimeModuleBuilder module, 563internal RuntimeModuleBuilder GetModuleBuilder() 1079RuntimeModuleBuilder module = m_module; 1186RuntimeModuleBuilder module = m_module; 1410RuntimeModuleBuilder module = m_module; 1448RuntimeModuleBuilder module = m_module; 1513RuntimeModuleBuilder module = m_module; 1718RuntimeModuleBuilder module = m_module;
src\System\Reflection\Emit\SymbolMethod.cs (1)
62internal int GetToken(RuntimeModuleBuilder mod)