53 writes to StringValue
Microsoft.CodeAnalysis.CSharp (53)
Parser\Lexer.cs (44)
929info.StringValue = info.Text = TextWindow.GetText(intern: true); 1411info.Text = info.StringValue = TextWindow.Intern(characterWindow, startOffset, length); 1609info.StringValue = info.Text; 1613info.StringValue = TextWindow.Intern(_identBuffer, 0, _identLen); 1641info.StringValue = null; 1815info.StringValue = TextWindow.GetInternedText(); 1820info.StringValue = TextWindow.Intern(_identBuffer, 0, _identLen); 1829info.StringValue = null; 2896info.StringValue = info.Text = TextWindow.GetText(intern: false); 2950info.StringValue = null; 2976info.StringValue = "<"; 2979info.StringValue = ">"; 2982info.StringValue = "&"; 2985info.StringValue = "'"; 2988info.StringValue = "\""; 3046info.StringValue = _builder.ToString(); 3095info.StringValue = info.Text; 3123info.StringValue = info.Text = TextWindow.GetText(false); 3139info.StringValue = info.Text = TextWindow.GetText(false); 3145info.StringValue = info.Text = TextWindow.GetText(false); 3152info.StringValue = info.Text = TextWindow.GetText(false); 3161info.StringValue = info.Text = TextWindow.GetText(false); 3289info.StringValue = info.Text; 3301info.StringValue = info.Text = TextWindow.GetText(false); 3465info.StringValue = info.Text = TextWindow.GetText(false); 3474info.StringValue = info.Text = TextWindow.GetText(false); 3484info.StringValue = info.Text = TextWindow.GetText(false); 3493info.StringValue = info.Text = TextWindow.GetText(false); 3500info.StringValue = info.Text = TextWindow.GetText(false); 3566info.Text = info.StringValue = TextWindow.NextChar().ToString(); 3807info.StringValue = valueText; 3852info.StringValue = ""; // Can't be null for an identifier. 4067info.StringValue = info.Text = TextWindow.GetText(false); 4075info.StringValue = info.Text = TextWindow.GetText(false); 4084info.StringValue = info.Text = TextWindow.GetText(false); 4091info.StringValue = info.Text = TextWindow.GetText(false); 4197info.StringValue = info.Text = TextWindow.GetText(false); 4205info.StringValue = info.Text = TextWindow.GetText(false); 4214info.StringValue = info.Text = TextWindow.GetText(false); 4221info.StringValue = info.Text = TextWindow.GetText(false); 4321info.StringValue = info.Text = TextWindow.GetText(false); 4329info.StringValue = info.Text = TextWindow.GetText(false); 4338info.StringValue = info.Text = TextWindow.GetText(false); 4345info.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)
340Debug.Assert(info.Kind != SyntaxKind.IdentifierToken || info.StringValue != null); 348token = SyntaxFactory.Token(leadingNode, info.Kind, info.Text, info.StringValue, trailingNode); 355token = SyntaxFactory.Identifier(info.ContextualKind, leadingNode, info.Text, info.StringValue, trailingNode); 396token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.StringValue, trailingNode); 402token = SyntaxFactory.XmlTextNewLine(leadingNode, info.Text, info.StringValue, trailingNode); 405token = SyntaxFactory.XmlTextLiteral(leadingNode, info.Text, info.StringValue, trailingNode); 408token = SyntaxFactory.XmlEntity(leadingNode, info.Text, info.StringValue, trailingNode); 1816info.Text = info.StringValue; 3093if (info.StringValue == null) 3799Debug.Assert(info.StringValue == null, "Haven't tried to set it yet."); 3824if (!InXmlNameAttributeValue && !info.IsVerbatim && !info.HasIdentifierEscapeSequence && _cache.TryGetKeywordKind(info.StringValue!, out keywordKind)) 3835info.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];