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