3 instantiations of DacGcReference
Microsoft.Diagnostics.DataContractReader.Legacy (3)
Dbi\Helpers\RefWalk.cs (3)
66yield return new DacGcReference 143DacGcReference reference = new() 176DacGcReference reference = new()
35 references to DacGcReference
Microsoft.Diagnostics.DataContractReader.Legacy (35)
Dbi\DacDbiImpl.cs (3)
5262*pHandle = (nuint)((IEnum<DacGcReference>)walk).GetHandle(); 5297((IEnum<DacGcReference>)walk).Dispose(); 5315public int WalkRefs(nuint handle, uint count, [In, MarshalUsing(CountElementName = "count"), Out] DacGcReference[] refs, uint* pFetched)
Dbi\Helpers\RefWalk.cs (11)
12internal sealed class RefWalk : IEnum<DacGcReference> 21public IEnumerator<DacGcReference> Enumerator { get; } 34private IEnumerable<DacGcReference> Walk() 38foreach (DacGcReference reference in WalkHandles()) 45foreach (DacGcReference reference in WalkExternalMemoryHandles()) 51foreach (DacGcReference reference in WalkStacks()) 56private IEnumerable<DacGcReference> WalkHandles() 136private IEnumerable<DacGcReference> WalkExternalMemoryHandles() 143DacGcReference reference = new() 159private IEnumerable<DacGcReference> WalkStacks() 176DacGcReference reference = new()
Dbi\IDacDbiInterface.cs (1)
868int 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; 4528int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.WalkRefs(nuint handle, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference[] refs, uint* pFetched) 4533var __target = ((delegate* unmanaged[MemberFunction]<void*, nuint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference*, uint*, int>)__vtable[106]); 4537fixed (void* __refs_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.ManagedToUnmanagedIn.GetPinnableReference(refs)) 4539__retVal = __target(__this, handle, count, (global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference*)__refs_native, pFetched); 4549internal 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) 4554global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference[] refs = default; 4563refs = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.AllocateContainerForManagedElements(__refs_native, __refs_native__numElements); 4564global::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)); 4568global::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));