52 writes to Text
Microsoft.CodeAnalysis.CSharp (52)
Parser\Lexer.cs (47)
445
info.
Text
= null;
639
info.
Text
= this.GetNonInternedLexemeText();
644
info.
Text
= this.GetInternedLexemeText();
730
info.
Text
= this.GetInternedLexemeText();
735
info.
Text
= TextWindow.Text.ToString(TextSpan.FromBounds(startingPosition, end));
867
info.
Text
= null;
928
info.StringValue = info.
Text
= this.GetInternedLexemeText();
1051
info.
Text
= this.GetInternedLexemeText();
1410
info.
Text
= info.StringValue = TextWindow.Intern(characterWindow, startOffset, length);
1603
info.
Text
= GetInternedLexemeText();
1639
info.
Text
= null;
1815
info.
Text
= info.StringValue;
1820
info.
Text
= this.GetNonInternedLexemeText();
1827
info.
Text
= null;
2679
info.
Text
= this.GetInternedLexemeText();
2727
info.
Text
= this.GetInternedLexemeText();
2916
info.StringValue = info.
Text
= this.GetNonInternedLexemeText();
3112
info.
Text
= this.GetInternedLexemeText();
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();
3321
info.StringValue = info.
Text
= this.GetNonInternedLexemeText();
3357
info.
Text
= TextWindow.GetText(start, TextWindow.Position - start, intern: true);
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();
3658
info.
Text
= this.GetNonInternedLexemeText();
3826
info.
Text
= actualText;
3871
info.
Text
= this.GetInternedLexemeText();
3891
info.
Text
= this.GetNonInternedLexemeText();
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 (1)
123
info.
Text
= this.GetInternedLexemeText();
Parser\Lexer_StringLiteral.cs (4)
76
info.
Text
= this.GetInternedLexemeText();
105
info.
Text
= this.GetInternedLexemeText();
250
info.
Text
= this.GetNonInternedLexemeText();
293
info.
Text
= this.GetNonInternedLexemeText();
43 references to Text
Microsoft.CodeAnalysis.CSharp (43)
Parser\Lexer.cs (43)
352
token = SyntaxFactory.Token(leadingNode, info.Kind, info.
Text
, info.StringValue, trailingNode);
359
token = SyntaxFactory.Identifier(info.ContextualKind, leadingNode, info.
Text
, info.StringValue, trailingNode);
365
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.IntValue, trailingNode);
368
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.UintValue, trailingNode);
371
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.LongValue, trailingNode);
374
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.UlongValue, trailingNode);
377
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.FloatValue, trailingNode);
380
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.DoubleValue, trailingNode);
383
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.DecimalValue, trailingNode);
392
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.Kind, info.
Text
, trailingNode);
400
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.Kind, info.StringValue, trailingNode);
403
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.CharValue, 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);
419
token = SyntaxFactory.Token(leadingNode, info.Kind, info.
Text
, trailingNode);
422
token = SyntaxFactory.BadToken(leadingNode, info.
Text
, trailingNode);
745
var messageText = isEscaped ? info.
Text
: ObjectDisplay.FormatLiteral(info.
Text
, ObjectDisplayOptions.EscapeNonPrintableCharacters);
1052
Debug.Assert(info.
Text
!= null);
1608
info.StringValue = info.
Text
;
1619
Debug.Assert(string.Equals(info.
Text
.Substring(0, objectAddressOffset + 1), "@0x", StringComparison.OrdinalIgnoreCase));
1840
RoslynDebug.AssertNotNull(info.
Text
);
1847
SyntaxKind keywordKind = SyntaxFacts.GetPreprocessorKeywordKind(info.
Text
);
1861
if (!_cache.TryGetKeywordKind(info.
Text
, out info.Kind))
2681
info.IntValue = this.GetValueInt32(info.
Text
, false);
2733
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
2909
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
3115
info.StringValue = info.
Text
;
3216
RoslynDebug.AssertNotNull(tagInfo.
Text
);
3217
SyntaxToken? token = DocumentationCommentXmlTokens.LookupToken(tagInfo.
Text
, leading);
3309
info.StringValue = info.
Text
;
3327
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
3471
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
3659
this.AddError(XmlParseErrorCode.XML_LessThanInAttributeValue, info.
Text
); //ErrorCode.WRN_XMLParseError
3818
Debug.Assert(info.
Text
== null, "Haven't tried to set it yet.");
3837
if (this.ScanIdentifier(ref info) && info.
Text
!.Length > 0)
3855
info.RequiresTextForXmlEntity = info.
Text
!= info.StringValue;
3884
RoslynDebug.AssertNotNull(info.
Text
);
3886
this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.
Text
);
3897
this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.
Text
);
3907
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);