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