56 instantiations of QCallTypeHandle
System.Private.CoreLib (56)
src\Internal\VersionResilientHashCode.CoreCLR.cs (1)
20
=> TypeHashCode(new
QCallTypeHandle
(ref type));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\TypeMapLazyDictionary.cs (1)
201
new
QCallTypeHandle
(ref groupType),
src\System\Array.CoreCLR.cs (3)
25
InternalCreate(new
QCallTypeHandle
(ref elementType), rank, pLengths, pLowerBounds,
33
InternalCreate(new
QCallTypeHandle
(ref arrayType), rank, pLengths, pLowerBounds,
725
public static ArrayInitializeCache Create(RuntimeType arrayType) => new(GetElementConstructorEntrypoint(new
QCallTypeHandle
(ref arrayType)));
src\System\Delegate.CoreCLR.cs (2)
415
new
QCallTypeHandle
(ref methodType), method, flags);
426
method.Value, new
QCallTypeHandle
(ref methodType), flags);
src\System\Enum.CoreCLR.cs (1)
111
new
QCallTypeHandle
(ref type),
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
155
return GetMemberRefOfFieldInfo(new QCallModule(ref thisModule), tkType, new
QCallTypeHandle
(ref declaringType), runtimeField.MetadataToken);
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (3)
174
RunClassConstructor(new
QCallTypeHandle
(ref rt));
483
return AllocateTypeAssociatedMemory(new
QCallTypeHandle
(ref rt), (uint)size);
582
int result = SizeOf(new
QCallTypeHandle
(ref type));
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (2)
33
=> SizeOfHelper(new
QCallTypeHandle
(ref t), throwIfNotMarshalable);
978
GetDelegateForFunctionPointerInternal(ptr, new
QCallTypeHandle
(ref t), ObjectHandleOnStack.Create(ref retDelegate));
src\System\RuntimeHandles.cs (38)
237
new
QCallTypeHandle
(ref type),
266
new
QCallTypeHandle
(ref type),
483
GetArgumentTypesFromFunctionPointer(new
QCallTypeHandle
(ref type), ObjectHandleOnStack.Create(ref argTypes));
586
GetConstraints(new
QCallTypeHandle
(ref nativeHandle), ObjectHandleOnStack.Create(ref types));
597
return GetGCHandle(new
QCallTypeHandle
(ref nativeHandle), type);
606
return FreeGCHandle(new
QCallTypeHandle
(ref nativeHandle), objHandle);
618
return GetNumVirtualsAndStaticVirtuals(new
QCallTypeHandle
(ref type));
628
VerifyInterfaceIsImplemented(new
QCallTypeHandle
(ref nativeHandle), new
QCallTypeHandle
(ref nativeInterfaceHandle));
638
return GetInterfaceMethodImplementation(new
QCallTypeHandle
(ref nativeHandle), new
QCallTypeHandle
(ref nativeInterfaceHandle), interfaceMethodHandle);
647
return _IsVisible(new
QCallTypeHandle
(ref type));
657
ConstructName(new
QCallTypeHandle
(ref nativeHandle), formatFlags, new StringHandleOnStack(ref name));
732
GetDeclaringMethodForGenericParameter(new
QCallTypeHandle
(ref type), ObjectHandleOnStack.Create(ref method));
743
GetInstantiation(new
QCallTypeHandle
(ref nativeHandle), ObjectHandleOnStack.Create(ref types), Interop.BOOL.TRUE);
751
GetInstantiation(new
QCallTypeHandle
(ref nativeHandle), ObjectHandleOnStack.Create(ref types), Interop.BOOL.FALSE);
764
Instantiate(new
QCallTypeHandle
(ref nativeHandle), &ptr, 1, ObjectHandleOnStack.Create(ref type));
777
Instantiate(new
QCallTypeHandle
(ref nativeHandle), pInst, instCount, ObjectHandleOnStack.Create(ref type));
790
MakeArray(new
QCallTypeHandle
(ref nativeHandle), rank, ObjectHandleOnStack.Create(ref type));
801
MakeSZArray(new
QCallTypeHandle
(ref nativeHandle), ObjectHandleOnStack.Create(ref type));
812
MakeByRef(new
QCallTypeHandle
(ref nativeHandle), ObjectHandleOnStack.Create(ref type));
823
MakePointer(new
QCallTypeHandle
(ref nativeHandle), ObjectHandleOnStack.Create(ref type));
863
bool result = SatisfiesConstraints(new
QCallTypeHandle
(ref paramType), new
QCallTypeHandle
(ref typeContext!), methodContextRaw, new
QCallTypeHandle
(ref toType)) != Interop.BOOL.FALSE;
873
RegisterCollectibleTypeDependency(new
QCallTypeHandle
(ref type), new QCallAssembly(ref assembly!));
1269
=> GetStubIfNeededSlow(method, new
QCallTypeHandle
(ref declaringType), ObjectHandleOnStack.Create(ref methodInstantiation));
1335
GetMethodBody(method.Value, new
QCallTypeHandle
(ref declaringType), ObjectHandleOnStack.Create(ref result));
1598
GetValue(field.GetFieldDesc(), ObjectHandleOnStack.Create(ref instance), new
QCallTypeHandle
(ref fieldType), new
QCallTypeHandle
(ref declaringType!), ref isClassInitialized, ObjectHandleOnStack.Create(ref result));
1619
GetValueDirect(field.GetFieldDesc(), &typedRef, new
QCallTypeHandle
(ref fieldType), new
QCallTypeHandle
(ref contextType!), ObjectHandleOnStack.Create(ref result));
1640
SetValue(field.GetFieldDesc(), ObjectHandleOnStack.Create(ref obj), ObjectHandleOnStack.Create(ref value), new
QCallTypeHandle
(ref fieldType), new
QCallTypeHandle
(ref declaringType!), ref isClassInitialized);
1659
SetValueDirect(field.GetFieldDesc(), &typedRef, ObjectHandleOnStack.Create(ref value), new
QCallTypeHandle
(ref fieldType), new
QCallTypeHandle
(ref contextType!));
2110
sig1._sig, sig1._csig, new
QCallTypeHandle
(ref sig1._declaringType),
2111
sig2._sig, sig2._csig, new
QCallTypeHandle
(ref sig2._declaringType)) != Interop.BOOL.FALSE;
src\System\RuntimeType.BoxCache.cs (1)
122
new
QCallTypeHandle
(ref rt),
src\System\RuntimeType.CoreCLR.cs (2)
1627
RuntimeTypeHandle.GetGenericTypeDefinition(new
QCallTypeHandle
(ref type), ObjectHandleOnStack.Create(ref genericDefinition));
3243
return RuntimeTypeHandle.IsCollectible(new
QCallTypeHandle
(ref thisType)) != Interop.BOOL.FALSE;
src\System\RuntimeType.CreateUninitializedCache.CoreCLR.cs (1)
70
new
QCallTypeHandle
(ref rt),
54 references to QCallTypeHandle
System.Private.CoreLib (54)
src\Internal\VersionResilientHashCode.CoreCLR.cs (1)
17
private static partial int TypeHashCode(
QCallTypeHandle
typeHandle);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\TypeMapLazyDictionary.cs (1)
78
QCallTypeHandle
groupType,
src\System\Array.CoreCLR.cs (2)
19
private static unsafe partial void InternalCreate(
QCallTypeHandle
type, int rank, int* pLengths, int* pLowerBounds,
718
private static partial delegate*<ref byte, void> GetElementConstructorEntrypoint(
QCallTypeHandle
arrayType);
src\System\Delegate.CoreCLR.cs (2)
420
private static partial bool BindToMethodName(ObjectHandleOnStack d, ObjectHandleOnStack target,
QCallTypeHandle
methodType, string method, DelegateBindingFlags flags);
433
private static partial bool BindToMethodInfo(ObjectHandleOnStack d, ObjectHandleOnStack target, RuntimeMethodHandleInternal method,
QCallTypeHandle
methodType, DelegateBindingFlags flags);
src\System\Enum.CoreCLR.cs (1)
15
private static partial void GetEnumValuesAndNames(
QCallTypeHandle
enumType, ObjectHandleOnStack values, ObjectHandleOnStack names, Interop.BOOL getNames);
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
148
private static partial int GetMemberRefOfFieldInfo(QCallModule module, int tkType,
QCallTypeHandle
declaringType, int tkField);
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (3)
166
private static partial void RunClassConstructor(
QCallTypeHandle
type);
487
private static partial IntPtr AllocateTypeAssociatedMemory(
QCallTypeHandle
type, uint size);
566
private static partial int SizeOf(
QCallTypeHandle
handle);
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (2)
36
private static partial int SizeOfHelper(
QCallTypeHandle
t, [MarshalAs(UnmanagedType.Bool)] bool throwIfNotMarshalable);
983
private static partial void GetDelegateForFunctionPointerInternal(IntPtr ptr,
QCallTypeHandle
t, ObjectHandleOnStack retDelegate);
src\System\RuntimeHandles.cs (39)
279
QCallTypeHandle
baseType,
488
private static partial void GetArgumentTypesFromFunctionPointer(
QCallTypeHandle
type, ObjectHandleOnStack argTypes);
579
private static partial void GetConstraints(
QCallTypeHandle
handle, ObjectHandleOnStack types);
592
private static partial IntPtr GetGCHandle(
QCallTypeHandle
handle, GCHandleType type);
601
private static partial IntPtr FreeGCHandle(
QCallTypeHandle
typeHandle, IntPtr objHandle);
613
private static partial int GetNumVirtualsAndStaticVirtuals(
QCallTypeHandle
type);
622
private static partial void VerifyInterfaceIsImplemented(
QCallTypeHandle
handle,
QCallTypeHandle
interfaceHandle);
632
private static partial RuntimeMethodHandleInternal GetInterfaceMethodImplementation(
QCallTypeHandle
handle,
QCallTypeHandle
interfaceHandle, RuntimeMethodHandleInternal interfaceMethodHandle);
643
private static partial bool _IsVisible(
QCallTypeHandle
typeHandle);
651
private static partial void ConstructName(
QCallTypeHandle
handle, TypeNameFormatFlags formatFlags, StringHandleOnStack retString);
725
private static partial void GetDeclaringMethodForGenericParameter(
QCallTypeHandle
typeHandle, ObjectHandleOnStack result);
737
internal static partial void GetInstantiation(
QCallTypeHandle
type, ObjectHandleOnStack types, Interop.BOOL fAsRuntimeTypeArray);
756
private static partial void Instantiate(
QCallTypeHandle
handle, IntPtr* pInst, int numGenericArgs, ObjectHandleOnStack type);
784
private static partial void MakeArray(
QCallTypeHandle
handle, int rank, ObjectHandleOnStack type);
795
private static partial void MakeSZArray(
QCallTypeHandle
handle, ObjectHandleOnStack type);
806
private static partial void MakeByRef(
QCallTypeHandle
handle, ObjectHandleOnStack type);
817
private static partial void MakePointer(
QCallTypeHandle
handle, ObjectHandleOnStack type);
828
internal static partial Interop.BOOL IsCollectible(
QCallTypeHandle
handle);
831
internal static partial void GetGenericTypeDefinition(
QCallTypeHandle
type, ObjectHandleOnStack retType);
858
private static partial Interop.BOOL SatisfiesConstraints(
QCallTypeHandle
paramType,
QCallTypeHandle
pTypeContext, RuntimeMethodHandleInternal pMethodContext,
QCallTypeHandle
toType);
869
private static partial void RegisterCollectibleTypeDependency(
QCallTypeHandle
type, QCallAssembly assembly);
1061
QCallTypeHandle
attrTypeHandle,
1063
QCallTypeHandle
sourceTypeHandle,
1254
private static partial RuntimeMethodHandleInternal GetStubIfNeededSlow(RuntimeMethodHandleInternal method,
QCallTypeHandle
declaringTypeHandle, ObjectHandleOnStack methodInstantiation);
1330
private static partial void GetMethodBody(RuntimeMethodHandleInternal method,
QCallTypeHandle
declaringType, ObjectHandleOnStack result);
1585
QCallTypeHandle
fieldType,
1586
QCallTypeHandle
declaringType,
1607
QCallTypeHandle
fieldType,
1608
QCallTypeHandle
declaringType,
1629
QCallTypeHandle
fieldType,
1630
QCallTypeHandle
declaringType,
1649
QCallTypeHandle
fieldType,
1650
QCallTypeHandle
declaringType);
2104
void* sig1, int csig1,
QCallTypeHandle
type1,
2105
void* sig2, int csig2,
QCallTypeHandle
type2);
src\System\RuntimeType.BoxCache.cs (1)
134
QCallTypeHandle
type,
src\System\RuntimeType.CreateUninitializedCache.CoreCLR.cs (1)
79
QCallTypeHandle
type,