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