1 write to PropertyType
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2572
PropertyType
= propertyTypeRef,
13 references to PropertyType
System.Text.Json.SourceGeneration (13)
JsonSourceGenerator.Emitter.cs (10)
854
!_typeIndex.ContainsKey(property.
PropertyType
);
856
string propertyTypeFQN = isIgnoredPropertyOfUnusedType ? "object" : property.
PropertyType
.FullyQualifiedName;
869
TypeRef? nullableUnderlyingType = _typeIndex[property.
PropertyType
].NullableUnderlyingType;
1134
string propertyTypeFQN = property.
PropertyType
.FullyQualifiedName;
1280
string openPropertyTypeFQN = property.OpenPropertyTypeFQN ?? property.
PropertyType
.FullyQualifiedName;
1647
TypeGenerationSpec propertyTypeSpec = _typeIndex[propertyGenSpec.
PropertyType
];
1677
writer.WriteLine($"{propertyGenSpec.
PropertyType
.FullyQualifiedName} {localVariableName} = {rawValueExpr};");
1702
writer.WriteLine($"if (!{EqualityComparerTypeRef}<{propertyGenSpec.
PropertyType
.FullyQualifiedName}>.Default.Equals(default, {propValueExpr}))");
1968
JsonIgnoreCondition.WhenWritingNull => propertySpec.
PropertyType
.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.None,
1969
JsonIgnoreCondition.WhenWritingDefault => propertySpec.
PropertyType
.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.IgnoreWhenDefault,
JsonSourceGenerator.Parser.cs (2)
2933
ParameterType = property.
PropertyType
,
2937
IsNullable = property.
PropertyType
.CanBeNull && !property.IsSetterNonNullableAnnotation,
Model\TypeGenerationSpec.cs (1)
186
if (property.
PropertyType
.SpecialType is SpecialType.System_Object ||