1 write to _rts
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\ByRefPointerOffsetsReporter.cs (1)
19
_rts
= target.Contracts.RuntimeTypeSystem;
11 references to _rts
Microsoft.Diagnostics.DataContractReader.Contracts (11)
Contracts\ByRefPointerOffsetsReporter.cs (11)
50
CorElementType fieldType =
_rts
.GetFieldDescType(fieldDesc);
53
:
_rts
.GetFieldDescOffset(fieldDesc, fieldDef: null);
57
ITypeHandle? fieldTypeHandle =
_rts
.GetFieldDescApproxTypeHandle(fieldDesc);
61
if (fieldTypeHandle is not null &&
_rts
.IsByRefLike(fieldTypeHandle))
83
bool isInlineArray =
_rts
.IsInlineArray(typeHandle);
84
foreach (TargetPointer fieldDesc in
_rts
.GetFieldDescList(typeHandle))
86
if (
_rts
.IsFieldDescStatic(fieldDesc))
91
CorElementType fieldType =
_rts
.GetFieldDescType(fieldDesc);
93
?
_rts
.GetFieldDescApproxTypeHandle(fieldDesc)
97
: fieldTypeHandle is not null ?
_rts
.GetNumInstanceFieldBytes(fieldTypeHandle) : 0;
106
uint totalSize =
_rts
.GetNumInstanceFieldBytes(typeHandle);