53 writes to StringValue
Microsoft.CodeAnalysis.CSharp (53)
Parser\Lexer.cs (44)
933
info.
StringValue
= info.Text = TextWindow.GetText(intern: true);
1415
info.Text = info.
StringValue
= TextWindow.Intern(characterWindow, startOffset, length);
1613
info.
StringValue
= info.Text;
1617
info.
StringValue
= TextWindow.Intern(_identBuffer, 0, _identLen);
1645
info.
StringValue
= null;
1819
info.
StringValue
= TextWindow.GetInternedText();
1824
info.
StringValue
= TextWindow.Intern(_identBuffer, 0, _identLen);
1833
info.
StringValue
= null;
2900
info.
StringValue
= info.Text = TextWindow.GetText(intern: false);
2954
info.
StringValue
= null;
2980
info.
StringValue
= "<";
2983
info.
StringValue
= ">";
2986
info.
StringValue
= "&";
2989
info.
StringValue
= "'";
2992
info.
StringValue
= "\"";
3050
info.
StringValue
= _builder.ToString();
3099
info.
StringValue
= info.Text;
3127
info.
StringValue
= info.Text = TextWindow.GetText(false);
3143
info.
StringValue
= info.Text = TextWindow.GetText(false);
3149
info.
StringValue
= info.Text = TextWindow.GetText(false);
3156
info.
StringValue
= info.Text = TextWindow.GetText(false);
3165
info.
StringValue
= info.Text = TextWindow.GetText(false);
3293
info.
StringValue
= info.Text;
3305
info.
StringValue
= info.Text = TextWindow.GetText(false);
3469
info.
StringValue
= info.Text = TextWindow.GetText(false);
3478
info.
StringValue
= info.Text = TextWindow.GetText(false);
3488
info.
StringValue
= info.Text = TextWindow.GetText(false);
3497
info.
StringValue
= info.Text = TextWindow.GetText(false);
3504
info.
StringValue
= info.Text = TextWindow.GetText(false);
3570
info.Text = info.
StringValue
= TextWindow.NextChar().ToString();
3811
info.
StringValue
= valueText;
3856
info.
StringValue
= ""; // Can't be null for an identifier.
4071
info.
StringValue
= info.Text = TextWindow.GetText(false);
4079
info.
StringValue
= info.Text = TextWindow.GetText(false);
4088
info.
StringValue
= info.Text = TextWindow.GetText(false);
4095
info.
StringValue
= info.Text = TextWindow.GetText(false);
4201
info.
StringValue
= info.Text = TextWindow.GetText(false);
4209
info.
StringValue
= info.Text = TextWindow.GetText(false);
4218
info.
StringValue
= info.Text = TextWindow.GetText(false);
4225
info.
StringValue
= info.Text = TextWindow.GetText(false);
4325
info.
StringValue
= info.Text = TextWindow.GetText(false);
4333
info.
StringValue
= info.Text = TextWindow.GetText(false);
4342
info.
StringValue
= info.Text = TextWindow.GetText(false);
4349
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)
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);
1820
info.Text = info.
StringValue
;
3097
if (info.
StringValue
== null)
3803
Debug.Assert(info.
StringValue
== null, "Haven't tried to set it yet.");
3828
if (!InXmlNameAttributeValue && !info.IsVerbatim && !info.HasIdentifierEscapeSequence && _cache.TryGetKeywordKind(info.
StringValue
!, out keywordKind))
3839
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];