53 writes to StringValue
Microsoft.CodeAnalysis.CSharp (53)
Parser\Lexer.cs (44)
928
info.
StringValue
= info.Text = this.GetInternedLexemeText();
1410
info.Text = info.
StringValue
= TextWindow.Intern(characterWindow, startOffset, length);
1608
info.
StringValue
= info.Text;
1612
info.
StringValue
= TextWindow.Intern(_identBuffer, 0, _identLen);
1640
info.
StringValue
= null;
1814
info.
StringValue
= this.GetInternedLexemeText();
1819
info.
StringValue
= TextWindow.Intern(_identBuffer, 0, _identLen);
1828
info.
StringValue
= null;
2916
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
2970
info.
StringValue
= null;
2996
info.
StringValue
= "<";
2999
info.
StringValue
= ">";
3002
info.
StringValue
= "&";
3005
info.
StringValue
= "'";
3008
info.
StringValue
= "\"";
3066
info.
StringValue
= _builder.ToString();
3115
info.
StringValue
= info.Text;
3143
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3159
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3165
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3172
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3181
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3309
info.
StringValue
= info.Text;
3321
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3485
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3494
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3504
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3513
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3520
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
3586
info.Text = info.
StringValue
= TextWindow.NextChar().ToString();
3827
info.
StringValue
= valueText;
3872
info.
StringValue
= ""; // Can't be null for an identifier.
4087
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4095
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4104
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4111
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4217
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4225
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4234
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4241
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4341
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4349
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4358
info.
StringValue
= info.Text = this.GetNonInternedLexemeText();
4365
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);
1815
info.Text = info.
StringValue
;
3113
if (info.
StringValue
== null)
3819
Debug.Assert(info.
StringValue
== null, "Haven't tried to set it yet.");
3844
if (!InXmlNameAttributeValue && !info.IsVerbatim && !info.HasIdentifierEscapeSequence && _cache.TryGetKeywordKind(info.
StringValue
!, out keywordKind))
3855
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];