52 writes to Text
Microsoft.CodeAnalysis.CSharp (52)
Parser\Lexer.cs (47)
445info.Text = null; 639info.Text = TextWindow.GetText(false); 644info.Text = TextWindow.GetText(intern: true); 730info.Text = TextWindow.GetText(intern: true); 735info.Text = TextWindow.Text.ToString(TextSpan.FromBounds(startingPosition, end)); 867info.Text = null; 928info.StringValue = info.Text = TextWindow.GetText(intern: true); 1051info.Text = TextWindow.GetText(true); 1410info.Text = info.StringValue = TextWindow.Intern(characterWindow, startOffset, length); 1603info.Text = TextWindow.GetInternedText(); 1639info.Text = null; 1815info.Text = info.StringValue; 1820info.Text = TextWindow.GetText(intern: false); 1827info.Text = null; 2681info.Text = TextWindow.GetText(true); 2729info.Text = TextWindow.GetText(true); 2918info.StringValue = info.Text = TextWindow.GetText(intern: false); 3114info.Text = TextWindow.GetText(true); 3145info.StringValue = info.Text = TextWindow.GetText(false); 3161info.StringValue = info.Text = TextWindow.GetText(false); 3167info.StringValue = info.Text = TextWindow.GetText(false); 3174info.StringValue = info.Text = TextWindow.GetText(false); 3183info.StringValue = info.Text = TextWindow.GetText(false); 3323info.StringValue = info.Text = TextWindow.GetText(false); 3359info.Text = TextWindow.GetText(start, TextWindow.Position - start, intern: true); 3487info.StringValue = info.Text = TextWindow.GetText(false); 3496info.StringValue = info.Text = TextWindow.GetText(false); 3506info.StringValue = info.Text = TextWindow.GetText(false); 3515info.StringValue = info.Text = TextWindow.GetText(false); 3522info.StringValue = info.Text = TextWindow.GetText(false); 3588info.Text = info.StringValue = TextWindow.NextChar().ToString(); 3660info.Text = TextWindow.GetText(intern: false); 3828info.Text = actualText; 3873info.Text = TextWindow.GetText(intern: true); 3893info.Text = TextWindow.GetText(intern: false); 4089info.StringValue = info.Text = TextWindow.GetText(false); 4097info.StringValue = info.Text = TextWindow.GetText(false); 4106info.StringValue = info.Text = TextWindow.GetText(false); 4113info.StringValue = info.Text = TextWindow.GetText(false); 4219info.StringValue = info.Text = TextWindow.GetText(false); 4227info.StringValue = info.Text = TextWindow.GetText(false); 4236info.StringValue = info.Text = TextWindow.GetText(false); 4243info.StringValue = info.Text = TextWindow.GetText(false); 4343info.StringValue = info.Text = TextWindow.GetText(false); 4351info.StringValue = info.Text = TextWindow.GetText(false); 4360info.StringValue = info.Text = TextWindow.GetText(false); 4367info.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)
352token = SyntaxFactory.Token(leadingNode, info.Kind, info.Text, info.StringValue, trailingNode); 359token = SyntaxFactory.Identifier(info.ContextualKind, leadingNode, info.Text, info.StringValue, trailingNode); 365token = SyntaxFactory.Literal(leadingNode, info.Text, info.IntValue, trailingNode); 368token = SyntaxFactory.Literal(leadingNode, info.Text, info.UintValue, trailingNode); 371token = SyntaxFactory.Literal(leadingNode, info.Text, info.LongValue, trailingNode); 374token = SyntaxFactory.Literal(leadingNode, info.Text, info.UlongValue, trailingNode); 377token = SyntaxFactory.Literal(leadingNode, info.Text, info.FloatValue, trailingNode); 380token = SyntaxFactory.Literal(leadingNode, info.Text, info.DoubleValue, trailingNode); 383token = SyntaxFactory.Literal(leadingNode, info.Text, info.DecimalValue, trailingNode); 392token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.Text, trailingNode); 400token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.StringValue, trailingNode); 403token = SyntaxFactory.Literal(leadingNode, info.Text, info.CharValue, trailingNode); 406token = SyntaxFactory.XmlTextNewLine(leadingNode, info.Text, info.StringValue, trailingNode); 409token = SyntaxFactory.XmlTextLiteral(leadingNode, info.Text, info.StringValue, trailingNode); 412token = SyntaxFactory.XmlEntity(leadingNode, info.Text, info.StringValue, trailingNode); 419token = SyntaxFactory.Token(leadingNode, info.Kind, info.Text, trailingNode); 422token = SyntaxFactory.BadToken(leadingNode, info.Text, trailingNode); 745var messageText = isEscaped ? info.Text : ObjectDisplay.FormatLiteral(info.Text, ObjectDisplayOptions.EscapeNonPrintableCharacters); 1052Debug.Assert(info.Text != null); 1608info.StringValue = info.Text; 1619Debug.Assert(string.Equals(info.Text.Substring(0, objectAddressOffset + 1), "@0x", StringComparison.OrdinalIgnoreCase)); 1840RoslynDebug.AssertNotNull(info.Text); 1847SyntaxKind keywordKind = SyntaxFacts.GetPreprocessorKeywordKind(info.Text); 1861if (!_cache.TryGetKeywordKind(info.Text, out info.Kind)) 2683info.IntValue = this.GetValueInt32(info.Text, false); 2735Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 2911Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3117info.StringValue = info.Text; 3218RoslynDebug.AssertNotNull(tagInfo.Text); 3219SyntaxToken? token = DocumentationCommentXmlTokens.LookupToken(tagInfo.Text, leading); 3311info.StringValue = info.Text; 3329Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3473Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3661this.AddError(XmlParseErrorCode.XML_LessThanInAttributeValue, info.Text); //ErrorCode.WRN_XMLParseError 3820Debug.Assert(info.Text == null, "Haven't tried to set it yet."); 3839if (this.ScanIdentifier(ref info) && info.Text!.Length > 0) 3857info.RequiresTextForXmlEntity = info.Text != info.StringValue; 3886RoslynDebug.AssertNotNull(info.Text); 3888this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3899this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3909Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null);