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