36 references to InternalCalls
System.Private.CoreLib (36)
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\__Finalizer.cs (4)
27if (InternalCalls.RhpWaitForFinalizerRequest() != 0) 36InternalCalls.RhpSignalFinalizationComplete(finalizerCount, observedFullGcCount); 42InternalCalls.RhCollect(0, InternalGCCollectionMode.Blocking, lowMemoryP: Interop.BOOL.TRUE); 57object target = InternalCalls.RhpGetNextFinalizableObject();
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\CachedInterfaceDispatch.cs (1)
77var resolver = (delegate*<object, nint, nint>)InternalCalls.RhpGetClasslibFunctionFromEEType(pObject.GetMethodTable(), ClassLibFunctionId.ResolveDispatch);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\ExceptionHandling.cs (19)
88InternalCalls.RhpFallbackFailFast(); 111IntPtr pFailFastFunction = (IntPtr)InternalCalls.RhpGetClasslibFunctionFromCodeAddress(classlibAddress, 161(IntPtr)InternalCalls.RhpGetClasslibFunctionFromEEType(exception.GetMethodTable(), ClassLibFunctionId.OnFirstChance); 183(IntPtr)InternalCalls.RhpGetClasslibFunctionFromEEType(exception.GetMethodTable(), ClassLibFunctionId.OnUnhandledException); 209(IntPtr)InternalCalls.RhpGetClasslibFunctionFromCodeAddress(classlibAddress, ClassLibFunctionId.FailFast); 265IntPtr pAppendStackFrame = (IntPtr)InternalCalls.RhpGetClasslibFunctionFromCodeAddress(ip, 304(IntPtr)InternalCalls.RhpGetClasslibFunctionFromCodeAddress(address, ClassLibFunctionId.GetRuntimeException); 358pGetRuntimeExceptionFunction = (IntPtr)InternalCalls.RhpGetClasslibFunctionFromEEType(pEEType, ClassLibFunctionId.GetRuntimeException); 603InternalCalls.RhpValidateExInfoStack(); 700InternalCalls.RhpValidateExInfoStack(); 741InternalCalls.RhpValidateExInfoStack(); 900InternalCalls.RhpSetThreadDoNotTriggerGC(); 961InternalCalls.RhpCallCatchFunclet( 1030if (!InternalCalls.RhpEHEnumInitFromStackFrameIterator(ref frameIter, out methodRegionInfo, &ehEnum)) 1041for (uint curIdx = 0; InternalCalls.RhpEHEnumNext(&ehEnum, &ehClause); curIdx++) 1098InternalCalls.RhpCallFilterFunclet(exception, pFilterFunclet, frameIter.RegisterSet); 1186if (!InternalCalls.RhpEHEnumInitFromStackFrameIterator(ref exInfo._frameIter, out methodRegionInfo, &ehEnum)) 1197for (uint curIdx = 0; InternalCalls.RhpEHEnumNext(&ehEnum, &ehClause) && curIdx < idxLimit; curIdx++) 1244InternalCalls.RhpCallFinallyFunclet(pFinallyHandler, exInfo._frameIter.RegisterSet);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\MethodTable.Runtime.cs (1)
35return (IntPtr)InternalCalls.RhpGetClasslibFunctionFromEEType((MethodTable*)Unsafe.AsPointer(ref this), id);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\RuntimeExports.cs (9)
53return InternalCalls.RhpNewFinalizable(pEEType); 54return InternalCalls.RhpNewFast(pEEType); 72return InternalCalls.RhpNewArrayFast(pEEType, length); 116return (IntPtr)(delegate*<MethodTable*, object>)&InternalCalls.RhpNewFinalizable; 118return (IntPtr)(delegate*<MethodTable*, object>)&InternalCalls.RhpNewFast; 154result = InternalCalls.RhpNewFast(pEEType); 161InternalCalls.RhBulkMoveWithWriteBarrier(ref result.GetRawData(), ref dataAdjustedForNullable, pEEType->ValueTypeSize); 253InternalCalls.RhpGcSafeZeroMemory( 284InternalCalls.RhBulkMoveWithWriteBarrier(ref data, ref fields, pEEType->ValueTypeSize);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\StackFrameIterator.cs (2)
68return InternalCalls.RhpSfiInit(ref this, pStackwalkCtx, instructionFault, fIsExceptionIntercepted); 89return InternalCalls.RhpSfiNext(ref this, uExCollideClauseIdx, fUnwoundReversePInvoke, fIsExceptionIntercepted);