1 write to IsNullable
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Union.cs (1)
434
CaseInfo = new JsonUnionCaseInfo(caseType) {
IsNullable
= isNullable };
7 references to IsNullable
System.Text.Json (7)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
356
if (caseInfo.
IsNullable
)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Union.cs (4)
90
/// <see cref="JsonUnionCaseInfo.
IsNullable
"/> flag is the OR across all matching
120
if (acceptsNull && !entry.CaseInfo.
IsNullable
)
169
if (entry.CaseInfo.
IsNullable
)
352
if (entry.CaseInfo.
IsNullable
)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1088
if (unionCase.
IsNullable
)
System\Text\Json\Serialization\Metadata\JsonUnionCaseInfo.cs (1)
34
/// the first union case whose <see cref="
IsNullable
"/> is <see langword="true"/>