1 write to _builder
Microsoft.CodeAnalysis.CSharp (1)
Parser\Lexer.cs (1)
119_builder = new StringBuilder();
34 references to _builder
Microsoft.CodeAnalysis.CSharp (34)
Parser\Lexer.cs (15)
848_builder.Append(ch); 870_builder.Clear(); 941_builder.Append(ch); 946else if (_builder.Length == 0) 956_builder.Append(ch); 961_builder.Append(ch); 970_builder.Append('0'); 1054var valueText = TextWindow.Intern(_builder); 2954_builder.Clear(); 2970_builder.Append(ch); 2973switch (_builder.ToString()) 2992errorArgs = new[] { _builder.ToString() }; 3040_builder.Append(highSurrogate); 3043_builder.Append(lowSurrogate); 3046info.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();