2 instantiations of DacGcReference
Microsoft.Diagnostics.DataContractReader.Legacy (2)
Dbi\Helpers\RefWalk.cs (2)
59
yield return new
DacGcReference
146
DacGcReference reference =
new
()
35 references to DacGcReference
Microsoft.Diagnostics.DataContractReader.Legacy (35)
_generated\22\Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.cs (20)
113
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nuint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
*, uint*, int> WalkRefs_106;
4104
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.WalkRefs(nuint handle, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
[] refs, uint* pFetched)
4107
var __target = ((delegate* unmanaged[MemberFunction]<void*, nuint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
*, uint*, int> )__vtable[106]);
4111
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))
4113
__retVal = __target(__this, handle, count, (global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
*)__refs_native, pFetched);
4123
internal 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)
4126
global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
[] refs = default;
4135
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);
4136
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));
4140
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));
Dbi\DacDbiImpl.cs (6)
5128
*pHandle = (nuint)((IEnum<
DacGcReference
>)walk).GetHandle();
5162
((IEnum<
DacGcReference
>)walk).Dispose();
5180
public int WalkRefs(nuint handle, uint count, [In, MarshalUsing(CountElementName = "count"), Out]
DacGcReference
[] refs, uint* pFetched)
5222
DacGcReference
[] legacyRefs = new
DacGcReference
[(int)count];
5249
static uint CountHandlePrefix(
DacGcReference
[] buffer, uint length)
Dbi\Helpers\RefWalk.cs (8)
12
internal sealed class RefWalk : IEnum<
DacGcReference
>
21
public IEnumerator<
DacGcReference
> Enumerator { get; }
34
private IEnumerable<
DacGcReference
> Walk()
38
foreach (
DacGcReference
reference in WalkHandles())
44
foreach (
DacGcReference
reference in WalkStacks())
49
private IEnumerable<
DacGcReference
> WalkHandles()
129
private IEnumerable<
DacGcReference
> WalkStacks()
146
DacGcReference
reference = new()
Dbi\IDacDbiInterface.cs (1)
868
int WalkRefs(nuint handle, uint count, [In, Out, MarshalUsing(CountElementName = nameof(count))]
DacGcReference
[] refs, uint* pFetched);