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