14 writes to _trailingCommaBeforeComment
System.Text.Json (14)
System\Text\Json\Reader\Utf8JsonReader.cs (8)
225_trailingCommaBeforeComment = state._trailingCommaBeforeComment; 764_trailingCommaBeforeComment = false; 798_trailingCommaBeforeComment = false; 1071_trailingCommaBeforeComment = false; 1265_trailingCommaBeforeComment = false; 1739_trailingCommaBeforeComment = prevTrailingCommaBeforeComment; 1813_trailingCommaBeforeComment = true; 1950_trailingCommaBeforeComment = true;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
36_trailingCommaBeforeComment = state._trailingCommaBeforeComment; 406_trailingCommaBeforeComment = false; 712_trailingCommaBeforeComment = false; 1553_trailingCommaBeforeComment = prevTrailingCommaBeforeComment; 1636_trailingCommaBeforeComment = true; 1782_trailingCommaBeforeComment = true;
15 references to _trailingCommaBeforeComment
System.Text.Json (15)
System\Text\Json\Reader\Utf8JsonReader.cs (9)
194trailingCommaBeforeComment: _trailingCommaBeforeComment, 758if (_trailingCommaBeforeComment) 792if (_trailingCommaBeforeComment) 1069Debug.Assert((_trailingCommaBeforeComment && _readerOptions.CommentHandling == JsonCommentHandling.Allow) || !_trailingCommaBeforeComment); 1070Debug.Assert((_trailingCommaBeforeComment && marker != JsonConstants.Slash) || !_trailingCommaBeforeComment); 1727bool prevTrailingCommaBeforeComment = _trailingCommaBeforeComment; 1914if (_previousTokenType <= JsonTokenType.StartObject || _previousTokenType == JsonTokenType.StartArray || _trailingCommaBeforeComment)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
404Debug.Assert((_trailingCommaBeforeComment && _readerOptions.CommentHandling == JsonCommentHandling.Allow) || !_trailingCommaBeforeComment); 405Debug.Assert((_trailingCommaBeforeComment && marker != JsonConstants.Slash) || !_trailingCommaBeforeComment); 1539bool prevTrailingCommaBeforeComment = _trailingCommaBeforeComment; 1737if (_previousTokenType <= JsonTokenType.StartObject || _previousTokenType == JsonTokenType.StartArray || _trailingCommaBeforeComment)