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