1 write to _builder
Microsoft.CodeAnalysis.CSharp (1)
Parser\Lexer.cs (1)
115_builder = new StringBuilder();
34 references to _builder
Microsoft.CodeAnalysis.CSharp (34)
Parser\Lexer.cs (15)
1042_builder.Append(ch); 1064_builder.Clear(); 1135_builder.Append(ch); 1140else if (_builder.Length == 0) 1150_builder.Append(ch); 1155_builder.Append(ch); 1164_builder.Append('0'); 1247var valueText = TextWindow.Intern(_builder); 3296_builder.Clear(); 3312_builder.Append(ch); 3315switch (_builder.ToString()) 3334errorArgs = new[] { _builder.ToString() }; 3382_builder.Append(highSurrogate); 3385_builder.Append(lowSurrogate); 3388info.StringValue = _builder.ToString();
Parser\Lexer_RawStringLiteral.cs (5)
59_builder.Length = 0; 238info.StringValue = this.HasErrors ? "" : TextWindow.Intern(_builder); 324_builder.Append(TextWindow.PeekChar()); 374_builder.Append(currentLineWhitespace[i]); 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); 188_builder.Length = 0; 214_builder.Append(ch); 231_builder.Append(ch); 244info.StringValue = _builder.ToString();