53 writes to StringValue
Microsoft.CodeAnalysis.CSharp (53)
Parser\Lexer.cs (44)
928
info.
StringValue
= info.Text = this.GetInternedLexemeText();
1406
info.Text = info.
StringValue
= TextWindow.Intern(textWindowCharSpan[..length]);
1604
info.
StringValue
= info.Text;
1608
info.
StringValue
= TextWindow.Intern(_identBuffer, 0, _identLen);
1636
info.
StringValue
= null;
1810
info.
StringValue
= this.GetInternedLexemeText();
1815
info.
StringValue
= TextWindow.Intern(_identBuffer, 0, _identLen);
1824
info.
StringValue
= null;
2910
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
2964
info.
StringValue
= null;
2990
info.
StringValue
= "<";
2993
info.
StringValue
= ">";
2996
info.
StringValue
= "&";
2999
info.
StringValue
= "'";
3002
info.
StringValue
= "\"";
3060
info.
StringValue
= _builder.ToString();
3109
info.
StringValue
= info.Text;
3137
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3153
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3159
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3166
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3175
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3303
info.
StringValue
= info.Text;
3315
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3479
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3488
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3498
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3507
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3514
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3580
info.Text = info.
StringValue
= TextWindow.NextChar().ToString();
3821
info.
StringValue
= valueText;
3866
info.
StringValue
= ""; // Can't be null for an identifier.
4081
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4089
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4098
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4105
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4211
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4219
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4228
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4235
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4335
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4343
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4352
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4359
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
Parser\Lexer_RawStringLiteral.cs (3)
93
info.
StringValue
= TextWindow.GetText(
175
info.
StringValue
= TextWindow.GetText(
238
info.
StringValue
= this.HasErrors ? "" : TextWindow.Intern(_builder);
Parser\Lexer_StringLiteral.cs (6)
29
info.
StringValue
= "";
85
info.
StringValue
= TextWindow.Intern(_builder);
90
info.
StringValue
= string.Empty;
109
info.
StringValue
= TextWindow.Intern(_builder);
113
info.
StringValue
= string.Empty;
251
info.
StringValue
= _builder.ToString();
14 references to StringValue
Microsoft.CodeAnalysis.CSharp (14)
Parser\Lexer.cs (12)
344
Debug.Assert(info.Kind != SyntaxKind.IdentifierToken || info.
StringValue
!= null);
352
token = SyntaxFactory.Token(leadingNode, info.Kind, info.Text, info.
StringValue
, trailingNode);
359
token = SyntaxFactory.Identifier(info.ContextualKind, leadingNode, info.Text, info.
StringValue
, trailingNode);
400
token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.
StringValue
, trailingNode);
406
token = SyntaxFactory.XmlTextNewLine(leadingNode, info.Text, info.
StringValue
, trailingNode);
409
token = SyntaxFactory.XmlTextLiteral(leadingNode, info.Text, info.
StringValue
, trailingNode);
412
token = SyntaxFactory.XmlEntity(leadingNode, info.Text, info.
StringValue
, trailingNode);
1811
info.Text = info.
StringValue
;
3107
if (info.
StringValue
== null)
3813
Debug.Assert(info.
StringValue
== null, "Haven't tried to set it yet.");
3838
if (!InXmlNameAttributeValue && !info.IsVerbatim && !info.HasIdentifierEscapeSequence && _cache.TryGetKeywordKind(info.
StringValue
!, out keywordKind))
3849
info.RequiresTextForXmlEntity = info.Text != info.
StringValue
;
Parser\Lexer_RawStringLiteral.cs (1)
101
Debug.Assert(info.
StringValue
!= null);
Parser\Lexer_StringLiteral.cs (1)
86
info.CharValue = info.
StringValue
[0];