22 references to ExactTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (22)
Contracts\CallingConvention\CdacTypeHandle.cs (22)
50
public bool IsNull() =>
ExactTypeHandle
is null && _typeInfo.ElementType == default;
54
|| (
ExactTypeHandle
is not null && Rts.IsValueType(
ExactTypeHandle
));
58
|| (
ExactTypeHandle
is not null && Rts.IsPointer(
ExactTypeHandle
));
62
&&
ExactTypeHandle
is null;
78
if (
ExactTypeHandle
is null)
88
uint baseSize = Rts.GetBaseSize(
ExactTypeHandle
);
96
if (
ExactTypeHandle
is null)
101
return MapCorElementType(Rts.GetInternalCorElementType(
ExactTypeHandle
));
104
if (_typeInfo.ElementType != CdacCorElementType.ValueType ||
ExactTypeHandle
is null)
119
CdacCorElementType cdacType = Rts.GetInternalCorElementType(
ExactTypeHandle
);
125
return
ExactTypeHandle
is not null && Rts.RequiresAlign8(
ExactTypeHandle
);
129
=>
ExactTypeHandle
is not null && Rts.TryGetHFAElementSize(
ExactTypeHandle
, out _);
134
return Rts.TryGetHFAElementSize(
ExactTypeHandle
!, out int size) ? size : 0;
142
if (
ExactTypeHandle
is null)
148
if (!Rts.TryGetSystemVAmd64EightByteClassification(
ExactTypeHandle
, out SystemVAmd64EightByteClassification info))
193
||
ExactTypeHandle
is null
194
|| !Rts.IsValueType(
ExactTypeHandle
))
206
foreach (TargetPointer fieldDesc in Rts.GetFieldDescList(
ExactTypeHandle
))