53 writes to StringValue
Microsoft.CodeAnalysis.CSharp (53)
Parser\Lexer.cs (44)
913
info.
StringValue
= info.Text = this.GetInternedLexemeText();
1391
info.Text = info.
StringValue
= TextWindow.Intern(textWindowCharSpan[..length]);
1589
info.
StringValue
= info.Text;
1593
info.
StringValue
= TextWindow.Intern(_identBuffer, 0, _identLen);
1621
info.
StringValue
= null;
1795
info.
StringValue
= this.GetInternedLexemeText();
1800
info.
StringValue
= TextWindow.Intern(_identBuffer, 0, _identLen);
1809
info.
StringValue
= null;
2895
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
2949
info.
StringValue
= null;
2975
info.
StringValue
= "<";
2978
info.
StringValue
= ">";
2981
info.
StringValue
= "&";
2984
info.
StringValue
= "'";
2987
info.
StringValue
= "\"";
3045
info.
StringValue
= _builder.ToString();
3094
info.
StringValue
= info.Text;
3122
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3138
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3144
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3151
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3160
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3288
info.
StringValue
= info.Text;
3300
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3464
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3473
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3483
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3492
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3499
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3565
info.Text = info.
StringValue
= TextWindow.NextChar().ToString();
3806
info.
StringValue
= valueText;
3851
info.
StringValue
= ""; // Can't be null for an identifier.
4066
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4074
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4083
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4090
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4196
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4204
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4213
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4220
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4320
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4328
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4337
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4344
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)
329
Debug.Assert(info.Kind != SyntaxKind.IdentifierToken || info.
StringValue
!= null);
337
token = SyntaxFactory.Token(leadingNode, info.Kind, info.Text, info.
StringValue
, trailingNode);
344
token = SyntaxFactory.Identifier(info.ContextualKind, leadingNode, info.Text, info.
StringValue
, trailingNode);
385
token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.
StringValue
, trailingNode);
391
token = SyntaxFactory.XmlTextNewLine(leadingNode, info.Text, info.
StringValue
, trailingNode);
394
token = SyntaxFactory.XmlTextLiteral(leadingNode, info.Text, info.
StringValue
, trailingNode);
397
token = SyntaxFactory.XmlEntity(leadingNode, info.Text, info.
StringValue
, trailingNode);
1796
info.Text = info.
StringValue
;
3092
if (info.
StringValue
== null)
3798
Debug.Assert(info.
StringValue
== null, "Haven't tried to set it yet.");
3823
if (!InXmlNameAttributeValue && !info.IsVerbatim && !info.HasIdentifierEscapeSequence && _cache.TryGetKeywordKind(info.
StringValue
!, out keywordKind))
3834
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];