52 writes to Text
Microsoft.CodeAnalysis.CSharp (52)
Parser\Lexer.cs (47)
441
info.
Text
= null;
640
info.
Text
= TextWindow.GetText(false);
645
info.
Text
= TextWindow.GetText(intern: true);
731
info.
Text
= TextWindow.GetText(intern: true);
736
info.
Text
= TextWindow.Text.ToString(TextSpan.FromBounds(startingPosition, end));
868
info.
Text
= null;
929
info.StringValue = info.
Text
= TextWindow.GetText(intern: true);
1052
info.
Text
= TextWindow.GetText(true);
1411
info.
Text
= info.StringValue = TextWindow.Intern(characterWindow, startOffset, length);
1604
info.
Text
= TextWindow.GetInternedText();
1640
info.
Text
= null;
1816
info.
Text
= info.StringValue;
1821
info.
Text
= TextWindow.GetText(intern: false);
1828
info.
Text
= null;
2659
info.
Text
= TextWindow.GetText(true);
2707
info.
Text
= TextWindow.GetText(true);
2896
info.StringValue = info.
Text
= TextWindow.GetText(intern: false);
3092
info.
Text
= TextWindow.GetText(true);
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);
3301
info.StringValue = info.
Text
= TextWindow.GetText(false);
3337
info.
Text
= TextWindow.GetText(start, TextWindow.Position - start, intern: true);
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();
3638
info.
Text
= TextWindow.GetText(intern: false);
3806
info.
Text
= actualText;
3851
info.
Text
= TextWindow.GetText(intern: true);
3871
info.
Text
= TextWindow.GetText(intern: false);
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 (1)
123
info.
Text
= TextWindow.GetText(intern: true);
Parser\Lexer_StringLiteral.cs (4)
76
info.
Text
= TextWindow.GetText(intern: true);
105
info.
Text
= TextWindow.GetText(intern: true);
250
info.
Text
= TextWindow.GetText(intern: false);
293
info.
Text
= TextWindow.GetText(intern: false);
43 references to Text
Microsoft.CodeAnalysis.CSharp (43)
Parser\Lexer.cs (43)
348
token = SyntaxFactory.Token(leadingNode, info.Kind, info.
Text
, info.StringValue, trailingNode);
355
token = SyntaxFactory.Identifier(info.ContextualKind, leadingNode, info.
Text
, info.StringValue, trailingNode);
361
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.IntValue, trailingNode);
364
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.UintValue, trailingNode);
367
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.LongValue, trailingNode);
370
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.UlongValue, trailingNode);
373
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.FloatValue, trailingNode);
376
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.DoubleValue, trailingNode);
379
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.DecimalValue, trailingNode);
388
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.Kind, info.
Text
, trailingNode);
396
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.Kind, info.StringValue, trailingNode);
399
token = SyntaxFactory.Literal(leadingNode, info.
Text
, info.CharValue, 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);
415
token = SyntaxFactory.Token(leadingNode, info.Kind, info.
Text
, trailingNode);
418
token = SyntaxFactory.BadToken(leadingNode, info.
Text
, trailingNode);
746
var messageText = isEscaped ? info.
Text
: ObjectDisplay.FormatLiteral(info.
Text
, ObjectDisplayOptions.EscapeNonPrintableCharacters);
1053
Debug.Assert(info.
Text
!= null);
1609
info.StringValue = info.
Text
;
1620
Debug.Assert(string.Equals(info.
Text
.Substring(0, objectAddressOffset + 1), "@0x", StringComparison.OrdinalIgnoreCase));
1841
RoslynDebug.AssertNotNull(info.
Text
);
1848
SyntaxKind keywordKind = SyntaxFacts.GetPreprocessorKeywordKind(info.
Text
);
1862
if (!_cache.TryGetKeywordKind(info.
Text
, out info.Kind))
2661
info.IntValue = this.GetValueInt32(info.
Text
, false);
2713
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
2889
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
3095
info.StringValue = info.
Text
;
3196
RoslynDebug.AssertNotNull(tagInfo.
Text
);
3197
SyntaxToken? token = DocumentationCommentXmlTokens.LookupToken(tagInfo.
Text
, leading);
3289
info.StringValue = info.
Text
;
3307
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
3451
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
3639
this.AddError(XmlParseErrorCode.XML_LessThanInAttributeValue, info.
Text
); //ErrorCode.WRN_XMLParseError
3798
Debug.Assert(info.
Text
== null, "Haven't tried to set it yet.");
3817
if (this.ScanIdentifier(ref info) && info.
Text
!.Length > 0)
3835
info.RequiresTextForXmlEntity = info.
Text
!= info.StringValue;
3864
RoslynDebug.AssertNotNull(info.
Text
);
3866
this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.
Text
);
3877
this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.
Text
);
3887
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);