1 write to IsProperty
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1380
IsProperty
= 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)",
675
IsProperty = {{FormatBoolLiteral(property.
IsProperty
)}},
789
string accessorName = property.
IsProperty
857
if (property.
IsProperty
)
926
if (property.
IsProperty
)
951
else if (property.
IsProperty
)
1051
if (property.
IsProperty
)
1230
string accessorName = property.
IsProperty
Model\PropertyGenerationSpec.cs (2)
208
if (!
IsProperty
&& !HasJsonInclude && contextSpec.GeneratedOptionsSpec?.IncludeFields != true)
216
if (
IsProperty
)