1 write to IsProperty
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2553IsProperty = memberInfo is IPropertySymbol,
10 references to IsProperty
System.Text.Json.SourceGeneration (10)
JsonSourceGenerator.Emitter.cs (8)
889{ IsProperty: true } => $"typeof({property.DeclaringType.FullyQualifiedName}).GetProperty({FormatStringLiteral(property.MemberName)}, InstanceMemberBindingFlags, null, typeof({propertyTypeFQN}), {EmptyTypeArray}, null)", 896IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 1010string accessorName = property.IsProperty 1078if (property.IsProperty) 1147if (property.IsProperty) 1172else if (property.IsProperty) 1272if (property.IsProperty) 1451string accessorName = property.IsProperty
Model\PropertyGenerationSpec.cs (2)
208if (!IsProperty && !HasJsonInclude && contextSpec.GeneratedOptionsSpec?.IncludeFields != true) 216if (IsProperty)