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; 1080_trailingCommaBeforeComment = false; 1274_trailingCommaBeforeComment = false; 1747_trailingCommaBeforeComment = prevTrailingCommaBeforeComment; 1821_trailingCommaBeforeComment = true; 1958_trailingCommaBeforeComment = true;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
36_trailingCommaBeforeComment = state._trailingCommaBeforeComment; 406_trailingCommaBeforeComment = false; 712_trailingCommaBeforeComment = false; 1551_trailingCommaBeforeComment = prevTrailingCommaBeforeComment; 1634_trailingCommaBeforeComment = true; 1780_trailingCommaBeforeComment = true;
15 references to _trailingCommaBeforeComment
System.Text.Json (15)
System\Text\Json\Reader\Utf8JsonReader.cs (9)
194trailingCommaBeforeComment: _trailingCommaBeforeComment, 758if (_trailingCommaBeforeComment) 792if (_trailingCommaBeforeComment) 1078Debug.Assert((_trailingCommaBeforeComment && _readerOptions.CommentHandling == JsonCommentHandling.Allow) || !_trailingCommaBeforeComment); 1079Debug.Assert((_trailingCommaBeforeComment && marker != JsonConstants.Slash) || !_trailingCommaBeforeComment); 1735bool prevTrailingCommaBeforeComment = _trailingCommaBeforeComment; 1922if (_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); 1537bool prevTrailingCommaBeforeComment = _trailingCommaBeforeComment; 1735if (_previousTokenType <= JsonTokenType.StartObject || _previousTokenType == JsonTokenType.StartArray || _trailingCommaBeforeComment)