1 write to IsProperty
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2545IsProperty = memberInfo is IPropertySymbol,
12 references to IsProperty
System.Text.Json.SourceGeneration (12)
JsonSourceGenerator.Emitter.cs (10)
880{ IsProperty: true } => $"typeof({property.DeclaringType.FullyQualifiedName}).GetProperty({FormatStringLiteral(property.MemberName)}, InstanceMemberBindingFlags, null, typeof({propertyTypeFQN}), {EmptyTypeArray}, null)", 887IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 1008string accessorName = property.IsProperty 1016if (!property.IsProperty) 1082if (property.IsProperty) 1093if (!property.IsProperty) 1157if (property.IsProperty) 1182else if (property.IsProperty) 1282if (property.IsProperty) 1524string accessorName = property.IsProperty
Model\PropertyGenerationSpec.cs (2)
217if (!IsProperty && !HasJsonInclude && contextSpec.GeneratedOptionsSpec?.IncludeFields != true) 225if (IsProperty)