1 write to IsProperty
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2491
IsProperty
= memberInfo is IPropertySymbol,
10 references to IsProperty
System.Text.Json.SourceGeneration (10)
JsonSourceGenerator.Emitter.cs (8)
877
{
IsProperty
: true } => $"typeof({property.DeclaringType.FullyQualifiedName}).GetProperty({FormatStringLiteral(property.MemberName)}, InstanceMemberBindingFlags, null, typeof({propertyTypeFQN}), {EmptyTypeArray}, null)",
884
IsProperty = {{FormatBoolLiteral(property.
IsProperty
)}},
998
string accessorName = property.
IsProperty
1066
if (property.
IsProperty
)
1135
if (property.
IsProperty
)
1160
else if (property.
IsProperty
)
1260
if (property.
IsProperty
)
1439
string accessorName = property.
IsProperty
Model\PropertyGenerationSpec.cs (2)
208
if (!
IsProperty
&& !HasJsonInclude && contextSpec.GeneratedOptionsSpec?.IncludeFields != true)
216
if (
IsProperty
)