51 instantiations of QCallModule
System.Private.CoreLib (51)
src\System\Reflection\Emit\RuntimeEventBuilder.cs (1)
55new QCallModule(ref module),
src\System\Reflection\Emit\RuntimeFieldBuilder.cs (3)
40m_fieldTok = RuntimeTypeBuilder.DefineField(new QCallModule(ref module), 50RuntimeModuleBuilder.SetFieldRVAContent(new QCallModule(ref module), m_fieldTok, data, size); 136RuntimeTypeBuilder.SetFieldLayoutOffset(new QCallModule(ref module), m_fieldTok, iOffset);
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (3)
599int token = RuntimeTypeBuilder.DefineMethod(new QCallModule(ref module), m_containingType.MetadataToken, m_strName, sigBytes, sigLength, Attributes); 606RuntimeTypeBuilder.SetMethodImpl(new QCallModule(ref module), token, m_dwMethodImplFlags); 663RuntimeTypeBuilder.SetMethodImpl(new QCallModule(ref module), MetadataToken, attributes);
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (14)
112return GetMemberRef(new QCallModule(ref thisModule), new QCallModule(ref refedRuntimeModule), tr, defToken); 121return GetMemberRefFromSignature(new QCallModule(ref thisModule), tr, methodName, signature, length); 132int result = GetMemberRefOfMethodInfo(new QCallModule(ref thisModule), tr, ((IRuntimeMethodInfo)method).Value); 142int result = GetMemberRefOfMethodInfo(new QCallModule(ref thisModule), tr, ((IRuntimeMethodInfo)method).Value); 155return GetMemberRefOfFieldInfo(new QCallModule(ref thisModule), tkType, new QCallTypeHandle(ref declaringType), runtimeField.MetadataToken); 164return GetTokenFromTypeSpec(new QCallModule(ref thisModule), signature, length); 221return GetTypeRef(new QCallModule(ref thisModule), typeName, new QCallModule(ref refedRuntimeModule), tkResolution); 1097tk = RuntimeTypeBuilder.DefineMethodSpec(new QCallModule(ref thisModule), tk, sigBytes, sigLength); 1147return GetArrayMethodToken(new QCallModule(ref thisModule), 1254return GetStringConstant(new QCallModule(ref thisModule), stringConstant, stringConstant.Length); 1266return RuntimeTypeBuilder.GetTokenFromSig(new QCallModule(ref thisModule), sigBytes, sigLength); 1277return RuntimeTypeBuilder.GetTokenFromSig(new QCallModule(ref thisModule), localSigBytes, sigLength);
src\System\Reflection\Emit\RuntimeParameterBuilder.cs (1)
41new QCallModule(ref module),
src\System\Reflection\Emit\RuntimePropertyBuilder.cs (1)
76new QCallModule(ref module),
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (16)
94DefineCustomAttribute(new QCallModule(ref module), tkAssociate, tkConstructor, 269SetConstantValue(new QCallModule(ref module), tk, (int)corType, pData); 276SetConstantValue(new QCallModule(ref module), tk, (int)CorElementType.ELEMENT_TYPE_STRING, pString); 282SetConstantValue(new QCallModule(ref module), tk, (int)CorElementType.ELEMENT_TYPE_I8, &ticks); 297SetConstantValue(new QCallModule(ref module), tk, (int)CorElementType.ELEMENT_TYPE_CLASS, null); 452m_tdType = DefineType(new QCallModule(ref module), 458SetClassLayout(new QCallModule(ref module), m_tdType, m_iPackingSize, m_iTypeSize); 1080DefineMethodImpl(new QCallModule(ref module), m_tdType, tkBody, tkDecl); 1187SetPInvokeData(new QCallModule(ref module), 1413new QCallModule(ref module), 1450new QCallModule(ref module), 1535m_tdType = DefineGenericParam(new QCallModule(ref module), 1555SetParentType(new QCallModule(ref module), m_tdType, tkParent); 1640SetMethodIL(new QCallModule(ref module), meth.MetadataToken, meth.InitLocals, 1658TermCreateClass(new QCallModule(ref module), m_tdType, ObjectHandleOnStack.Create(ref cls)); 1719AddInterfaceImpl(new QCallModule(ref module), m_tdType, tkInterface);
src\System\Reflection\RuntimeModule.cs (3)
411GetFullyQualifiedName(new QCallModule(ref thisAsLocal), new StringHandleOnStack(ref fullyQualifiedName)); 425GetTypes(new QCallModule(ref thisAsLocal), ObjectHandleOnStack.Create(ref types)); 488GetScopeName(new QCallModule(ref thisAsLocal), new StringHandleOnStack(ref scopeName));
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
193RunModuleConstructor(new QCallModule(ref rm));
src\System\RuntimeHandles.cs (8)
1785new QCallModule(ref module), 1799=> GetToken(new QCallModule(ref module)); 1846ResolveType(new QCallModule(ref module), typeToken, typeInstArgs, typeInstantiationContextHandles.Length, methodInstArgs, methodInstantiationContextHandles.Length, ObjectHandleOnStack.Create(ref type)); 1901return ResolveMethod(new QCallModule(ref module), methodToken, typeInstArgs, typeInstantiationContext.Length, methodInstArgs, methodInstantiationContext.Length); 1952ResolveField(new QCallModule(ref module), fieldToken, typeInstArgs, typeInstantiationContextHandles.Length, methodInstArgs, methodInstantiationContextHandles.Length, ObjectHandleOnStack.Create(ref field)); 1982GetModuleType(new QCallModule(ref module), ObjectHandleOnStack.Create(ref type)); 1993GetPEKind(new QCallModule(ref module), &lKind, &lMachine); 2003=> GetMDStreamVersion(new QCallModule(ref module));
47 references to QCallModule
System.Private.CoreLib (47)
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (11)
102private static partial int GetTypeRef(QCallModule module, string strFullName, QCallModule refedModule, int tkResolution); 105private static partial int GetMemberRef(QCallModule module, QCallModule refedModule, int tr, int defToken); 116private static partial int GetMemberRefFromSignature(QCallModule module, int tr, string methodName, byte[] signature, int length); 125private static partial int GetMemberRefOfMethodInfo(QCallModule module, int tr, RuntimeMethodHandleInternal method); 148private static partial int GetMemberRefOfFieldInfo(QCallModule module, int tkType, QCallTypeHandle declaringType, int tkField); 159private static partial int GetTokenFromTypeSpec(QCallModule pModule, byte[] signature, int length); 168private static partial int GetArrayMethodToken(QCallModule module, int tkTypeSpec, string methodName, byte[] signature, int sigLength); 171private static partial int GetStringConstant(QCallModule module, string str, int length); 174internal static partial void SetFieldRVAContent(QCallModule module, int fdToken, byte[]? data, int length);
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (21)
61private static partial void SetParentType(QCallModule module, int tdTypeDef, int tkParent); 64private static partial void AddInterfaceImpl(QCallModule module, int tdTypeDef, int tkInterface); 69internal static partial int DefineMethod(QCallModule module, int tkParent, string name, byte[] signature, int sigLength, 73internal static partial int DefineMethodSpec(QCallModule module, int tkParent, byte[] signature, int sigLength); 76internal static partial int DefineField(QCallModule module, int tkParent, string name, byte[] signature, int sigLength, 80private static partial void SetMethodIL(QCallModule module, int tk, [MarshalAs(UnmanagedType.Bool)] bool isInitLocals, 88private static partial void DefineCustomAttribute(QCallModule module, int tkAssociate, int tkConstructor, 99internal static partial int DefineProperty(QCallModule module, int tkParent, string name, PropertyAttributes attributes, 103internal static partial int DefineEvent(QCallModule module, int tkParent, string name, EventAttributes attributes, int tkEventType); 106internal static partial void DefineMethodSemantics(QCallModule module, int tkAssociation, 110internal static partial void DefineMethodImpl(QCallModule module, int tkType, int tkBody, int tkDecl); 113internal static partial void SetMethodImpl(QCallModule module, int tkMethod, MethodImplAttributes MethodImplAttributes); 116internal static partial int SetParamInfo(QCallModule module, int tkMethod, int iSequence, 120internal static partial int GetTokenFromSig(QCallModule module, byte[] signature, int sigLength); 123internal static partial void SetFieldLayoutOffset(QCallModule module, int fdToken, int iOffset); 126internal static partial void SetClassLayout(QCallModule module, int tk, PackingSize iPackingSize, int iTypeSize); 129private static unsafe partial void SetConstantValue(QCallModule module, int tk, int corType, void* pValue); 132private static partial void SetPInvokeData(QCallModule module, string DllName, string name, int token, int linkFlags); 543private static partial int DefineType(QCallModule module, 547private static partial int DefineGenericParam(QCallModule module, 551private static partial void TermCreateClass(QCallModule module, int tk, ObjectHandleOnStack type);
src\System\Reflection\RuntimeCustomAttributeData.cs (2)
1863QCallModule pModule, 1892QCallModule pModule,
src\System\Reflection\RuntimeModule.cs (3)
404private static partial void GetFullyQualifiedName(QCallModule module, StringHandleOnStack retString); 419private static partial void GetTypes(QCallModule module, ObjectHandleOnStack retTypes); 480private static partial void GetScopeName(QCallModule module, StringHandleOnStack retString);
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
186private static partial void RunModuleConstructor(QCallModule module);
src\System\RuntimeHandles.cs (9)
1064QCallModule sourceModule); 1774QCallModule module, 1796private static partial int GetToken(QCallModule module); 1862private static partial void ResolveType(QCallModule module, 1914private static partial RuntimeMethodHandleInternal ResolveMethod(QCallModule module, 1968private static partial void ResolveField(QCallModule module, 1977internal static partial void GetModuleType(QCallModule handle, ObjectHandleOnStack type); 1987private static partial void GetPEKind(QCallModule handle, int* peKind, int* machine); 2000private static partial int GetMDStreamVersion(QCallModule module);