1 write to PropertyType
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1227PropertyType = propertyTypeRef,
11 references to PropertyType
System.Text.Json.SourceGeneration (11)
JsonSourceGenerator.Emitter.cs (8)
615string propertyTypeFQN = property.PropertyType.FullyQualifiedName; 648TypeRef? nullableUnderlyingType = _typeIndex[property.PropertyType].NullableUnderlyingType; 657? $"typeof({property.DeclaringType.FullyQualifiedName}).GetProperty({FormatStringLiteral(property.MemberName)}, {InstanceMemberBindingFlagsVariableName}, null, typeof({property.PropertyType.FullyQualifiedName}), {EmptyTypeArray}, null)" 812TypeGenerationSpec propertyTypeSpec = _typeIndex[propertyGenSpec.PropertyType]; 839writer.WriteLine($"{propertyGenSpec.PropertyType.FullyQualifiedName} {localVariableName} = {objectExpr}.{propertyGenSpec.NameSpecifiedInSourceCode};"); 864writer.WriteLine($"if (!{EqualityComparerTypeRef}<{propertyGenSpec.PropertyType.FullyQualifiedName}>.Default.Equals(default, {propValueExpr}))"); 1067JsonIgnoreCondition.WhenWritingNull => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.None, 1068JsonIgnoreCondition.WhenWritingDefault => propertySpec.PropertyType.CanBeNull ? SerializedValueCheckType.IgnoreWhenNull : SerializedValueCheckType.IgnoreWhenDefault,
JsonSourceGenerator.Parser.cs (2)
1551ParameterType = property.PropertyType, 1554IsNullable = property.PropertyType.CanBeNull && !property.IsSetterNonNullableAnnotation,
Model\TypeGenerationSpec.cs (1)
122if (property.PropertyType.SpecialType is SpecialType.System_Object ||