52 writes to Text
Microsoft.CodeAnalysis.CSharp (52)
Parser\Lexer.cs (47)
445info.Text = null; 644info.Text = TextWindow.GetText(false); 649info.Text = TextWindow.GetText(intern: true); 735info.Text = TextWindow.GetText(intern: true); 740info.Text = TextWindow.Text.ToString(TextSpan.FromBounds(startingPosition, end)); 872info.Text = null; 933info.StringValue = info.Text = TextWindow.GetText(intern: true); 1056info.Text = TextWindow.GetText(true); 1415info.Text = info.StringValue = TextWindow.Intern(characterWindow, startOffset, length); 1608info.Text = TextWindow.GetInternedText(); 1644info.Text = null; 1820info.Text = info.StringValue; 1825info.Text = TextWindow.GetText(intern: false); 1832info.Text = null; 2663info.Text = TextWindow.GetText(true); 2711info.Text = TextWindow.GetText(true); 2900info.StringValue = info.Text = TextWindow.GetText(intern: false); 3096info.Text = TextWindow.GetText(true); 3127info.StringValue = info.Text = TextWindow.GetText(false); 3143info.StringValue = info.Text = TextWindow.GetText(false); 3149info.StringValue = info.Text = TextWindow.GetText(false); 3156info.StringValue = info.Text = TextWindow.GetText(false); 3165info.StringValue = info.Text = TextWindow.GetText(false); 3305info.StringValue = info.Text = TextWindow.GetText(false); 3341info.Text = TextWindow.GetText(start, TextWindow.Position - start, intern: true); 3469info.StringValue = info.Text = TextWindow.GetText(false); 3478info.StringValue = info.Text = TextWindow.GetText(false); 3488info.StringValue = info.Text = TextWindow.GetText(false); 3497info.StringValue = info.Text = TextWindow.GetText(false); 3504info.StringValue = info.Text = TextWindow.GetText(false); 3570info.Text = info.StringValue = TextWindow.NextChar().ToString(); 3642info.Text = TextWindow.GetText(intern: false); 3810info.Text = actualText; 3855info.Text = TextWindow.GetText(intern: true); 3875info.Text = TextWindow.GetText(intern: false); 4071info.StringValue = info.Text = TextWindow.GetText(false); 4079info.StringValue = info.Text = TextWindow.GetText(false); 4088info.StringValue = info.Text = TextWindow.GetText(false); 4095info.StringValue = info.Text = TextWindow.GetText(false); 4201info.StringValue = info.Text = TextWindow.GetText(false); 4209info.StringValue = info.Text = TextWindow.GetText(false); 4218info.StringValue = info.Text = TextWindow.GetText(false); 4225info.StringValue = info.Text = TextWindow.GetText(false); 4325info.StringValue = info.Text = TextWindow.GetText(false); 4333info.StringValue = info.Text = TextWindow.GetText(false); 4342info.StringValue = info.Text = TextWindow.GetText(false); 4349info.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); 750var messageText = isEscaped ? info.Text : ObjectDisplay.FormatLiteral(info.Text, ObjectDisplayOptions.EscapeNonPrintableCharacters); 1057Debug.Assert(info.Text != null); 1613info.StringValue = info.Text; 1624Debug.Assert(string.Equals(info.Text.Substring(0, objectAddressOffset + 1), "@0x", StringComparison.OrdinalIgnoreCase)); 1845RoslynDebug.AssertNotNull(info.Text); 1852SyntaxKind keywordKind = SyntaxFacts.GetPreprocessorKeywordKind(info.Text); 1866if (!_cache.TryGetKeywordKind(info.Text, out info.Kind)) 2665info.IntValue = this.GetValueInt32(info.Text, false); 2717Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 2893Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3099info.StringValue = info.Text; 3200RoslynDebug.AssertNotNull(tagInfo.Text); 3201SyntaxToken? token = DocumentationCommentXmlTokens.LookupToken(tagInfo.Text, leading); 3293info.StringValue = info.Text; 3311Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3455Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3643this.AddError(XmlParseErrorCode.XML_LessThanInAttributeValue, info.Text); //ErrorCode.WRN_XMLParseError 3802Debug.Assert(info.Text == null, "Haven't tried to set it yet."); 3821if (this.ScanIdentifier(ref info) && info.Text!.Length > 0) 3839info.RequiresTextForXmlEntity = info.Text != info.StringValue; 3868RoslynDebug.AssertNotNull(info.Text); 3870this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3881this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 3891Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null);