1 write to _trueOrFalse
System.Text.Json (1)
System\Text\Json\Schema\JsonSchema.cs (1)
33
private JsonSchema(bool trueOrFalse) {
_trueOrFalse
= trueOrFalse; }
8 references to _trueOrFalse
System.Text.Json (8)
System\Text\Json\Schema\JsonSchema.cs (8)
35
public bool IsTrue =>
_trueOrFalse
is true;
36
public bool IsFalse =>
_trueOrFalse
is false;
104
if (
_trueOrFalse
!= null)
139
if (
_trueOrFalse
!= null)
153
if (
_trueOrFalse
is { } boolSchema)
279
switch (schema.
_trueOrFalse
)
304
Debug.Assert(
_trueOrFalse
is null, "Schema is not mutable");
305
if (
_trueOrFalse
is not null)