1 write to PropertyType
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1252PropertyType = propertyTypeRef,
11 references to PropertyType
System.Text.Json.SourceGeneration (11)
JsonSourceGenerator.Emitter.cs (8)
623!_typeIndex.ContainsKey(property.PropertyType); 625string propertyTypeFQN = isIgnoredPropertyOfUnusedType ? "object" : property.PropertyType.FullyQualifiedName; 658TypeRef? nullableUnderlyingType = _typeIndex[property.PropertyType].NullableUnderlyingType; 825TypeGenerationSpec propertyTypeSpec = _typeIndex[propertyGenSpec.PropertyType]; 852writer.WriteLine($"{propertyGenSpec.PropertyType.FullyQualifiedName} {localVariableName} = {objectExpr}.{propertyGenSpec.NameSpecifiedInSourceCode};"); 877writer.WriteLine($"if (!{EqualityComparerTypeRef}<{propertyGenSpec.PropertyType.FullyQualifiedName}>.Default.Equals(default, {propValueExpr}))"); 1080JsonIgnoreCondition.WhenWritingNull => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.None, 1081JsonIgnoreCondition.WhenWritingDefault => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.IgnoreWhenDefault,
JsonSourceGenerator.Parser.cs (2)
1576ParameterType = property.PropertyType, 1579IsNullable = property.PropertyType.CanBeNull && !property.IsSetterNonNullableAnnotation,
Model\TypeGenerationSpec.cs (1)
122if (property.PropertyType.SpecialType is SpecialType.System_Object ||