53 writes to StringValue
Microsoft.CodeAnalysis.CSharp (53)
Parser\Lexer.cs (44)
933info.StringValue = info.Text = TextWindow.GetText(intern: true); 1415info.Text = info.StringValue = TextWindow.Intern(characterWindow, startOffset, length); 1613info.StringValue = info.Text; 1617info.StringValue = TextWindow.Intern(_identBuffer, 0, _identLen); 1645info.StringValue = null; 1819info.StringValue = TextWindow.GetInternedText(); 1824info.StringValue = TextWindow.Intern(_identBuffer, 0, _identLen); 1833info.StringValue = null; 2900info.StringValue = info.Text = TextWindow.GetText(intern: false); 2954info.StringValue = null; 2980info.StringValue = "<"; 2983info.StringValue = ">"; 2986info.StringValue = "&"; 2989info.StringValue = "'"; 2992info.StringValue = "\""; 3050info.StringValue = _builder.ToString(); 3099info.StringValue = info.Text; 3127info.StringValue = info.Text = TextWindow.GetText(false); 3143info.StringValue = info.Text = TextWindow.GetText(false); 3149info.StringValue = info.Text = TextWindow.GetText(false); 3156info.StringValue = info.Text = TextWindow.GetText(false); 3165info.StringValue = info.Text = TextWindow.GetText(false); 3293info.StringValue = info.Text; 3305info.StringValue = info.Text = TextWindow.GetText(false); 3469info.StringValue = info.Text = TextWindow.GetText(false); 3478info.StringValue = info.Text = TextWindow.GetText(false); 3488info.StringValue = info.Text = TextWindow.GetText(false); 3497info.StringValue = info.Text = TextWindow.GetText(false); 3504info.StringValue = info.Text = TextWindow.GetText(false); 3570info.Text = info.StringValue = TextWindow.NextChar().ToString(); 3811info.StringValue = valueText; 3856info.StringValue = ""; // Can't be null for an identifier. 4071info.StringValue = info.Text = TextWindow.GetText(false); 4079info.StringValue = info.Text = TextWindow.GetText(false); 4088info.StringValue = info.Text = TextWindow.GetText(false); 4095info.StringValue = info.Text = TextWindow.GetText(false); 4201info.StringValue = info.Text = TextWindow.GetText(false); 4209info.StringValue = info.Text = TextWindow.GetText(false); 4218info.StringValue = info.Text = TextWindow.GetText(false); 4225info.StringValue = info.Text = TextWindow.GetText(false); 4325info.StringValue = info.Text = TextWindow.GetText(false); 4333info.StringValue = info.Text = TextWindow.GetText(false); 4342info.StringValue = info.Text = TextWindow.GetText(false); 4349info.StringValue = info.Text = TextWindow.GetText(false);
Parser\Lexer_RawStringLiteral.cs (3)
93info.StringValue = TextWindow.GetText( 175info.StringValue = TextWindow.GetText( 238info.StringValue = this.HasErrors ? "" : TextWindow.Intern(_builder);
Parser\Lexer_StringLiteral.cs (6)
29info.StringValue = ""; 85info.StringValue = TextWindow.Intern(_builder); 90info.StringValue = string.Empty; 109info.StringValue = TextWindow.Intern(_builder); 113info.StringValue = string.Empty; 251info.StringValue = _builder.ToString();
14 references to StringValue
Microsoft.CodeAnalysis.CSharp (14)
Parser\Lexer.cs (12)
344Debug.Assert(info.Kind != SyntaxKind.IdentifierToken || info.StringValue != null); 352token = SyntaxFactory.Token(leadingNode, info.Kind, info.Text, info.StringValue, trailingNode); 359token = SyntaxFactory.Identifier(info.ContextualKind, leadingNode, info.Text, info.StringValue, trailingNode); 400token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.StringValue, trailingNode); 406token = SyntaxFactory.XmlTextNewLine(leadingNode, info.Text, info.StringValue, trailingNode); 409token = SyntaxFactory.XmlTextLiteral(leadingNode, info.Text, info.StringValue, trailingNode); 412token = SyntaxFactory.XmlEntity(leadingNode, info.Text, info.StringValue, trailingNode); 1820info.Text = info.StringValue; 3097if (info.StringValue == null) 3803Debug.Assert(info.StringValue == null, "Haven't tried to set it yet."); 3828if (!InXmlNameAttributeValue && !info.IsVerbatim && !info.HasIdentifierEscapeSequence && _cache.TryGetKeywordKind(info.StringValue!, out keywordKind)) 3839info.RequiresTextForXmlEntity = info.Text != info.StringValue;
Parser\Lexer_RawStringLiteral.cs (1)
101Debug.Assert(info.StringValue != null);
Parser\Lexer_StringLiteral.cs (1)
86info.CharValue = info.StringValue[0];