2 instantiations of DacGcReference
Microsoft.Diagnostics.DataContractReader.Legacy (2)
Dbi\Helpers\RefWalk.cs (2)
59yield return new DacGcReference 146DacGcReference reference = new()
35 references to DacGcReference
Microsoft.Diagnostics.DataContractReader.Legacy (35)
_generated\18\Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.cs (20)
114public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nuint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference*, uint*, int> WalkRefs_107; 4141int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.WalkRefs(nuint handle, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference[] refs, uint* pFetched) 4144var __target = ((delegate* unmanaged[MemberFunction]<void*, nuint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference*, uint*, int> )__vtable[107]); 4148fixed (void* __refs_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.ManagedToUnmanagedIn.GetPinnableReference(refs)) 4150__retVal = __target(__this, handle, count, (global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference*)__refs_native, pFetched); 4160internal static 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) 4163global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference[] refs = default; 4172refs = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacGcReference>.AllocateContainerForManagedElements(__refs_native, __refs_native__numElements); 4173global::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)); 4177global::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));
Dbi\DacDbiImpl.cs (6)
4277*pHandle = (nuint)((IEnum<DacGcReference>)walk).GetHandle(); 4311((IEnum<DacGcReference>)walk).Dispose(); 4329public int WalkRefs(nuint handle, uint count, [In, MarshalUsing(CountElementName = "count"), Out] DacGcReference[] refs, uint* pFetched) 4371DacGcReference[] legacyRefs = new DacGcReference[(int)count]; 4398static uint CountHandlePrefix(DacGcReference[] buffer, uint length)
Dbi\Helpers\RefWalk.cs (8)
12internal sealed class RefWalk : IEnum<DacGcReference> 21public IEnumerator<DacGcReference> Enumerator { get; } 34private IEnumerable<DacGcReference> Walk() 38foreach (DacGcReference reference in WalkHandles()) 44foreach (DacGcReference reference in WalkStacks()) 49private IEnumerable<DacGcReference> WalkHandles() 129private IEnumerable<DacGcReference> WalkStacks() 146DacGcReference reference = new()
Dbi\IDacDbiInterface.cs (1)
742int WalkRefs(nuint handle, uint count, [In, Out, MarshalUsing(CountElementName = nameof(count))] DacGcReference[] refs, uint* pFetched);