1 write to _rts
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\ByRefPointerOffsetsReporter.cs (1)
18
_rts
= target.Contracts.RuntimeTypeSystem;
11 references to _rts
Microsoft.Diagnostics.DataContractReader.Contracts (11)
Contracts\ByRefPointerOffsetsReporter.cs (11)
48
CorElementType fieldType =
_rts
.GetFieldDescType(fieldDesc);
51
:
_rts
.GetFieldDescOffset(fieldDesc, fieldDef: null);
55
ITypeHandle? fieldTypeHandle =
_rts
.GetFieldDescApproxTypeHandle(fieldDesc);
56
if (fieldTypeHandle is not null &&
_rts
.IsByRefLike(fieldTypeHandle))
73
bool isInlineArray =
_rts
.IsInlineArray(typeHandle);
74
foreach (TargetPointer fieldDesc in
_rts
.GetFieldDescList(typeHandle))
76
if (
_rts
.IsFieldDescStatic(fieldDesc))
81
CorElementType fieldType =
_rts
.GetFieldDescType(fieldDesc);
83
?
_rts
.GetFieldDescApproxTypeHandle(fieldDesc)
87
: fieldTypeHandle is not null ?
_rts
.GetNumInstanceFieldBytes(fieldTypeHandle) : 0;
91
uint totalSize =
_rts
.GetNumInstanceFieldBytes(typeHandle);