1 write to IsProperty
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1380IsProperty = memberInfo is IPropertySymbol,
10 references to IsProperty
System.Text.Json.SourceGeneration (10)
JsonSourceGenerator.Emitter.cs (8)
668{ IsProperty: true } => $"typeof({property.DeclaringType.FullyQualifiedName}).GetProperty({FormatStringLiteral(property.MemberName)}, {InstanceMemberBindingFlagsVariableName}, null, typeof({propertyTypeFQN}), {EmptyTypeArray}, null)", 675IsProperty = {{FormatBoolLiteral(property.IsProperty)}}, 789string accessorName = property.IsProperty 857if (property.IsProperty) 926if (property.IsProperty) 951else if (property.IsProperty) 1051if (property.IsProperty) 1230string accessorName = property.IsProperty
Model\PropertyGenerationSpec.cs (2)
208if (!IsProperty && !HasJsonInclude && contextSpec.GeneratedOptionsSpec?.IncludeFields != true) 216if (IsProperty)