1 write to PropertyType
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2582PropertyType = propertyTypeRef,
12 references to PropertyType
System.Text.Json.SourceGeneration (12)
JsonSourceGenerator.Emitter.cs (9)
863!_typeIndex.ContainsKey(property.PropertyType); 865string propertyTypeFQN = isIgnoredPropertyOfUnusedType ? "object" : property.PropertyType.FullyQualifiedName; 878TypeRef? nullableUnderlyingType = _typeIndex[property.PropertyType].NullableUnderlyingType; 1124string propertyTypeFQN = property.PropertyType.FullyQualifiedName; 1574TypeGenerationSpec propertyTypeSpec = _typeIndex[propertyGenSpec.PropertyType]; 1604writer.WriteLine($"{propertyGenSpec.PropertyType.FullyQualifiedName} {localVariableName} = {rawValueExpr};"); 1629writer.WriteLine($"if (!{EqualityComparerTypeRef}<{propertyGenSpec.PropertyType.FullyQualifiedName}>.Default.Equals(default, {propValueExpr}))"); 1895JsonIgnoreCondition.WhenWritingNull => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.None, 1896JsonIgnoreCondition.WhenWritingDefault => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.IgnoreWhenDefault,
JsonSourceGenerator.Parser.cs (2)
2940ParameterType = property.PropertyType, 2944IsNullable = property.PropertyType.CanBeNull && !property.IsSetterNonNullableAnnotation,
Model\TypeGenerationSpec.cs (1)
167if (property.PropertyType.SpecialType is SpecialType.System_Object ||