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