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