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