5 references to GcRestrictedCalloutKind
System.Private.CoreLib (5)
System\Runtime\InteropServices\TrackerObjectManager.NativeAot.cs (3)
114
if (!RuntimeImports.RhRegisterGcCallout(RuntimeImports.
GcRestrictedCalloutKind
.StartCollection, (IntPtr)gcStartCallback) ||
115
!RuntimeImports.RhRegisterGcCallout(RuntimeImports.
GcRestrictedCalloutKind
.EndCollection, (IntPtr)gcStopCallback) ||
116
!RuntimeImports.RhRegisterGcCallout(RuntimeImports.
GcRestrictedCalloutKind
.AfterMarkPhase, (IntPtr)gcAfterMarkCallback))
System\Runtime\RuntimeImports.cs (2)
477
internal static extern bool RhRegisterGcCallout(
GcRestrictedCalloutKind
eKind, IntPtr pCalloutMethod);
481
internal static extern void RhUnregisterGcCallout(
GcRestrictedCalloutKind
eKind, IntPtr pCalloutMethod);