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