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\18\Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.cs (20)
114
public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nuint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
*, uint*, int> WalkRefs_107;
4141
int global::Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface.WalkRefs(nuint handle, uint count, global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
[] refs, uint* pFetched)
4144
var __target = ((delegate* unmanaged[MemberFunction]<void*, nuint, uint, global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
*, uint*, int> )__vtable[107]);
4148
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))
4150
__retVal = __target(__this, handle, count, (global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
*)__refs_native, pFetched);
4160
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)
4163
global::Microsoft.Diagnostics.DataContractReader.Legacy.
DacGcReference
[] refs = default;
4172
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);
4173
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));
4177
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)
4277
*pHandle = (nuint)((IEnum<
DacGcReference
>)walk).GetHandle();
4311
((IEnum<
DacGcReference
>)walk).Dispose();
4329
public int WalkRefs(nuint handle, uint count, [In, MarshalUsing(CountElementName = "count"), Out]
DacGcReference
[] refs, uint* pFetched)
4371
DacGcReference
[] legacyRefs = new
DacGcReference
[(int)count];
4398
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)
742
int WalkRefs(nuint handle, uint count, [In, Out, MarshalUsing(CountElementName = nameof(count))]
DacGcReference
[] refs, uint* pFetched);