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)
847_builder.Append(ch); 869_builder.Clear(); 940_builder.Append(ch); 945else if (_builder.Length == 0) 955_builder.Append(ch); 960_builder.Append(ch); 969_builder.Append('0'); 1053var valueText = TextWindow.Intern(_builder); 2976_builder.Clear(); 2992_builder.Append(ch); 2995switch (_builder.ToString()) 3014errorArgs = new[] { _builder.ToString() }; 3062_builder.Append(highSurrogate); 3065_builder.Append(lowSurrogate); 3068info.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();