1 write to IsProperty
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1944IsProperty = memberInfo is IPropertySymbol,
10 references to IsProperty
System.Text.Json.SourceGeneration (10)
JsonSourceGenerator.Emitter.cs (8)
780{ IsProperty: true } => $"typeof({property.DeclaringType.FullyQualifiedName}).GetProperty({FormatStringLiteral(property.MemberName)}, InstanceMemberBindingFlags, null, typeof({propertyTypeFQN}), {EmptyTypeArray}, null)", 787IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 901string accessorName = property.IsProperty 969if (property.IsProperty) 1038if (property.IsProperty) 1063else if (property.IsProperty) 1163if (property.IsProperty) 1342string accessorName = property.IsProperty
Model\PropertyGenerationSpec.cs (2)
208if (!IsProperty && !HasJsonInclude && contextSpec.GeneratedOptionsSpec?.IncludeFields != true) 216if (IsProperty)