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; 1046_trailingCommaBeforeComment = false; 1240_trailingCommaBeforeComment = false; 1714_trailingCommaBeforeComment = prevTrailingCommaBeforeComment; 1788_trailingCommaBeforeComment = true; 1925_trailingCommaBeforeComment = true;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (6)
36_trailingCommaBeforeComment = state._trailingCommaBeforeComment; 406_trailingCommaBeforeComment = false; 705_trailingCommaBeforeComment = false; 1546_trailingCommaBeforeComment = prevTrailingCommaBeforeComment; 1629_trailingCommaBeforeComment = true; 1775_trailingCommaBeforeComment = true;
15 references to _trailingCommaBeforeComment
System.Text.Json (15)
System\Text\Json\Reader\Utf8JsonReader.cs (9)
194trailingCommaBeforeComment: _trailingCommaBeforeComment, 758if (_trailingCommaBeforeComment) 792if (_trailingCommaBeforeComment) 1044Debug.Assert((_trailingCommaBeforeComment && _readerOptions.CommentHandling == JsonCommentHandling.Allow) || !_trailingCommaBeforeComment); 1045Debug.Assert((_trailingCommaBeforeComment && marker != JsonConstants.Slash) || !_trailingCommaBeforeComment); 1702bool prevTrailingCommaBeforeComment = _trailingCommaBeforeComment; 1889if (_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); 1532bool prevTrailingCommaBeforeComment = _trailingCommaBeforeComment; 1730if (_previousTokenType <= JsonTokenType.StartObject || _previousTokenType == JsonTokenType.StartArray || _trailingCommaBeforeComment)