9 writes to _optionsMask
System.Text.Json (9)
System\Text\Json\Writer\JsonWriterOptions.cs (9)
42
_optionsMask
|= IndentBit;
44
_optionsMask
&= ~IndentBit;
60
_optionsMask
|= IndentCharacterBit;
62
_optionsMask
&= ~IndentCharacterBit;
77
_optionsMask
= (_optionsMask & ~IndentSizeMask) | (EncodeIndentSize(value) << OptionsBitCount);
134
_optionsMask
|= SkipValidationBit;
136
_optionsMask
&= ~SkipValidationBit;
157
_optionsMask
|= NewLineBit;
159
_optionsMask
&= ~NewLineBit;
7 references to _optionsMask
System.Text.Json (7)
System\Text\Json\Writer\JsonWriterOptions.cs (7)
37
return (
_optionsMask
& IndentBit) != 0;
55
readonly get => (
_optionsMask
& IndentCharacterBit) != 0 ? JsonConstants.TabIndentCharacter : JsonConstants.DefaultIndentCharacter;
73
readonly get => EncodeIndentSize((
_optionsMask
& IndentSizeMask) >> OptionsBitCount);
77
_optionsMask = (
_optionsMask
& ~IndentSizeMask) | (EncodeIndentSize(value) << OptionsBitCount);
129
return (
_optionsMask
& SkipValidationBit) != 0;
152
get => (
_optionsMask
& NewLineBit) != 0 ? s_alternateNewLine : Environment.NewLine;
163
internal bool IndentedOrNotSkipValidation => (
_optionsMask
& (IndentBit | SkipValidationBit)) != SkipValidationBit; // Equivalent to: Indented || !SkipValidation;