3 instantiations of DacGcReference
Microsoft.Diagnostics.DataContractReader.Legacy (3)
Dbi\Helpers\RefWalk.cs (3)
70yield return new DacGcReference 147DacGcReference reference = new() 180DacGcReference reference = new()
37 references to DacGcReference
Microsoft.Diagnostics.DataContractReader.Legacy (37)
Dbi\DacDbiImpl.cs (3)
5305*pHandle = (nuint)((IEnum<DacGcReference>)walk).GetHandle(); 5340((IEnum<DacGcReference>)walk).Dispose(); 5358public int WalkRefs(nuint handle, uint count, [In, MarshalUsing(CountElementName = "count"), Out] DacGcReference[] refs, uint* pFetched)
Dbi\Helpers\RefWalk.cs (13)
13internal sealed class RefWalk : IEnum<DacGcReference> 22public IEnumerator<DacGcReference> Enumerator { get; } 38private IEnumerable<DacGcReference> Walk() 42foreach (DacGcReference reference in WalkHandles()) 49foreach (DacGcReference reference in WalkExternalMemoryHandles()) 55foreach (DacGcReference reference in WalkStacks()) 60private IEnumerable<DacGcReference> WalkHandles() 140private IEnumerable<DacGcReference> WalkExternalMemoryHandles() 147DacGcReference reference = new() 163private IEnumerable<DacGcReference> WalkStacks() 180DacGcReference reference = new() 212internal void AddBatch(ReadOnlySpan<DacGcReference> references, bool legacy, bool endOfWalk) 220foreach (DacGcReference reference in references)
Dbi\IDacDbiInterface.cs (1)
1031int WalkRefs(nuint handle, uint count, [In, Out, MarshalUsing(CountElementName = nameof(count))] DacGcReference[] refs, uint* pFetched);
Generated\361d1da7f942c932\Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.cs (20)
113public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nuint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference*, uint*, int> WalkRefs_106; 4552int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.WalkRefs(nuint handle, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference[] refs, uint* pFetched) 4557var __target = ((delegate* unmanaged[MemberFunction]<void*, nuint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference*, uint*, int>)__vtable[106]); 4561fixed (void* __refs_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.ManagedToUnmanagedIn.GetPinnableReference(refs)) 4563__retVal = __target(__this, handle, count, (global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference*)__refs_native, pFetched); 4573internal static unsafe int ABI_WalkRefs(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, nuint handle, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference* __refs_native, uint* pFetched) 4578global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference[] refs = default; 4587refs = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.AllocateContainerForManagedElements(__refs_native, __refs_native__numElements); 4588global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.GetUnmanagedValuesSource(__refs_native, __refs_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.GetManagedValuesDestination(refs)); 4592global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.GetManagedValuesDestination(refs).CopyTo(global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.InteropServices.MemoryMarshal.GetReference(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.GetUnmanagedValuesSource(__refs_native, __refs_native__numElements)), global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.GetUnmanagedValuesSource(__refs_native, __refs_native__numElements).Length));