52 writes to Text
Microsoft.CodeAnalysis.CSharp (52)
Parser\Lexer.cs (47)
445info.Text = null; 639info.Text = this.GetNonInternedLexemeText(); 644info.Text = this.GetInternedLexemeText(); 730info.Text = this.GetInternedLexemeText(); 735info.Text = TextWindow.Text.ToString(TextSpan.FromBounds(startingPosition, end)); 867info.Text = null; 928info.StringValue = info.Text = this.GetInternedLexemeText(); 1051info.Text = this.GetInternedLexemeText(); 1406info.Text = info.StringValue = TextWindow.Intern(textWindowCharSpan[..length]); 1599info.Text = GetInternedLexemeText(); 1635info.Text = null; 1811info.Text = info.StringValue; 1816info.Text = this.GetNonInternedLexemeText(); 1823info.Text = null; 2673info.Text = this.GetInternedLexemeText(); 2721info.Text = this.GetInternedLexemeText(); 2910info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3106info.Text = this.GetInternedLexemeText(); 3137info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3153info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3159info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3166info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3175info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3315info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3351info.Text = TextWindow.GetText(start, TextWindow.Position - start, intern: true); 3479info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3488info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3498info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3507info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3514info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3580info.Text = info.StringValue = TextWindow.NextChar().ToString(); 3652info.Text = this.GetNonInternedLexemeText(); 3820info.Text = actualText; 3865info.Text = this.GetInternedLexemeText(); 3885info.Text = this.GetNonInternedLexemeText(); 4081info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4089info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4098info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4105info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4211info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4219info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4228info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4235info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4335info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4343info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4352info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4359info.StringValue = info.Text = this.GetNonInternedLexemeText();
Parser\Lexer_RawStringLiteral.cs (1)
123info.Text = this.GetInternedLexemeText();
Parser\Lexer_StringLiteral.cs (4)
76info.Text = this.GetInternedLexemeText(); 105info.Text = this.GetInternedLexemeText(); 250info.Text = this.GetNonInternedLexemeText(); 293info.Text = this.GetNonInternedLexemeText();
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); 1604info.StringValue = info.Text; 1615Debug.Assert(string.Equals(info.Text.Substring(0, objectAddressOffset + 1), "@0x", StringComparison.OrdinalIgnoreCase)); 1836RoslynDebug.AssertNotNull(info.Text); 1843SyntaxKind keywordKind = SyntaxFacts.GetPreprocessorKeywordKind(info.Text); 1857if (!_cache.TryGetKeywordKind(info.Text, out info.Kind)) 2675info.IntValue = this.GetValueInt32(info.Text, false); 2727Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 2903Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3109info.StringValue = info.Text; 3210RoslynDebug.AssertNotNull(tagInfo.Text); 3211SyntaxToken? token = DocumentationCommentXmlTokens.LookupToken(tagInfo.Text, leading); 3303info.StringValue = info.Text; 3321Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3465Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3653this.AddError(XmlParseErrorCode.XML_LessThanInAttributeValue, info.Text); //ErrorCode.WRN_XMLParseError 3812Debug.Assert(info.Text == null, "Haven't tried to set it yet."); 3831if (this.ScanIdentifier(ref info) && info.Text!.Length > 0) 3849info.RequiresTextForXmlEntity = info.Text != info.StringValue; 3878RoslynDebug.AssertNotNull(info.Text); 3880this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3891this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3901Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null);