2 writes to TypeName
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
246
TypeName
= field.Type
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\ManagedTypeSource_1.cs (1)
243
TypeName
= MapCorElementTypeToDescriptorName(elementType),
15 references to TypeName
Microsoft.Diagnostics.DataContractReader.Abstractions (15)
TargetFieldExtensions.cs (15)
76
field.
TypeName
is null or "" or "nuint",
77
$"Type mismatch reading field '{fieldName}': declared as '{field.
TypeName
}', expected nuint");
89
field.
TypeName
is null or "" or "nint",
90
$"Type mismatch reading field '{fieldName}': declared as '{field.
TypeName
}', expected nint");
102
field.
TypeName
is null or "" or "CodePointer",
103
$"Type mismatch reading field '{fieldName}': declared as '{field.
TypeName
}', expected CodePointer");
117
field.
TypeName
is null or "" || field.
TypeName
== typeof(T).Name,
118
$"Type mismatch reading field '{fieldName}': declared as '{field.
TypeName
}', reading as {typeof(T).Name}");
181
field.
TypeName
is null or "" or "nuint",
182
$"Type mismatch writing field '{fieldName}': declared as '{field.
TypeName
}', expected nuint");
208
TargetTypeHelpers.IsCompatiblePrimitiveType<T>(field.
TypeName
),
209
$"Type mismatch reading field '{fieldName}': declared as '{field.
TypeName
}', reading as {typeof(T).Name}");
216
TargetTypeHelpers.IsCompatiblePointerType(field.
TypeName
),
217
$"Type mismatch reading field '{fieldName}': declared as '{field.
TypeName
}', expected pointer");