1 write to _builder
Microsoft.CodeAnalysis.CSharp (1)
Parser\Lexer.cs (1)
128_builder = _cache.StringBuilder;
34 references to _builder
Microsoft.CodeAnalysis.CSharp (34)
Parser\Lexer.cs (15)
852_builder.Append(ch); 874_builder.Clear(); 945_builder.Append(ch); 950else if (_builder.Length == 0) 960_builder.Append(ch); 965_builder.Append(ch); 974_builder.Append('0'); 1058var valueText = TextWindow.Intern(_builder); 2958_builder.Clear(); 2974_builder.Append(ch); 2977switch (_builder.ToString()) 2996errorArgs = new[] { _builder.ToString() }; 3044_builder.Append(highSurrogate); 3047_builder.Append(lowSurrogate); 3050info.StringValue = _builder.ToString();
Parser\Lexer_RawStringLiteral.cs (5)
59_builder.Length = 0; 238info.StringValue = this.HasErrors ? "" : TextWindow.Intern(_builder); 324_builder.Append(TextWindow.PeekChar()); 371_builder.Append(currentLineWhitespace, startIndex: indentationWhitespace.Length, count: Math.Max(0, currentLineWhitespace.Length - indentationWhitespace.Length)); 385_builder.Append(currentChar);
Parser\Lexer_StringLiteral.cs (14)
36_builder.Length = 0; 46_builder.Append(ch); 49_builder.Append(c2); 70_builder.Append(ch); 78if (_builder.Length != 1) 80this.AddError((_builder.Length != 0) ? ErrorCode.ERR_TooManyCharsInConst : ErrorCode.ERR_EmptyCharConst); 83if (_builder.Length > 0) 85info.StringValue = TextWindow.Intern(_builder); 107if (_builder.Length > 0) 109info.StringValue = TextWindow.Intern(_builder); 195_builder.Length = 0; 221_builder.Append(ch); 238_builder.Append(ch); 251info.StringValue = _builder.ToString();