52 writes to Text
Microsoft.CodeAnalysis.CSharp (52)
Parser\Lexer.cs (47)
430info.Text = null; 624info.Text = this.GetNonInternedLexemeText(); 629info.Text = this.GetInternedLexemeText(); 715info.Text = this.GetInternedLexemeText(); 720info.Text = TextWindow.Text.ToString(TextSpan.FromBounds(startingPosition, end)); 852info.Text = null; 913info.StringValue = info.Text = this.GetInternedLexemeText(); 1036info.Text = this.GetInternedLexemeText(); 1391info.Text = info.StringValue = TextWindow.Intern(textWindowCharSpan[..length]); 1584info.Text = GetInternedLexemeText(); 1620info.Text = null; 1796info.Text = info.StringValue; 1801info.Text = this.GetNonInternedLexemeText(); 1808info.Text = null; 2658info.Text = this.GetInternedLexemeText(); 2706info.Text = this.GetInternedLexemeText(); 2895info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3091info.Text = this.GetInternedLexemeText(); 3122info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3138info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3144info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3151info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3160info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3300info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3336info.Text = TextWindow.GetText(start, TextWindow.Position - start, intern: true); 3464info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3473info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3483info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3492info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3499info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3565info.Text = info.StringValue = TextWindow.NextChar().ToString(); 3637info.Text = this.GetNonInternedLexemeText(); 3805info.Text = actualText; 3850info.Text = this.GetInternedLexemeText(); 3870info.Text = this.GetNonInternedLexemeText(); 4066info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4074info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4083info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4090info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4196info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4204info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4213info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4220info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4320info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4328info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4337info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4344info.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)
337token = SyntaxFactory.Token(leadingNode, info.Kind, info.Text, info.StringValue, trailingNode); 344token = SyntaxFactory.Identifier(info.ContextualKind, leadingNode, info.Text, info.StringValue, trailingNode); 350token = SyntaxFactory.Literal(leadingNode, info.Text, info.IntValue, trailingNode); 353token = SyntaxFactory.Literal(leadingNode, info.Text, info.UintValue, trailingNode); 356token = SyntaxFactory.Literal(leadingNode, info.Text, info.LongValue, trailingNode); 359token = SyntaxFactory.Literal(leadingNode, info.Text, info.UlongValue, trailingNode); 362token = SyntaxFactory.Literal(leadingNode, info.Text, info.FloatValue, trailingNode); 365token = SyntaxFactory.Literal(leadingNode, info.Text, info.DoubleValue, trailingNode); 368token = SyntaxFactory.Literal(leadingNode, info.Text, info.DecimalValue, trailingNode); 377token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.Text, trailingNode); 385token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.StringValue, trailingNode); 388token = SyntaxFactory.Literal(leadingNode, info.Text, info.CharValue, trailingNode); 391token = SyntaxFactory.XmlTextNewLine(leadingNode, info.Text, info.StringValue, trailingNode); 394token = SyntaxFactory.XmlTextLiteral(leadingNode, info.Text, info.StringValue, trailingNode); 397token = SyntaxFactory.XmlEntity(leadingNode, info.Text, info.StringValue, trailingNode); 404token = SyntaxFactory.Token(leadingNode, info.Kind, info.Text, trailingNode); 407token = SyntaxFactory.BadToken(leadingNode, info.Text, trailingNode); 730var messageText = isEscaped ? info.Text : ObjectDisplay.FormatLiteral(info.Text, ObjectDisplayOptions.EscapeNonPrintableCharacters); 1037Debug.Assert(info.Text != null); 1589info.StringValue = info.Text; 1600Debug.Assert(string.Equals(info.Text.Substring(0, objectAddressOffset + 1), "@0x", StringComparison.OrdinalIgnoreCase)); 1821RoslynDebug.AssertNotNull(info.Text); 1828SyntaxKind keywordKind = SyntaxFacts.GetPreprocessorKeywordKind(info.Text); 1842if (!_cache.TryGetKeywordKind(info.Text, out info.Kind)) 2660info.IntValue = this.GetValueInt32(info.Text, false); 2712Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 2888Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3094info.StringValue = info.Text; 3195RoslynDebug.AssertNotNull(tagInfo.Text); 3196SyntaxToken? token = DocumentationCommentXmlTokens.LookupToken(tagInfo.Text, leading); 3288info.StringValue = info.Text; 3306Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3450Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3638this.AddError(XmlParseErrorCode.XML_LessThanInAttributeValue, info.Text); //ErrorCode.WRN_XMLParseError 3797Debug.Assert(info.Text == null, "Haven't tried to set it yet."); 3816if (this.ScanIdentifier(ref info) && info.Text!.Length > 0) 3834info.RequiresTextForXmlEntity = info.Text != info.StringValue; 3863RoslynDebug.AssertNotNull(info.Text); 3865this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3876this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3886Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null);