1 write to PropertyType
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1976
PropertyType
= propertyTypeRef,
12 references to PropertyType
System.Text.Json.SourceGeneration (12)
JsonSourceGenerator.Emitter.cs (9)
754
!_typeIndex.ContainsKey(property.
PropertyType
);
756
string propertyTypeFQN = isIgnoredPropertyOfUnusedType ? "object" : property.
PropertyType
.FullyQualifiedName;
769
TypeRef? nullableUnderlyingType = _typeIndex[property.
PropertyType
].NullableUnderlyingType;
1015
string propertyTypeFQN = property.
PropertyType
.FullyQualifiedName;
1465
TypeGenerationSpec propertyTypeSpec = _typeIndex[propertyGenSpec.
PropertyType
];
1495
writer.WriteLine($"{propertyGenSpec.
PropertyType
.FullyQualifiedName} {localVariableName} = {rawValueExpr};");
1520
writer.WriteLine($"if (!{EqualityComparerTypeRef}<{propertyGenSpec.
PropertyType
.FullyQualifiedName}>.Default.Equals(default, {propValueExpr}))");
1775
JsonIgnoreCondition.WhenWritingNull => propertySpec.
PropertyType
.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.None,
1776
JsonIgnoreCondition.WhenWritingDefault => propertySpec.
PropertyType
.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.IgnoreWhenDefault,
JsonSourceGenerator.Parser.cs (2)
2333
ParameterType = property.
PropertyType
,
2337
IsNullable = property.
PropertyType
.CanBeNull && !property.IsSetterNonNullableAnnotation,
Model\TypeGenerationSpec.cs (1)
152
if (property.
PropertyType
.SpecialType is SpecialType.System_Object ||