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(); 1410info.Text = info.StringValue = TextWindow.Intern(characterWindow, startOffset, length); 1603info.Text = GetInternedLexemeText(); 1639info.Text = null; 1815info.Text = info.StringValue; 1820info.Text = this.GetNonInternedLexemeText(); 1827info.Text = null; 2679info.Text = this.GetInternedLexemeText(); 2727info.Text = this.GetInternedLexemeText(); 2916info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3112info.Text = this.GetInternedLexemeText(); 3143info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3159info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3165info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3172info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3181info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3321info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3357info.Text = TextWindow.GetText(start, TextWindow.Position - start, intern: true); 3485info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3494info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3504info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3513info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3520info.StringValue = info.Text = this.GetNonInternedLexemeText(); 3586info.Text = info.StringValue = TextWindow.NextChar().ToString(); 3658info.Text = this.GetNonInternedLexemeText(); 3826info.Text = actualText; 3871info.Text = this.GetInternedLexemeText(); 3891info.Text = this.GetNonInternedLexemeText(); 4087info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4095info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4104info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4111info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4217info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4225info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4234info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4241info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4341info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4349info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4358info.StringValue = info.Text = this.GetNonInternedLexemeText(); 4365info.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); 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)) 2681info.IntValue = this.GetValueInt32(info.Text, false); 2733Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 2909Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3115info.StringValue = info.Text; 3216RoslynDebug.AssertNotNull(tagInfo.Text); 3217SyntaxToken? token = DocumentationCommentXmlTokens.LookupToken(tagInfo.Text, leading); 3309info.StringValue = info.Text; 3327Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3471Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3659this.AddError(XmlParseErrorCode.XML_LessThanInAttributeValue, info.Text); //ErrorCode.WRN_XMLParseError 3818Debug.Assert(info.Text == null, "Haven't tried to set it yet."); 3837if (this.ScanIdentifier(ref info) && info.Text!.Length > 0) 3855info.RequiresTextForXmlEntity = info.Text != info.StringValue; 3884RoslynDebug.AssertNotNull(info.Text); 3886this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3897this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3907Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null);