1 write to PropertyType
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1412PropertyType = propertyTypeRef,
12 references to PropertyType
System.Text.Json.SourceGeneration (12)
JsonSourceGenerator.Emitter.cs (9)
642!_typeIndex.ContainsKey(property.PropertyType); 644string propertyTypeFQN = isIgnoredPropertyOfUnusedType ? "object" : property.PropertyType.FullyQualifiedName; 657TypeRef? nullableUnderlyingType = _typeIndex[property.PropertyType].NullableUnderlyingType; 903string propertyTypeFQN = property.PropertyType.FullyQualifiedName; 1353TypeGenerationSpec propertyTypeSpec = _typeIndex[propertyGenSpec.PropertyType]; 1383writer.WriteLine($"{propertyGenSpec.PropertyType.FullyQualifiedName} {localVariableName} = {rawValueExpr};"); 1408writer.WriteLine($"if (!{EqualityComparerTypeRef}<{propertyGenSpec.PropertyType.FullyQualifiedName}>.Default.Equals(default, {propValueExpr}))"); 1665JsonIgnoreCondition.WhenWritingNull => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.None, 1666JsonIgnoreCondition.WhenWritingDefault => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.IgnoreWhenDefault,
JsonSourceGenerator.Parser.cs (2)
1769ParameterType = property.PropertyType, 1773IsNullable = property.PropertyType.CanBeNull && !property.IsSetterNonNullableAnnotation,
Model\TypeGenerationSpec.cs (1)
135if (property.PropertyType.SpecialType is SpecialType.System_Object ||