1 write to _trueOrFalse
System.Text.Json (1)
System\Text\Json\Schema\JsonSchema.cs (1)
35
private JsonSchema(bool trueOrFalse) {
_trueOrFalse
= trueOrFalse; }
8 references to _trueOrFalse
System.Text.Json (8)
System\Text\Json\Schema\JsonSchema.cs (8)
37
public bool IsTrue =>
_trueOrFalse
is true;
38
public bool IsFalse =>
_trueOrFalse
is false;
93
if (
_trueOrFalse
is not null)
130
if (
_trueOrFalse
is not null)
144
if (
_trueOrFalse
is { } boolSchema)
280
switch (schema.
_trueOrFalse
)
305
Debug.Assert(
_trueOrFalse
is null, "Schema is not mutable");
306
if (
_trueOrFalse
is not null)