51 writes to Text
Microsoft.CodeAnalysis.CSharp (51)
Parser\Lexer.cs (46)
436info.Text = null; 775info.Text = TextWindow.GetText(intern: true); 920info.Text = TextWindow.Text.ToString(new TextSpan(startingPosition, width)); 925info.Text = TextWindow.GetText(intern: true); 1062info.Text = null; 1123info.StringValue = info.Text = TextWindow.GetText(intern: true); 1245info.Text = TextWindow.GetText(true); 1604info.Text = info.StringValue = TextWindow.Intern(characterWindow, startOffset, length); 1916info.Text = TextWindow.GetInternedText(); 1952info.Text = null; 2198info.Text = info.StringValue; 2203info.Text = TextWindow.GetText(intern: false); 2210info.Text = null; 2989info.Text = TextWindow.GetText(true); 3037info.Text = TextWindow.GetText(true); 3238info.StringValue = info.Text = TextWindow.GetText(intern: false); 3434info.Text = TextWindow.GetText(true); 3465info.StringValue = info.Text = TextWindow.GetText(false); 3481info.StringValue = info.Text = TextWindow.GetText(false); 3487info.StringValue = info.Text = TextWindow.GetText(false); 3494info.StringValue = info.Text = TextWindow.GetText(false); 3503info.StringValue = info.Text = TextWindow.GetText(false); 3643info.StringValue = info.Text = TextWindow.GetText(false); 3679info.Text = TextWindow.GetText(start, TextWindow.Position - start, intern: true); 3807info.StringValue = info.Text = TextWindow.GetText(false); 3816info.StringValue = info.Text = TextWindow.GetText(false); 3826info.StringValue = info.Text = TextWindow.GetText(false); 3835info.StringValue = info.Text = TextWindow.GetText(false); 3842info.StringValue = info.Text = TextWindow.GetText(false); 3908info.Text = info.StringValue = TextWindow.NextChar().ToString(); 3980info.Text = TextWindow.GetText(intern: false); 4148info.Text = actualText; 4193info.Text = TextWindow.GetText(intern: true); 4213info.Text = TextWindow.GetText(intern: false); 4409info.StringValue = info.Text = TextWindow.GetText(false); 4417info.StringValue = info.Text = TextWindow.GetText(false); 4426info.StringValue = info.Text = TextWindow.GetText(false); 4433info.StringValue = info.Text = TextWindow.GetText(false); 4539info.StringValue = info.Text = TextWindow.GetText(false); 4547info.StringValue = info.Text = TextWindow.GetText(false); 4556info.StringValue = info.Text = TextWindow.GetText(false); 4563info.StringValue = info.Text = TextWindow.GetText(false); 4663info.StringValue = info.Text = TextWindow.GetText(false); 4671info.StringValue = info.Text = TextWindow.GetText(false); 4680info.StringValue = info.Text = TextWindow.GetText(false); 4687info.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); 243info.Text = TextWindow.GetText(intern: false); 286info.Text = TextWindow.GetText(intern: false);
41 references to Text
Microsoft.CodeAnalysis.CSharp (41)
Parser\Lexer.cs (41)
346token = SyntaxFactory.Token(leadingNode, info.Kind, info.Text, info.StringValue, trailingNode); 353token = SyntaxFactory.Identifier(info.ContextualKind, leadingNode, info.Text, info.StringValue, trailingNode); 359token = SyntaxFactory.Literal(leadingNode, info.Text, info.IntValue, trailingNode); 362token = SyntaxFactory.Literal(leadingNode, info.Text, info.UintValue, trailingNode); 365token = SyntaxFactory.Literal(leadingNode, info.Text, info.LongValue, trailingNode); 368token = SyntaxFactory.Literal(leadingNode, info.Text, info.UlongValue, trailingNode); 371token = SyntaxFactory.Literal(leadingNode, info.Text, info.FloatValue, trailingNode); 374token = SyntaxFactory.Literal(leadingNode, info.Text, info.DoubleValue, trailingNode); 377token = SyntaxFactory.Literal(leadingNode, info.Text, info.DecimalValue, trailingNode); 386token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.Text, trailingNode); 394token = SyntaxFactory.Literal(leadingNode, info.Text, info.Kind, info.StringValue, trailingNode); 397token = SyntaxFactory.Literal(leadingNode, info.Text, info.CharValue, trailingNode); 400token = SyntaxFactory.XmlTextNewLine(leadingNode, info.Text, info.StringValue, trailingNode); 403token = SyntaxFactory.XmlTextLiteral(leadingNode, info.Text, info.StringValue, trailingNode); 406token = SyntaxFactory.XmlEntity(leadingNode, info.Text, info.StringValue, trailingNode); 413token = SyntaxFactory.BadToken(leadingNode, info.Text, trailingNode); 928this.AddError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 1246Debug.Assert(info.Text != null); 1921info.StringValue = info.Text; 1932Debug.Assert(string.Equals(info.Text.Substring(0, objectAddressOffset + 1), "@0x", StringComparison.OrdinalIgnoreCase)); 2223RoslynDebug.AssertNotNull(info.Text); 2230SyntaxKind keywordKind = SyntaxFacts.GetPreprocessorKeywordKind(info.Text); 2244if (!_cache.TryGetKeywordKind(info.Text, out info.Kind)) 2991info.IntValue = this.GetValueInt32(info.Text, false); 3043Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3231Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3437info.StringValue = info.Text; 3538RoslynDebug.AssertNotNull(tagInfo.Text); 3539SyntaxToken? token = DocumentationCommentXmlTokens.LookupToken(tagInfo.Text, leading); 3631info.StringValue = info.Text; 3649Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3793Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null); 3981this.AddError(XmlParseErrorCode.XML_LessThanInAttributeValue, info.Text); //ErrorCode.WRN_XMLParseError 4140Debug.Assert(info.Text == null, "Haven't tried to set it yet."); 4159if (this.ScanIdentifier(ref info) && info.Text!.Length > 0) 4177info.RequiresTextForXmlEntity = info.Text != info.StringValue; 4206RoslynDebug.AssertNotNull(info.Text); 4208this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 4219this.AddCrefError(ErrorCode.ERR_UnexpectedCharacter, info.Text); 4229Debug.Assert(info.Kind != SyntaxKind.None || info.Text != null);