1 instantiation of ObjectHandleOnStack
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\QCallHandles.cs (1)
33return new ObjectHandleOnStack((object*)Unsafe.AsPointer(ref o));
467 references to ObjectHandleOnStack
System.Private.CoreLib (467)
LibraryImports.g.cs (176)
63private static unsafe partial void InternalCreate(global::System.Runtime.CompilerServices.QCallTypeHandle type, int rank, int* pLengths, int* pLowerBounds, bool fromArrayType, global::System.Runtime.CompilerServices.ObjectHandleOnStack retArray) 74static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.QCallTypeHandle __type_native, int __rank_native, int* __pLengths_native, int* __pLowerBounds_native, int __fromArrayType_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __retArray_native); 83private static unsafe extern partial void Ctor(global::System.Runtime.CompilerServices.MethodTable* pArrayMT, uint dwNumArgs, int* pArgList, global::System.Runtime.CompilerServices.ObjectHandleOnStack retArray); 129private static extern partial void ComWeakRefToObject(nint pComWeakRef, global::System.Runtime.CompilerServices.ObjectHandleOnStack retRcw); 137private static extern partial nint ObjectToComWeakRef(global::System.Runtime.CompilerServices.ObjectHandleOnStack retRcw); 145private static partial bool BindToMethodName(global::System.Runtime.CompilerServices.ObjectHandleOnStack d, global::System.Runtime.CompilerServices.ObjectHandleOnStack target, global::System.Runtime.CompilerServices.QCallTypeHandle methodType, string method, global::System.DelegateBindingFlags flags) 174static extern unsafe int __PInvoke(global::System.Runtime.CompilerServices.ObjectHandleOnStack __d_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __target_native, global::System.Runtime.CompilerServices.QCallTypeHandle __methodType_native, byte* __method_native, global::System.DelegateBindingFlags __flags_native); 183private static partial bool BindToMethodInfo(global::System.Runtime.CompilerServices.ObjectHandleOnStack d, global::System.Runtime.CompilerServices.ObjectHandleOnStack target, global::System.RuntimeMethodHandleInternal method, global::System.Runtime.CompilerServices.QCallTypeHandle methodType, global::System.DelegateBindingFlags flags) 196static extern unsafe int __PInvoke(global::System.Runtime.CompilerServices.ObjectHandleOnStack __d_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __target_native, global::System.RuntimeMethodHandleInternal __method_native, global::System.Runtime.CompilerServices.QCallTypeHandle __methodType_native, global::System.DelegateBindingFlags __flags_native); 205private static extern partial void Construct(global::System.Runtime.CompilerServices.ObjectHandleOnStack _this, global::System.Runtime.CompilerServices.ObjectHandleOnStack target, nint method); 221private static extern partial void FindMethodHandle(global::System.Runtime.CompilerServices.ObjectHandleOnStack d, global::System.Runtime.CompilerServices.ObjectHandleOnStack retMethodInfo); 229private static partial bool InternalEqualMethodHandles(global::System.Runtime.CompilerServices.ObjectHandleOnStack left, global::System.Runtime.CompilerServices.ObjectHandleOnStack right) 242static extern unsafe int __PInvoke(global::System.Runtime.CompilerServices.ObjectHandleOnStack __left_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __right_native); 251private static extern partial nint AdjustTarget(global::System.Runtime.CompilerServices.ObjectHandleOnStack target, nint methodPtr); 259private static extern partial void InitializeVirtualCallStub(global::System.Runtime.CompilerServices.ObjectHandleOnStack d, nint methodPtr); 333private static extern partial void CustomNotification(global::System.Runtime.CompilerServices.ObjectHandleOnStack data); 349private static partial void GetStackFramesInternal(global::System.Runtime.CompilerServices.ObjectHandleOnStack sfh, bool fNeedFileInfo, global::System.Runtime.CompilerServices.ObjectHandleOnStack e) 360static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.ObjectHandleOnStack __sfh_native, int __fNeedFileInfo_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __e_native); 369private static extern partial void GetEnumValuesAndNames(global::System.Runtime.CompilerServices.QCallTypeHandle enumType, global::System.Runtime.CompilerServices.ObjectHandleOnStack values, global::System.Runtime.CompilerServices.ObjectHandleOnStack names, global::Interop.BOOL getNames); 385private static partial void FailFast(global::System.Runtime.CompilerServices.StackCrawlMarkHandle mark, string message, global::System.Runtime.CompilerServices.ObjectHandleOnStack exception, string errorMessage) 396static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.StackCrawlMarkHandle __mark_native, ushort* __message_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __exception_native, ushort* __errorMessage_native); 413private static extern partial void GetMethodFromStackTrace(global::System.Runtime.CompilerServices.ObjectHandleOnStack stackTrace, global::System.Runtime.CompilerServices.ObjectHandleOnStack method); 429private static extern partial void GetFrozenStackTrace(global::System.Runtime.CompilerServices.ObjectHandleOnStack exception, global::System.Runtime.CompilerServices.ObjectHandleOnStack stackTrace); 469private static extern partial void AllocateNewArray(nint typeHandlePtr, int length, global::System.GC.GC_ALLOC_FLAGS flags, global::System.Runtime.CompilerServices.ObjectHandleOnStack ret); 521private static unsafe extern partial void* GetNextFinalizeableObject(global::System.Runtime.CompilerServices.ObjectHandleOnStack target); 537private static extern partial void ReRegisterForFinalize(global::System.Runtime.CompilerServices.ObjectHandleOnStack o); 658private static extern partial void GetExecutingAssemblyNative(global::System.Runtime.CompilerServices.StackCrawlMarkHandle stackMark, global::System.Runtime.CompilerServices.ObjectHandleOnStack retAssembly); 666private static extern partial void GetEntryAssemblyNative(global::System.Runtime.CompilerServices.ObjectHandleOnStack retAssembly); 690private static unsafe extern partial void CreateDynamicAssembly(global::System.Runtime.CompilerServices.ObjectHandleOnStack assemblyLoadContext, global::System.Reflection.NativeAssemblyNameParts* pAssemblyName, global::System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgId, global::System.Reflection.Emit.AssemblyBuilderAccess access, global::System.Runtime.CompilerServices.ObjectHandleOnStack retAssembly); 1170private static extern partial void TermCreateClass(global::System.Runtime.CompilerServices.QCallModule module, int tk, global::System.Runtime.CompilerServices.ObjectHandleOnStack type); 1247private static unsafe partial void Enum(nint scope, int type, int parent, ref int length, int* shortResult, global::System.Runtime.CompilerServices.ObjectHandleOnStack longResult) 1257static extern unsafe void __PInvoke(nint __scope_native, int __type_native, int __parent_native, int* __length_native, int* __shortResult_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __longResult_native); 1359private static extern partial void GetEntryPoint(global::System.Runtime.CompilerServices.QCallAssembly assembly, global::System.Runtime.CompilerServices.ObjectHandleOnStack retMethod); 1367private static partial void GetTypeCore(global::System.Runtime.CompilerServices.QCallAssembly assembly, string typeName, global::System.ReadOnlySpan<string> nestedTypeNames, int nestedTypeNamesLength, global::System.Runtime.CompilerServices.ObjectHandleOnStack retType) 1427static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.QCallAssembly __assembly_native, byte* __typeName_native, global::System.IntPtr* __nestedTypeNames_native, int __nestedTypeNamesLength_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __retType_native); 1436private static partial void GetTypeCoreIgnoreCase(global::System.Runtime.CompilerServices.QCallAssembly assembly, string typeName, global::System.ReadOnlySpan<string> nestedTypeNames, int nestedTypeNamesLength, global::System.Runtime.CompilerServices.ObjectHandleOnStack retType) 1492static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.QCallAssembly __assembly_native, ushort* __typeName_native, global::System.IntPtr* __nestedTypeNames_native, int __nestedTypeNamesLength_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __retType_native); 1501private static extern partial void GetExportedTypes(global::System.Runtime.CompilerServices.QCallAssembly assembly, global::System.Runtime.CompilerServices.ObjectHandleOnStack retTypes); 1532private static unsafe partial void InternalLoad(global::System.Reflection.NativeAssemblyNameParts* pAssemblyNameParts, global::System.Runtime.CompilerServices.ObjectHandleOnStack requestingAssembly, global::System.Runtime.CompilerServices.StackCrawlMarkHandle stackMark, bool throwOnFileNotFound, global::System.Runtime.CompilerServices.ObjectHandleOnStack assemblyLoadContext, global::System.Runtime.CompilerServices.ObjectHandleOnStack retAssembly) 1543static extern unsafe void __PInvoke(global::System.Reflection.NativeAssemblyNameParts* __pAssemblyNameParts_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __requestingAssembly_native, global::System.Runtime.CompilerServices.StackCrawlMarkHandle __stackMark_native, int __throwOnFileNotFound_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __assemblyLoadContext_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __retAssembly_native); 1552private static partial void GetModule(global::System.Runtime.CompilerServices.QCallAssembly assembly, string name, global::System.Runtime.CompilerServices.ObjectHandleOnStack retModule) 1562static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.QCallAssembly __assembly_native, ushort* __name_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __retModule_native); 1571private static extern partial void GetManifestResourceNames(global::System.Runtime.CompilerServices.QCallAssembly assembly, global::System.Runtime.CompilerServices.ObjectHandleOnStack retResourceNames); 1579private static extern partial void GetReferencedAssemblies(global::System.Runtime.CompilerServices.QCallAssembly assembly, global::System.Runtime.CompilerServices.ObjectHandleOnStack retReferencedAssemblies); 1587private static partial int GetManifestResourceInfo(global::System.Runtime.CompilerServices.QCallAssembly assembly, string resourceName, global::System.Runtime.CompilerServices.ObjectHandleOnStack assemblyRef, global::System.Runtime.CompilerServices.StringHandleOnStack retFileName) 1599static extern unsafe int __PInvoke(global::System.Runtime.CompilerServices.QCallAssembly __assembly_native, ushort* __resourceName_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __assemblyRef_native, global::System.Runtime.CompilerServices.StringHandleOnStack __retFileName_native); 1682private static extern partial void GetPublicKey(global::System.Runtime.CompilerServices.QCallAssembly assembly, global::System.Runtime.CompilerServices.ObjectHandleOnStack retPublicKey); 1690private static partial void GetModules(global::System.Runtime.CompilerServices.QCallAssembly assembly, bool loadIfNotFound, bool getResourceModules, global::System.Runtime.CompilerServices.ObjectHandleOnStack retModuleHandles) 1703static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.QCallAssembly __assembly_native, int __loadIfNotFound_native, int __getResourceModules_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __retModuleHandles_native); 1712private static extern partial void GetManifestModuleSlow(global::System.Runtime.CompilerServices.ObjectHandleOnStack assembly, global::System.Runtime.CompilerServices.ObjectHandleOnStack module); 1720private static extern partial void GetForwardedType(global::System.Runtime.CompilerServices.QCallAssembly assembly, global::System.Reflection.MetadataToken mdtExternalType, global::System.Runtime.CompilerServices.ObjectHandleOnStack type); 1736private static partial void CreateCustomAttributeInstance(global::System.Runtime.CompilerServices.QCallModule pModule, global::System.Runtime.CompilerServices.ObjectHandleOnStack type, global::System.Runtime.CompilerServices.ObjectHandleOnStack pCtor, ref nint ppBlob, nint pEndBlob, out int pcNamedArgs, global::System.Runtime.CompilerServices.ObjectHandleOnStack instance) 1748static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.QCallModule __pModule_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __type_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __pCtor_native, nint* __ppBlob_native, nint __pEndBlob_native, int* __pcNamedArgs_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __instance_native); 1757private static partial void CreatePropertyOrFieldData(global::System.Runtime.CompilerServices.QCallModule pModule, ref nint ppBlobStart, nint pBlobEnd, global::System.Runtime.CompilerServices.StringHandleOnStack name, out bool bIsProperty, global::System.Runtime.CompilerServices.ObjectHandleOnStack type, global::System.Runtime.CompilerServices.ObjectHandleOnStack value) 1771static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.QCallModule __pModule_native, nint* __ppBlobStart_native, nint __pBlobEnd_native, global::System.Runtime.CompilerServices.StringHandleOnStack __name_native, int* __bIsProperty_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __type_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __value_native); 1788private static extern partial void GetTypes(global::System.Runtime.CompilerServices.QCallModule module, global::System.Runtime.CompilerServices.ObjectHandleOnStack retTypes, global::System.Runtime.CompilerServices.ObjectHandleOnStack retExceptions); 1834private static partial bool IsInstanceOf_NoCacheLookup(void* toTypeHnd, bool throwCastException, global::System.Runtime.CompilerServices.ObjectHandleOnStack obj) 1850static extern unsafe int __PInvoke(void* __toTypeHnd_native, int __throwCastException_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __obj_native); 1875private static unsafe extern partial void AddContinuationToExInternal(void* diagnosticIP, global::System.Runtime.CompilerServices.ObjectHandleOnStack ex); 1915private static extern partial void PrepareDelegate(global::System.Runtime.CompilerServices.ObjectHandleOnStack d); 1923private static extern partial int GetHashCodeSlow(global::System.Runtime.CompilerServices.ObjectHandleOnStack o); 1931internal static extern partial void AllocateUninitializedClone(global::System.Runtime.CompilerServices.ObjectHandleOnStack objHandle); 2049private static unsafe extern partial nint ResolveVirtualFunctionPointer(global::System.Runtime.CompilerServices.ObjectHandleOnStack obj, nint classHandle, nint methodHandle); 2073private static extern partial nint _InternalAllocWithGCTransition(global::System.Runtime.CompilerServices.ObjectHandleOnStack target, global::System.Runtime.CompilerServices.ObjectHandleOnStack dependent); 2142internal static unsafe partial bool RhpCallFilterFunclet(global::System.Runtime.CompilerServices.ObjectHandleOnStack exceptionObj, byte* pFilterIP, void* pvRegDisplay) 2156static extern unsafe byte __PInvoke(global::System.Runtime.CompilerServices.ObjectHandleOnStack __exceptionObj_native, byte* __pFilterIP_native, void* __pvRegDisplay_native); 2165internal static unsafe extern partial void RhpAppendExceptionStackFrame(global::System.Runtime.CompilerServices.ObjectHandleOnStack exceptionObj, nint ip, nuint sp, int flags, global::System.Runtime.EH.ExInfo* exInfo); 2223private static extern partial nint _InternalAllocWithGCTransition(global::System.Runtime.CompilerServices.ObjectHandleOnStack value, global::System.Runtime.InteropServices.GCHandleType type); 2239private static extern partial void InternalGetBridgeWait(nint handle, global::System.Runtime.CompilerServices.ObjectHandleOnStack result); 2307private static extern partial void GetExceptionForHRInternal(int errorCode, nint errorInfo, global::System.Runtime.CompilerServices.ObjectHandleOnStack exception); 2315private static extern partial void GetDelegateForFunctionPointerInternal(nint ptr, global::System.Runtime.CompilerServices.QCallTypeHandle t, global::System.Runtime.CompilerServices.ObjectHandleOnStack retDelegate); 2323private static extern partial nint GetFunctionPointerForDelegateInternal(global::System.Runtime.CompilerServices.ObjectHandleOnStack d); 2387private static unsafe extern partial nint CreateReferenceTrackingHandleInternal(global::System.Runtime.CompilerServices.ObjectHandleOnStack obj, void* context); 2461private static extern partial void LoadFromStream(nint ptrNativeAssemblyBinder, nint ptrAssemblyArray, int iAssemblyArrayLen, nint ptrSymbols, int iSymbolArrayLen, global::System.Runtime.CompilerServices.ObjectHandleOnStack retAssembly); 2507private static partial void LoadFromPath(nint ptrNativeAssemblyBinder, string ilPath, string niPath, global::System.Runtime.CompilerServices.ObjectHandleOnStack retAssembly) 2518static extern unsafe void __PInvoke(nint __ptrNativeAssemblyBinder_native, ushort* __ilPath_native, ushort* __niPath_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __retAssembly_native); 2527private static extern partial void GetLoadedAssemblies(global::System.Runtime.CompilerServices.ObjectHandleOnStack retAssemblies); 2651private static extern partial void GetRuntimeTypeFromHandleSlow(nint handle, global::System.Runtime.CompilerServices.ObjectHandleOnStack typeObject); 2659private static extern partial void CreateInstanceForAnotherGenericParameter(global::System.Runtime.CompilerServices.QCallTypeHandle baseType, nint* pTypeHandles, int cTypeHandles, global::System.Runtime.CompilerServices.ObjectHandleOnStack instantiatedObject); 2667private static unsafe extern partial void InternalAlloc(global::System.Runtime.CompilerServices.MethodTable* pMT, global::System.Runtime.CompilerServices.ObjectHandleOnStack result); 2675private static unsafe extern partial void InternalAllocNoChecks(global::System.Runtime.CompilerServices.MethodTable* pMT, global::System.Runtime.CompilerServices.ObjectHandleOnStack result); 2683private static extern partial void GetActivationInfo(global::System.Runtime.CompilerServices.ObjectHandleOnStack pRuntimeType, delegate*<void*, object> * ppfnAllocator, void** pvAllocatorFirstArg, delegate*<object, void> * ppfnRefCtor, delegate*<ref byte, void> * ppfnValueCtor, global::Interop.BOOL* pfCtorIsPublic); 2691private static extern partial void GetAssemblySlow(global::System.Runtime.CompilerServices.ObjectHandleOnStack type, global::System.Runtime.CompilerServices.ObjectHandleOnStack assembly); 2699private static extern partial void GetModuleSlow(global::System.Runtime.CompilerServices.ObjectHandleOnStack type, global::System.Runtime.CompilerServices.ObjectHandleOnStack module); 2715private static extern partial void GetArgumentTypesFromFunctionPointer(global::System.Runtime.CompilerServices.QCallTypeHandle type, global::System.Runtime.CompilerServices.ObjectHandleOnStack argTypes); 2745private static unsafe extern partial void GetInterfaces(global::System.Runtime.CompilerServices.MethodTable* pMT, global::System.Runtime.CompilerServices.ObjectHandleOnStack result); 2753private static extern partial void GetConstraints(global::System.Runtime.CompilerServices.QCallTypeHandle handle, global::System.Runtime.CompilerServices.ObjectHandleOnStack types); 2847private static extern partial void GetDeclaringMethodForGenericParameter(global::System.Runtime.CompilerServices.QCallTypeHandle typeHandle, global::System.Runtime.CompilerServices.ObjectHandleOnStack result); 2855internal static extern partial void GetInstantiation(global::System.Runtime.CompilerServices.QCallTypeHandle type, global::System.Runtime.CompilerServices.ObjectHandleOnStack types, global::Interop.BOOL fAsRuntimeTypeArray); 2863private static extern partial void Instantiate(global::System.Runtime.CompilerServices.QCallTypeHandle handle, nint* pInst, int numGenericArgs, global::System.Runtime.CompilerServices.ObjectHandleOnStack type); 2871private static extern partial void MakeArray(global::System.Runtime.CompilerServices.QCallTypeHandle handle, int rank, global::System.Runtime.CompilerServices.ObjectHandleOnStack type); 2879private static extern partial void MakeSZArray(global::System.Runtime.CompilerServices.QCallTypeHandle handle, global::System.Runtime.CompilerServices.ObjectHandleOnStack type); 2887private static extern partial void MakeByRef(global::System.Runtime.CompilerServices.QCallTypeHandle handle, global::System.Runtime.CompilerServices.ObjectHandleOnStack type); 2895private static partial void MakeFunctionPointer(nint* retAndParamTypes, int numArgs, bool isUnmanaged, global::System.Runtime.CompilerServices.ObjectHandleOnStack type) 2906static extern unsafe void __PInvoke(nint* __retAndParamTypes_native, int __numArgs_native, int __isUnmanaged_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __type_native); 2915private static extern partial void MakePointer(global::System.Runtime.CompilerServices.QCallTypeHandle handle, global::System.Runtime.CompilerServices.ObjectHandleOnStack type); 2923internal static extern partial void GetGenericTypeDefinition(global::System.Runtime.CompilerServices.QCallTypeHandle type, global::System.Runtime.CompilerServices.ObjectHandleOnStack retType); 2971private static extern partial void InvokeMethod(global::System.Runtime.CompilerServices.ObjectHandleOnStack target, void** arguments, global::System.Runtime.CompilerServices.ObjectHandleOnStack sig, global::Interop.BOOL isConstructor, global::System.Runtime.CompilerServices.ObjectHandleOnStack result); 2979private static extern partial void GetMethodInstantiation(global::System.RuntimeMethodHandleInternal method, global::System.Runtime.CompilerServices.ObjectHandleOnStack types, global::Interop.BOOL fAsRuntimeTypeArray); 2987private static extern partial global::System.RuntimeMethodHandleInternal GetStubIfNeededSlow(global::System.RuntimeMethodHandleInternal method, global::System.Runtime.CompilerServices.QCallTypeHandle declaringTypeHandle, global::System.Runtime.CompilerServices.ObjectHandleOnStack methodInstantiation); 2995private static extern partial void GetTypicalMethodDefinition(global::System.RuntimeMethodHandleInternal method, global::System.Runtime.CompilerServices.ObjectHandleOnStack outMethod); 3003private static extern partial void StripMethodInstantiation(global::System.RuntimeMethodHandleInternal method, global::System.Runtime.CompilerServices.ObjectHandleOnStack outMethod); 3019private static extern partial void GetMethodBody(global::System.RuntimeMethodHandleInternal method, global::System.Runtime.CompilerServices.QCallTypeHandle declaringType, global::System.Runtime.CompilerServices.ObjectHandleOnStack result); 3054private static unsafe extern partial void GetFieldDataReference(nint fieldDesc, global::System.Runtime.CompilerServices.ObjectHandleOnStack target, global::System.Runtime.CompilerServices.ByteRefOnStack fieldDataRef); 3062private static partial void GetValue(nint fieldDesc, global::System.Runtime.CompilerServices.ObjectHandleOnStack instance, global::System.Runtime.CompilerServices.QCallTypeHandle fieldType, global::System.Runtime.CompilerServices.QCallTypeHandle declaringType, ref bool isClassInitialized, global::System.Runtime.CompilerServices.ObjectHandleOnStack result) 3075static extern unsafe void __PInvoke(nint __fieldDesc_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __instance_native, global::System.Runtime.CompilerServices.QCallTypeHandle __fieldType_native, global::System.Runtime.CompilerServices.QCallTypeHandle __declaringType_native, int* __isClassInitialized_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __result_native); 3084private static extern partial void GetValueDirect(nint fieldDesc, void* pTypedRef, global::System.Runtime.CompilerServices.QCallTypeHandle fieldType, global::System.Runtime.CompilerServices.QCallTypeHandle declaringType, global::System.Runtime.CompilerServices.ObjectHandleOnStack result); 3092private static partial void SetValue(nint fieldDesc, global::System.Runtime.CompilerServices.ObjectHandleOnStack instance, global::System.Runtime.CompilerServices.ObjectHandleOnStack value, global::System.Runtime.CompilerServices.QCallTypeHandle fieldType, global::System.Runtime.CompilerServices.QCallTypeHandle declaringType, ref bool isClassInitialized) 3105static extern unsafe void __PInvoke(nint __fieldDesc_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __instance_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __value_native, global::System.Runtime.CompilerServices.QCallTypeHandle __fieldType_native, global::System.Runtime.CompilerServices.QCallTypeHandle __declaringType_native, int* __isClassInitialized_native); 3114private static extern partial void SetValueDirect(nint fieldDesc, void* pTypedRef, global::System.Runtime.CompilerServices.ObjectHandleOnStack value, global::System.Runtime.CompilerServices.QCallTypeHandle fieldType, global::System.Runtime.CompilerServices.QCallTypeHandle declaringType); 3122private static extern partial void* GetEnCFieldAddr(global::System.Runtime.CompilerServices.ObjectHandleOnStack tgt, void* pFD); 3130private static partial void GetDynamicMethod(global::System.Runtime.CompilerServices.QCallModule module, string name, byte[] sig, int sigLen, global::System.Runtime.CompilerServices.ObjectHandleOnStack resolver, global::System.Runtime.CompilerServices.ObjectHandleOnStack result) 3155static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.QCallModule __module_native, byte* __name_native, byte* __sig_native, int __sigLen_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __resolver_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __result_native); 3172private static extern partial void ResolveType(global::System.Runtime.CompilerServices.QCallModule module, int typeToken, nint* typeInstArgs, int typeInstCount, nint* methodInstArgs, int methodInstCount, global::System.Runtime.CompilerServices.ObjectHandleOnStack type); 3188private static extern partial void ResolveField(global::System.Runtime.CompilerServices.QCallModule module, int fieldToken, nint* typeInstArgs, int typeInstCount, nint* methodInstArgs, int methodInstCount, global::System.Runtime.CompilerServices.ObjectHandleOnStack retField); 3196internal static extern partial void GetModuleType(global::System.Runtime.CompilerServices.QCallModule handle, global::System.Runtime.CompilerServices.ObjectHandleOnStack type); 3220private static extern partial void Init(global::System.Runtime.CompilerServices.ObjectHandleOnStack _this, void* pCorSig, int cCorSig, global::System.RuntimeFieldHandleInternal fieldHandle, global::System.RuntimeMethodHandleInternal methodHandle); 3236private static extern partial void GetCustomModifiersAtOffset(global::System.Runtime.CompilerServices.ObjectHandleOnStack sigObj, int offset, global::Interop.BOOL required, global::System.Runtime.CompilerServices.ObjectHandleOnStack result); 3290private static extern partial void ConvertSpaceToNative(nint pMarshalState, global::System.Runtime.CompilerServices.ObjectHandleOnStack pManagedHome, nint pNativeHome); 3298private static extern partial void ConvertContentsToNative(nint pMarshalState, global::System.Runtime.CompilerServices.ObjectHandleOnStack pManagedHome, nint pNativeHome); 3306private static extern partial void ConvertSpaceToManaged(nint pMarshalState, global::System.Runtime.CompilerServices.ObjectHandleOnStack pManagedHome, nint pNativeHome, int cElements); 3314private static extern partial void ConvertContentsToManaged(nint pMarshalState, global::System.Runtime.CompilerServices.ObjectHandleOnStack pManagedHome, nint pNativeHome); 3330private static extern partial void ConvertContentsToNative(nint pMarshalState, global::System.Runtime.CompilerServices.ObjectHandleOnStack pManagedHome, nint pNativeHome); 3338private static extern partial void ConvertSpaceToManaged(nint pMarshalState, global::System.Runtime.CompilerServices.ObjectHandleOnStack pManagedHome, nint pNativeHome); 3346private static extern partial void ConvertContentsToManaged(nint pMarshalState, global::System.Runtime.CompilerServices.ObjectHandleOnStack pManagedHome, nint pNativeHome); 3370internal static extern partial void CreateCustomMarshaler(nint pMD, int paramToken, nint hndManagedType, global::System.Runtime.CompilerServices.ObjectHandleOnStack customMarshaler); 3410private static extern partial void ValidateObject(global::System.Runtime.CompilerServices.ObjectHandleOnStack obj, nint pMD); 3426private static extern partial void MulticastDebuggerTraceHelperQCall(global::System.Runtime.CompilerServices.ObjectHandleOnStack obj, int count); 3434private static extern partial void GetOrCreateLockObject(global::System.Runtime.CompilerServices.ObjectHandleOnStack obj, global::System.Runtime.CompilerServices.ObjectHandleOnStack lockObj); 3442private static unsafe extern partial global::Interop.BOOL StartInternal(global::System.Threading.ThreadHandle t, int stackSize, int priority, global::Interop.BOOL isThreadPool, char* pThreadName, global::System.Runtime.CompilerServices.ObjectHandleOnStack exception); 3474private static extern partial void GetCurrentThread(global::System.Runtime.CompilerServices.ObjectHandleOnStack thread); 3482private static extern partial void Initialize(global::System.Runtime.CompilerServices.ObjectHandleOnStack thread); 3525private static extern partial void SetPriority(global::System.Runtime.CompilerServices.ObjectHandleOnStack thread, int priority); 3633private static unsafe partial global::System.ValueType.ValueTypeHashCodeStrategy GetHashCodeStrategy(global::System.Runtime.CompilerServices.MethodTable* pMT, global::System.Runtime.CompilerServices.ObjectHandleOnStack objHandle, out uint fieldOffset, out uint fieldSize, out global::System.Runtime.CompilerServices.MethodTable* fieldMT) 3650static extern unsafe global::System.ValueType.ValueTypeHashCodeStrategy __PInvoke(global::System.Runtime.CompilerServices.MethodTable* __pMT_native, global::System.Runtime.CompilerServices.ObjectHandleOnStack __objHandle_native, uint* __fieldOffset_native, uint* __fieldSize_native, global::System.Runtime.CompilerServices.MethodTable** __fieldMT_native); 3743private static extern partial nint AllocateRefCountedHandle(global::System.Runtime.CompilerServices.ObjectHandleOnStack obj); 3821private static extern partial void RegisterNativeObjectWrapperCache(global::System.Runtime.CompilerServices.ObjectHandleOnStack nativeObjectWrapperCache);
src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\ExceptionHandling.cs (2)
284InternalCalls.RhpAppendExceptionStackFrame(ObjectHandleOnStack.Create(ref exception), ip, sp, flags, pExInfo); 1074InternalCalls.RhpCallFilterFunclet(ObjectHandleOnStack.Create(ref exception), pFilterFunclet, frameIter.RegisterSet);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\QCallHandles.cs (1)
31internal static ObjectHandleOnStack Create<T>(ref T o) where T : class?
src\System\Array.CoreCLR.cs (5)
20[MarshalAs(UnmanagedType.Bool)] bool fromArrayType, ObjectHandleOnStack retArray); 26fromArrayType: false, ObjectHandleOnStack.Create(ref retArray)); 34fromArrayType: true, ObjectHandleOnStack.Create(ref retArray)); 39private static unsafe partial void Ctor(MethodTable* pArrayMT, uint dwNumArgs, int* pArgList, ObjectHandleOnStack retArray); 48Ctor(pArrayMT, dwNumArgs, pArgList, ObjectHandleOnStack.Create(ref arr));
src\System\ComAwareWeakReference.CoreCLR.cs (2)
13private static partial void ComWeakRefToObject(IntPtr pComWeakRef, ObjectHandleOnStack retRcw); 42private static partial IntPtr ObjectToComWeakRef(ObjectHandleOnStack retRcw);
src\System\Delegate.CoreCLR.cs (24)
414return BindToMethodName(ObjectHandleOnStack.Create(ref d), ObjectHandleOnStack.Create(ref target), 420private static partial bool BindToMethodName(ObjectHandleOnStack d, ObjectHandleOnStack target, QCallTypeHandle methodType, string method, DelegateBindingFlags flags); 425bool ret = BindToMethodInfo(ObjectHandleOnStack.Create(ref d), ObjectHandleOnStack.Create(ref target), 433private static partial bool BindToMethodInfo(ObjectHandleOnStack d, ObjectHandleOnStack target, RuntimeMethodHandleInternal method, QCallTypeHandle methodType, DelegateBindingFlags flags); 479Construct(ObjectHandleOnStack.Create(ref _this), ObjectHandleOnStack.Create(ref target), method); 483private static partial void Construct(ObjectHandleOnStack _this, ObjectHandleOnStack target, IntPtr method); 520FindMethodHandle(ObjectHandleOnStack.Create(ref d), ObjectHandleOnStack.Create(ref methodInfo)); 525private static partial void FindMethodHandle(ObjectHandleOnStack d, ObjectHandleOnStack retMethodInfo); 529return InternalEqualMethodHandles(ObjectHandleOnStack.Create(ref left), ObjectHandleOnStack.Create(ref right)); 534private static partial bool InternalEqualMethodHandles(ObjectHandleOnStack left, ObjectHandleOnStack right); 538return AdjustTarget(ObjectHandleOnStack.Create(ref target), methodPtr); 542private static partial IntPtr AdjustTarget(ObjectHandleOnStack target, IntPtr methodPtr); 547InitializeVirtualCallStub(ObjectHandleOnStack.Create(ref d), methodPtr); 551private static partial void InitializeVirtualCallStub(ObjectHandleOnStack d, IntPtr methodPtr);
src\System\Diagnostics\Debugger.cs (2)
53CustomNotification(ObjectHandleOnStack.Create(ref notify)); 87private static partial void CustomNotification(ObjectHandleOnStack data);
src\System\Diagnostics\StackTrace.CoreCLR.cs (4)
13private static partial void GetStackFramesInternal(ObjectHandleOnStack sfh, [MarshalAs(UnmanagedType.Bool)] bool fNeedFileInfo, ObjectHandleOnStack e); 16=> GetStackFramesInternal(ObjectHandleOnStack.Create(ref sfh), fNeedFileInfo, ObjectHandleOnStack.Create(ref e));
src\System\Enum.CoreCLR.cs (4)
15private static partial void GetEnumValuesAndNames(QCallTypeHandle enumType, ObjectHandleOnStack values, ObjectHandleOnStack names, Interop.BOOL getNames); 112ObjectHandleOnStack.Create(ref values), 113ObjectHandleOnStack.Create(ref names),
src\System\Environment.CoreCLR.cs (2)
83FailFast(new StackCrawlMarkHandle(ref mark), message, ObjectHandleOnStack.Create(ref exception), errorMessage); 88private static partial void FailFast(StackCrawlMarkHandle mark, string? message, ObjectHandleOnStack exception, string? errorMessage);
src\System\Exception.CoreCLR.cs (8)
59private static partial void GetMethodFromStackTrace(ObjectHandleOnStack stackTrace, ObjectHandleOnStack method); 70GetMethodFromStackTrace(ObjectHandleOnStack.Create(ref stackTraceLocal), ObjectHandleOnStack.Create(ref methodInfo)); 240private static partial void GetFrozenStackTrace(ObjectHandleOnStack exception, ObjectHandleOnStack stackTrace); 246GetFrozenStackTrace(ObjectHandleOnStack.Create(ref _this), ObjectHandleOnStack.Create(ref stackTrace));
src\System\GC.CoreCLR.cs (7)
104private static partial void AllocateNewArray(IntPtr typeHandlePtr, int length, GC_ALLOC_FLAGS flags, ObjectHandleOnStack ret); 311private static unsafe partial void* GetNextFinalizeableObject(ObjectHandleOnStack target); 321void* fptr = GetNextFinalizeableObject(ObjectHandleOnStack.Create(ref target)); 370private static partial void ReRegisterForFinalize(ObjectHandleOnStack o); 379ReRegisterForFinalize(ObjectHandleOnStack.Create(ref obj)); 831AllocateNewArray(RuntimeTypeHandle.ToIntPtr(typeof(T[]).TypeHandle), length, flags, ObjectHandleOnStack.Create(ref result)); 852AllocateNewArray(RuntimeTypeHandle.ToIntPtr(typeof(T[]).TypeHandle), length, flags, ObjectHandleOnStack.Create(ref result));
src\System\Object.CoreCLR.cs (1)
30RuntimeHelpers.AllocateUninitializedClone(ObjectHandleOnStack.Create(ref clone));
src\System\Reflection\Assembly.CoreCLR.cs (4)
57private static partial void GetExecutingAssemblyNative(StackCrawlMarkHandle stackMark, ObjectHandleOnStack retAssembly); 62GetExecutingAssemblyNative(new StackCrawlMarkHandle(ref stackMark), ObjectHandleOnStack.Create(ref retAssembly)); 85private static partial void GetEntryAssemblyNative(ObjectHandleOnStack retAssembly); 90GetEntryAssemblyNative(ObjectHandleOnStack.Create(ref entryAssembly));
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (4)
116private static unsafe partial void CreateDynamicAssembly(ObjectHandleOnStack assemblyLoadContext, 120ObjectHandleOnStack retAssembly); 144CreateDynamicAssembly(ObjectHandleOnStack.Create(ref assemblyLoadContext), 148ObjectHandleOnStack.Create(ref retAssembly));
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
545private static partial void TermCreateClass(QCallModule module, int tk, ObjectHandleOnStack type); 1638TermCreateClass(new QCallModule(ref module), m_tdType, ObjectHandleOnStack.Create(ref cls));
src\System\Reflection\MdImport.cs (2)
336private static unsafe partial void Enum(IntPtr scope, int type, int parent, ref int length, int* shortResult, ObjectHandleOnStack longResult); 344Enum(m_metadataImport2, (int)type, parent, ref length, p, ObjectHandleOnStack.Create(ref result._largeResult));
src\System\Reflection\RuntimeAssembly.cs (33)
162private static partial void GetEntryPoint(QCallAssembly assembly, ObjectHandleOnStack retMethod); 170GetEntryPoint(new QCallAssembly(ref runtimeAssembly), ObjectHandleOnStack.Create(ref methodHandle)); 185ObjectHandleOnStack retType); 192ObjectHandleOnStack retType); 207ObjectHandleOnStack.Create(ref type)); 215ObjectHandleOnStack.Create(ref type)); 238private static partial void GetExportedTypes(QCallAssembly assembly, ObjectHandleOnStack retTypes); 245GetExportedTypes(new QCallAssembly(ref runtimeAssembly), ObjectHandleOnStack.Create(ref types)); 387ObjectHandleOnStack.Create(ref requestingAssembly), 390ObjectHandleOnStack.Create(ref assemblyLoadContext), 391ObjectHandleOnStack.Create(ref retAssembly)); 399ObjectHandleOnStack requestingAssembly, 402ObjectHandleOnStack assemblyLoadContext, 403ObjectHandleOnStack retAssembly); 410private static partial void GetModule(QCallAssembly assembly, string name, ObjectHandleOnStack retModule); 416GetModule(new QCallAssembly(ref runtimeAssembly), name, ObjectHandleOnStack.Create(ref retModule)); 464private static partial void GetManifestResourceNames(QCallAssembly assembly, ObjectHandleOnStack retResourceNames); 471GetManifestResourceNames(new QCallAssembly(ref runtimeAssembly), ObjectHandleOnStack.Create(ref resourceNames)); 477private static partial void GetReferencedAssemblies(QCallAssembly assembly, ObjectHandleOnStack retReferencedAssemblies); 484GetReferencedAssemblies(new QCallAssembly(ref runtimeAssembly), ObjectHandleOnStack.Create(ref referencedAssemblies)); 491ObjectHandleOnStack assemblyRef, 500ObjectHandleOnStack.Create(ref retAssembly), 618private static partial void GetPublicKey(QCallAssembly assembly, ObjectHandleOnStack retPublicKey); 624GetPublicKey(new QCallAssembly(ref runtimeAssembly), ObjectHandleOnStack.Create(ref publicKey)); 677ObjectHandleOnStack retModuleHandles); 685GetModules(new QCallAssembly(ref runtimeAssembly), loadIfNotFound, getResourceModules, ObjectHandleOnStack.Create(ref modules)); 707GetManifestModuleSlow(ObjectHandleOnStack.Create(ref assembly), ObjectHandleOnStack.Create(ref module)); 716private static partial void GetManifestModuleSlow(ObjectHandleOnStack assembly, ObjectHandleOnStack module); 745ObjectHandleOnStack pType = ObjectHandleOnStack.Create(ref type); 804private static partial void GetForwardedType(QCallAssembly assembly, MetadataToken mdtExternalType, ObjectHandleOnStack type);
src\System\Reflection\RuntimeCustomAttributeData.cs (10)
1864ObjectHandleOnStack type, 1865ObjectHandleOnStack pCtor, 1869ObjectHandleOnStack instance); 1881ObjectHandleOnStack.Create(ref type), 1882ObjectHandleOnStack.Create(ref ctor), 1886ObjectHandleOnStack.Create(ref result)); 1897ObjectHandleOnStack type, 1898ObjectHandleOnStack value); 1917ObjectHandleOnStack.Create(ref typeLocal), 1918ObjectHandleOnStack.Create(ref valueLocal));
src\System\Reflection\RuntimeModule.cs (4)
419private static partial void GetTypes(QCallModule module, ObjectHandleOnStack retTypes, ObjectHandleOnStack retExceptions); 426GetTypes(new QCallModule(ref thisAsLocal), ObjectHandleOnStack.Create(ref types), ObjectHandleOnStack.Create(ref exceptions));
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (2)
237private static unsafe partial void AddContinuationToExInternal(void* diagnosticIP, ObjectHandleOnStack ex); 240=> AddContinuationToExInternal(diagnosticIP, ObjectHandleOnStack.Create(ref e));
src\System\Runtime\CompilerServices\CastHelpers.cs (3)
37private static partial bool IsInstanceOf_NoCacheLookup(void *toTypeHnd, [MarshalAs(UnmanagedType.Bool)] bool throwCastException, ObjectHandleOnStack obj); 42if (IsInstanceOf_NoCacheLookup(toTypeHnd, false, ObjectHandleOnStack.Create(ref obj))) 52IsInstanceOf_NoCacheLookup(toTypeHnd, true, ObjectHandleOnStack.Create(ref obj));
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (5)
223private static partial void PrepareDelegate(ObjectHandleOnStack d); 232PrepareDelegate(ObjectHandleOnStack.Create(ref d)); 243private static partial int GetHashCodeSlow(ObjectHandleOnStack o); 261return GetHashCodeSlow(ObjectHandleOnStack.Create(ref o)); 350internal static partial void AllocateUninitializedClone(ObjectHandleOnStack objHandle);
src\System\Runtime\CompilerServices\VirtualDispatchHelpers.cs (2)
62private static unsafe partial IntPtr ResolveVirtualFunctionPointer(ObjectHandleOnStack obj, IntPtr classHandle, IntPtr methodHandle); 68IntPtr result = ResolveVirtualFunctionPointer(ObjectHandleOnStack.Create(ref obj), classHandle, methodHandle);
src\System\Runtime\DependentHandle.cs (4)
244=> _InternalAllocWithGCTransition(ObjectHandleOnStack.Create(ref target), ObjectHandleOnStack.Create(ref dependent)); 247private static partial IntPtr _InternalAllocWithGCTransition(ObjectHandleOnStack target, ObjectHandleOnStack dependent);
src\System\Runtime\ExceptionServices\InternalCalls.cs (2)
30ObjectHandleOnStack exceptionObj, byte* pFilterIP, void* pvRegDisplay); 34internal static unsafe partial void RhpAppendExceptionStackFrame(ObjectHandleOnStack exceptionObj, IntPtr ip, UIntPtr sp, int flags, EH.ExInfo* exInfo);
src\System\Runtime\InteropServices\ComWrappers.CoreCLR.cs (2)
129return AllocateRefCountedHandle(ObjectHandleOnStack.Create(ref holder)); 133private static partial IntPtr AllocateRefCountedHandle(ObjectHandleOnStack obj);
src\System\Runtime\InteropServices\GCHandle.CoreCLR.cs (4)
23=> _InternalAllocWithGCTransition(ObjectHandleOnStack.Create(ref value), type); 26private static partial IntPtr _InternalAllocWithGCTransition(ObjectHandleOnStack value, GCHandleType type); 52InternalGetBridgeWait(handle, ObjectHandleOnStack.Create(ref target)); 61private static partial void InternalGetBridgeWait(IntPtr handle, ObjectHandleOnStack result);
src\System\Runtime\InteropServices\Java\JavaMarshal.CoreCLR.cs (2)
68IntPtr handle = CreateReferenceTrackingHandleInternal(ObjectHandleOnStack.Create(ref obj), context); 123private static unsafe partial IntPtr CreateReferenceTrackingHandleInternal(ObjectHandleOnStack obj, void* context);
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (6)
371GetExceptionForHRInternal(errorCode, errorInfo, ObjectHandleOnStack.Create(ref exception)); 376private static partial void GetExceptionForHRInternal(int errorCode, IntPtr errorInfo, ObjectHandleOnStack exception); 978GetDelegateForFunctionPointerInternal(ptr, new QCallTypeHandle(ref t), ObjectHandleOnStack.Create(ref retDelegate)); 983private static partial void GetDelegateForFunctionPointerInternal(IntPtr ptr, QCallTypeHandle t, ObjectHandleOnStack retDelegate); 987return GetFunctionPointerForDelegateInternal(ObjectHandleOnStack.Create(ref d)); 991private static partial IntPtr GetFunctionPointerForDelegateInternal(ObjectHandleOnStack d);
src\System\Runtime\InteropServices\TrackerObjectManager.CoreCLR.cs (2)
39RegisterNativeObjectWrapperCache(ObjectHandleOnStack.Create(ref handleSet)); 43private static partial void RegisterNativeObjectWrapperCache(ObjectHandleOnStack nativeObjectWrapperCache);
src\System\Runtime\Loader\AssemblyLoadContext.CoreCLR.cs (6)
22private static partial void LoadFromStream(IntPtr ptrNativeAssemblyBinder, IntPtr ptrAssemblyArray, int iAssemblyArrayLen, IntPtr ptrSymbols, int iSymbolArrayLen, ObjectHandleOnStack retAssembly); 32private static partial void LoadFromPath(IntPtr ptrNativeAssemblyBinder, string? ilPath, string? niPath, ObjectHandleOnStack retAssembly); 37GetLoadedAssemblies(ObjectHandleOnStack.Create(ref assemblies)); 42private static partial void GetLoadedAssemblies(ObjectHandleOnStack retAssemblies); 67LoadFromPath(_nativeAssemblyLoadContext, assemblyPath, nativeImagePath, ObjectHandleOnStack.Create(ref loadedAssembly)); 79new IntPtr(ptrSymbols), arrSymbols.Length, ObjectHandleOnStack.Create(ref loadedAssembly));
src\System\RuntimeHandles.cs (95)
39ObjectHandleOnStack typeObject); 45GetRuntimeTypeFromHandleSlow(handle, ObjectHandleOnStack.Create(ref typeObject)); 240ObjectHandleOnStack.Create(ref instantiatedObject)); 269ObjectHandleOnStack.Create(ref instantiatedObject)); 282ObjectHandleOnStack instantiatedObject); 287InternalAlloc(pMT, ObjectHandleOnStack.Create(ref result)); 300private static unsafe partial void InternalAlloc(MethodTable* pMT, ObjectHandleOnStack result); 312InternalAllocNoChecks(pMT, ObjectHandleOnStack.Create(ref result)); 318private static unsafe partial void InternalAllocNoChecks(MethodTable* pMT, ObjectHandleOnStack result); 345ObjectHandleOnStack.Create(ref rt), 358ObjectHandleOnStack pRuntimeType, 392GetAssemblySlow(ObjectHandleOnStack.Create(ref type), ObjectHandleOnStack.Create(ref assembly)); 401private static partial void GetAssemblySlow(ObjectHandleOnStack type, ObjectHandleOnStack assembly); 411GetModuleSlow(ObjectHandleOnStack.Create(ref type), ObjectHandleOnStack.Create(ref module)); 420private static partial void GetModuleSlow(ObjectHandleOnStack type, ObjectHandleOnStack module); 483GetArgumentTypesFromFunctionPointer(new QCallTypeHandle(ref type), ObjectHandleOnStack.Create(ref argTypes)); 488private static partial void GetArgumentTypesFromFunctionPointer(QCallTypeHandle type, ObjectHandleOnStack argTypes); 560private static unsafe partial void GetInterfaces(MethodTable* pMT, ObjectHandleOnStack result); 573GetInterfaces(typeHandle.AsMethodTable(), ObjectHandleOnStack.Create(ref result)); 579private static partial void GetConstraints(QCallTypeHandle handle, ObjectHandleOnStack types); 586GetConstraints(new QCallTypeHandle(ref nativeHandle), ObjectHandleOnStack.Create(ref types)); 725private static partial void GetDeclaringMethodForGenericParameter(QCallTypeHandle typeHandle, ObjectHandleOnStack result); 732GetDeclaringMethodForGenericParameter(new QCallTypeHandle(ref type), ObjectHandleOnStack.Create(ref method)); 737internal static partial void GetInstantiation(QCallTypeHandle type, ObjectHandleOnStack types, Interop.BOOL fAsRuntimeTypeArray); 743GetInstantiation(new QCallTypeHandle(ref nativeHandle), ObjectHandleOnStack.Create(ref types), Interop.BOOL.TRUE); 751GetInstantiation(new QCallTypeHandle(ref nativeHandle), ObjectHandleOnStack.Create(ref types), Interop.BOOL.FALSE); 756private static partial void Instantiate(QCallTypeHandle handle, IntPtr* pInst, int numGenericArgs, ObjectHandleOnStack type); 764Instantiate(new QCallTypeHandle(ref nativeHandle), &ptr, 1, ObjectHandleOnStack.Create(ref type)); 777Instantiate(new QCallTypeHandle(ref nativeHandle), pInst, instCount, ObjectHandleOnStack.Create(ref type)); 784private static partial void MakeArray(QCallTypeHandle handle, int rank, ObjectHandleOnStack type); 790MakeArray(new QCallTypeHandle(ref nativeHandle), rank, ObjectHandleOnStack.Create(ref type)); 795private static partial void MakeSZArray(QCallTypeHandle handle, ObjectHandleOnStack type); 801MakeSZArray(new QCallTypeHandle(ref nativeHandle), ObjectHandleOnStack.Create(ref type)); 806private static partial void MakeByRef(QCallTypeHandle handle, ObjectHandleOnStack type); 812MakeByRef(new QCallTypeHandle(ref nativeHandle), ObjectHandleOnStack.Create(ref type)); 817private static partial void MakeFunctionPointer(nint* retAndParamTypes, int numArgs, [MarshalAs(UnmanagedType.Bool)] bool isUnmanaged, ObjectHandleOnStack type); 831MakeFunctionPointer(pRetAndParamTypeHandles, parameterTypes.Length, isUnmanaged, ObjectHandleOnStack.Create(ref type)); 840private static partial void MakePointer(QCallTypeHandle handle, ObjectHandleOnStack type); 846MakePointer(new QCallTypeHandle(ref nativeHandle), ObjectHandleOnStack.Create(ref type)); 851internal static partial void GetGenericTypeDefinition(QCallTypeHandle type, ObjectHandleOnStack retType); 1181private static partial void InvokeMethod(ObjectHandleOnStack target, void** arguments, ObjectHandleOnStack sig, Interop.BOOL isConstructor, ObjectHandleOnStack result); 1189ObjectHandleOnStack.Create(ref target), 1191ObjectHandleOnStack.Create(ref sig), 1193ObjectHandleOnStack.Create(ref result)); 1235private static partial void GetMethodInstantiation(RuntimeMethodHandleInternal method, ObjectHandleOnStack types, Interop.BOOL fAsRuntimeTypeArray); 1240GetMethodInstantiation(EnsureNonNullMethodInfo(method).Value, ObjectHandleOnStack.Create(ref types), Interop.BOOL.TRUE); 1248GetMethodInstantiation(method, ObjectHandleOnStack.Create(ref types), Interop.BOOL.TRUE); 1255GetMethodInstantiation(EnsureNonNullMethodInfo(method).Value, ObjectHandleOnStack.Create(ref types), Interop.BOOL.FALSE); 1274private static partial RuntimeMethodHandleInternal GetStubIfNeededSlow(RuntimeMethodHandleInternal method, QCallTypeHandle declaringTypeHandle, ObjectHandleOnStack methodInstantiation); 1289=> GetStubIfNeededSlow(method, new QCallTypeHandle(ref declaringType), ObjectHandleOnStack.Create(ref methodInstantiation)); 1309private static partial void GetTypicalMethodDefinition(RuntimeMethodHandleInternal method, ObjectHandleOnStack outMethod); 1315GetTypicalMethodDefinition(method.Value, ObjectHandleOnStack.Create(ref method)); 1328private static partial void StripMethodInstantiation(RuntimeMethodHandleInternal method, ObjectHandleOnStack outMethod); 1334StripMethodInstantiation(method.Value, ObjectHandleOnStack.Create(ref strippedMethod)); 1350private static partial void GetMethodBody(RuntimeMethodHandleInternal method, QCallTypeHandle declaringType, ObjectHandleOnStack result); 1355GetMethodBody(method.Value, new QCallTypeHandle(ref declaringType), ObjectHandleOnStack.Create(ref result)); 1578GetFieldDataReference(((RtFieldInfo)field).GetFieldDesc(), ObjectHandleOnStack.Create(ref target), ByteRefOnStack.Create(ref fieldDataRef)); 1592private static unsafe partial void GetFieldDataReference(IntPtr fieldDesc, ObjectHandleOnStack target, ByteRefOnStack fieldDataRef); 1607ObjectHandleOnStack instance, 1611ObjectHandleOnStack result); 1621GetValue(field.GetFieldDesc(), ObjectHandleOnStack.Create(ref instance), new QCallTypeHandle(ref fieldType), new QCallTypeHandle(ref declaringType!), ref isClassInitialized, ObjectHandleOnStack.Create(ref result)); 1632ObjectHandleOnStack result); 1642GetValueDirect(field.GetFieldDesc(), &typedRef, new QCallTypeHandle(ref fieldType), new QCallTypeHandle(ref contextType!), ObjectHandleOnStack.Create(ref result)); 1650ObjectHandleOnStack instance, 1651ObjectHandleOnStack value, 1663SetValue(field.GetFieldDesc(), ObjectHandleOnStack.Create(ref obj), ObjectHandleOnStack.Create(ref value), new QCallTypeHandle(ref fieldType), new QCallTypeHandle(ref declaringType!), ref isClassInitialized); 1671ObjectHandleOnStack value, 1682SetValueDirect(field.GetFieldDesc(), &typedRef, ObjectHandleOnStack.Create(ref value), new QCallTypeHandle(ref fieldType), new QCallTypeHandle(ref contextType!)); 1721private static partial void* GetEnCFieldAddr(ObjectHandleOnStack tgt, void* pFD); 1729void* addr = GetEnCFieldAddr(ObjectHandleOnStack.Create(ref tgt), pFD); 1742void* addr = GetEnCFieldAddr(ObjectHandleOnStack.Create(ref nullTarget), pFD); 1801ObjectHandleOnStack resolver, 1802ObjectHandleOnStack result); 1812ObjectHandleOnStack.Create(ref resolver), 1813ObjectHandleOnStack.Create(ref methodInfo)); 1869ResolveType(new QCallModule(ref module), typeToken, typeInstArgs, typeInstantiationContextHandles.Length, methodInstArgs, methodInstantiationContextHandles.Length, ObjectHandleOnStack.Create(ref type)); 1891ObjectHandleOnStack type); 1975ResolveField(new QCallModule(ref module), fieldToken, typeInstArgs, typeInstantiationContextHandles.Length, methodInstArgs, methodInstantiationContextHandles.Length, ObjectHandleOnStack.Create(ref field)); 1997ObjectHandleOnStack retField); 2000internal static partial void GetModuleType(QCallModule handle, ObjectHandleOnStack type); 2005GetModuleType(new QCallModule(ref module), ObjectHandleOnStack.Create(ref type)); 2054ObjectHandleOnStack _this, 2066Init(ObjectHandleOnStack.Create(ref _this), 2190ObjectHandleOnStack sigObj, 2193ObjectHandleOnStack result); 2200ObjectHandleOnStack.Create(ref _this), 2203ObjectHandleOnStack.Create(ref result));
src\System\RuntimeType.CoreCLR.cs (1)
1654RuntimeTypeHandle.GetGenericTypeDefinition(new QCallTypeHandle(ref type), ObjectHandleOnStack.Create(ref genericDefinition));
src\System\StubHelpers.cs (20)
644ConvertSpaceToNative(pMarshalState, ObjectHandleOnStack.Create(ref managedHome), pNativeHome); 648private static partial void ConvertSpaceToNative(IntPtr pMarshalState, ObjectHandleOnStack pManagedHome, IntPtr pNativeHome); 653ConvertContentsToNative(pMarshalState, ObjectHandleOnStack.Create(ref managedHome), pNativeHome); 657private static partial void ConvertContentsToNative(IntPtr pMarshalState, ObjectHandleOnStack pManagedHome, IntPtr pNativeHome); 663ConvertSpaceToManaged(pMarshalState, ObjectHandleOnStack.Create(ref managedHome), pNativeHome, cElements); 668private static partial void ConvertSpaceToManaged(IntPtr pMarshalState, ObjectHandleOnStack pManagedHome, IntPtr pNativeHome, 674ConvertContentsToManaged(pMarshalState, ObjectHandleOnStack.Create(ref managedHome), pNativeHome); 678private static partial void ConvertContentsToManaged(IntPtr pMarshalState, ObjectHandleOnStack pManagedHome, IntPtr pNativeHome); 739ConvertContentsToNative(pMarshalState, ObjectHandleOnStack.Create(ref managedHome), pNativeHome); 743private static partial void ConvertContentsToNative(IntPtr pMarshalState, ObjectHandleOnStack pManagedHome, IntPtr pNativeHome); 748ConvertSpaceToManaged(pMarshalState, ObjectHandleOnStack.Create(ref managedHome), pNativeHome); 753private static partial void ConvertSpaceToManaged(IntPtr pMarshalState, ObjectHandleOnStack pManagedHome, IntPtr pNativeHome); 758ConvertContentsToManaged(pMarshalState, ObjectHandleOnStack.Create(ref managedHome), pNativeHome); 762private static partial void ConvertContentsToManaged(IntPtr pMarshalState, ObjectHandleOnStack pManagedHome, IntPtr pNativeHome); 1489internal static partial void CreateCustomMarshaler(IntPtr pMD, int paramToken, IntPtr hndManagedType, ObjectHandleOnStack customMarshaler); 1521CreateCustomMarshaler(pMD, paramToken, hndManagedType, ObjectHandleOnStack.Create(ref retVal)); 1655private static partial void ValidateObject(ObjectHandleOnStack obj, IntPtr pMD); 1658=> ValidateObject(ObjectHandleOnStack.Create(ref obj), pMD); 1669MulticastDebuggerTraceHelperQCall(ObjectHandleOnStack.Create(ref o), count); 1673private static partial void MulticastDebuggerTraceHelperQCall(ObjectHandleOnStack obj, int count);
src\System\Threading\Monitor.CoreCLR.cs (4)
43GetOrCreateLockObject(ObjectHandleOnStack.Create(ref obj), ObjectHandleOnStack.Create(ref lockObj)); 52private static partial void GetOrCreateLockObject(ObjectHandleOnStack obj, ObjectHandleOnStack lockObj);
src\System\Threading\Thread.CoreCLR.cs (8)
102if (StartInternal(GetNativeHandle(), _startHelper?._maxStackSize ?? 0, _priority, _isThreadPool ? Interop.BOOL.TRUE : Interop.BOOL.FALSE, pThreadName, ObjectHandleOnStack.Create(ref exception)) == Interop.BOOL.FALSE) 111private static unsafe partial Interop.BOOL StartInternal(ThreadHandle t, int stackSize, int priority, Interop.BOOL isThreadPool, char* pThreadName, ObjectHandleOnStack exception); 169GetCurrentThread(ObjectHandleOnStack.Create(ref thread)); 174private static partial void GetCurrentThread(ObjectHandleOnStack thread); 179Initialize(ObjectHandleOnStack.Create(ref _this)); 183private static partial void Initialize(ObjectHandleOnStack thread); 270private static partial void SetPriority(ObjectHandleOnStack thread, int priority); 286SetPriority(ObjectHandleOnStack.Create(ref _this), (int)value);
src\System\ValueType.cs (2)
123switch (GetHashCodeStrategy(pMT, ObjectHandleOnStack.Create(ref thisRef), out uint fieldOffset, out uint fieldSize, out MethodTable* fieldMT)) 166MethodTable* pMT, ObjectHandleOnStack objHandle, out uint fieldOffset, out uint fieldSize, out MethodTable* fieldMT);