2 writes to _typeInfo
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\CallingConvention\CdacTypeHandle.cs (2)
30
_typeInfo
= typeHandle is null
39
_typeInfo
= typeInfo;
11 references to _typeInfo
Microsoft.Diagnostics.DataContractReader.Contracts (11)
Contracts\CallingConvention\CdacTypeHandle.cs (11)
45
private CdacITypeHandle? ExactTypeHandle =>
_typeInfo
.ExactTypeHandle;
50
public bool IsNull() => ExactTypeHandle is null &&
_typeInfo
.ElementType == default;
53
=>
_typeInfo
.ElementType == CdacCorElementType.ValueType
57
=>
_typeInfo
.ElementType == CdacCorElementType.Ptr
61
=>
_typeInfo
.ElementType == CdacCorElementType.ValueType
66
if (
_typeInfo
.ElementType is CdacCorElementType.Ptr
81
$"Exact runtime layout is unavailable for {
_typeInfo
.ElementType}.");
94
if (
_typeInfo
.ElementType == default)
104
if (
_typeInfo
.ElementType != CdacCorElementType.ValueType || ExactTypeHandle is null)
106
return MapCorElementType(
_typeInfo
.ElementType);
239
_typeInfo
);