52 writes to Text
Microsoft.CodeAnalysis.CSharp (52)
Parser\Lexer.cs (47)
445
info.
Text
= null;
644
info.
Text
= TextWindow.GetText(false);
649
info.
Text
= TextWindow.GetText(intern: true);
735
info.
Text
= TextWindow.GetText(intern: true);
740
info.
Text
= TextWindow.Text.ToString(TextSpan.FromBounds(startingPosition, end));
872
info.
Text
= null;
933
info.StringValue = info.
Text
= TextWindow.GetText(intern: true);
1056
info.
Text
= TextWindow.GetText(true);
1415
info.
Text
= info.StringValue = TextWindow.Intern(characterWindow, startOffset, length);
1608
info.
Text
= TextWindow.GetInternedText();
1644
info.
Text
= null;
1820
info.
Text
= info.StringValue;
1825
info.
Text
= TextWindow.GetText(intern: false);
1832
info.
Text
= null;
2663
info.
Text
= TextWindow.GetText(true);
2711
info.
Text
= TextWindow.GetText(true);
2900
info.StringValue = info.
Text
= TextWindow.GetText(intern: false);
3096
info.
Text
= TextWindow.GetText(true);
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);
3305
info.StringValue = info.
Text
= TextWindow.GetText(false);
3341
info.
Text
= TextWindow.GetText(start, TextWindow.Position - start, intern: true);
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();
3642
info.
Text
= TextWindow.GetText(intern: false);
3810
info.
Text
= actualText;
3855
info.
Text
= TextWindow.GetText(intern: true);
3875
info.
Text
= TextWindow.GetText(intern: false);
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 (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)
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);
750
var messageText = isEscaped ? info.
Text
: ObjectDisplay.FormatLiteral(info.
Text
, ObjectDisplayOptions.EscapeNonPrintableCharacters);
1057
Debug.Assert(info.
Text
!= null);
1613
info.StringValue = info.
Text
;
1624
Debug.Assert(string.Equals(info.
Text
.Substring(0, objectAddressOffset + 1), "@0x", StringComparison.OrdinalIgnoreCase));
1845
RoslynDebug.AssertNotNull(info.
Text
);
1852
SyntaxKind keywordKind = SyntaxFacts.GetPreprocessorKeywordKind(info.
Text
);
1866
if (!_cache.TryGetKeywordKind(info.
Text
, out info.Kind))
2665
info.IntValue = this.GetValueInt32(info.
Text
, false);
2717
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
2893
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
3099
info.StringValue = info.
Text
;
3200
RoslynDebug.AssertNotNull(tagInfo.
Text
);
3201
SyntaxToken? token = DocumentationCommentXmlTokens.LookupToken(tagInfo.
Text
, leading);
3293
info.StringValue = info.
Text
;
3311
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
3455
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);
3643
this.AddError(XmlParseErrorCode.XML_LessThanInAttributeValue, info.
Text
); //ErrorCode.WRN_XMLParseError
3802
Debug.Assert(info.
Text
== null, "Haven't tried to set it yet.");
3821
if (this.ScanIdentifier(ref info) && info.
Text
!.Length > 0)
3839
info.RequiresTextForXmlEntity = info.
Text
!= info.StringValue;
3868
RoslynDebug.AssertNotNull(info.
Text
);
3870
this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.
Text
);
3881
this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.
Text
);
3891
Debug.Assert(info.Kind != SyntaxKind.None || info.
Text
!= null);