3 overrides of Text
Microsoft.CodeAnalysis.CSharp (3)
Syntax\InternalSyntax\SyntaxToken.MissingTokenWithTrivia.cs (1)
28public override string Text
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifier.cs (1)
29public override string Text
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteral.cs (1)
33public override string Text
43 references to Text
Microsoft.CodeAnalysis.CSharp (43)
Parser\DocumentationCommentParser.cs (16)
678return token.Text.Length == 1 && SyntaxFacts.IsNonAsciiQuotationMark(token.Text[0]); 1031operatorToken.Text + operatorToken2.Text + operatorToken3.Text, 1042operatorToken.Text + operatorToken2.Text + operatorToken3.Text, 1064operatorToken.Text + operatorToken2.Text, 1075operatorToken.Text + operatorToken2.Text, 1085operatorToken.Text + operatorToken2.Text, 1530return CurrentToken.Text == SyntaxFacts.GetText(SyntaxKind.LessThanToken) || 1598return CurrentToken.Text == SyntaxFacts.GetText(SyntaxKind.LessThanToken) ||
Parser\LanguageParser.cs (13)
1992token = this.AddError(token, ErrorCode.ERR_InvalidMemberDecl, token.Text); 2910misplacedModifier.Text); 2951this.CurrentToken.Text); 3473initializer = this.AddErrorToFirstToken(initializer, ErrorCode.ERR_UnexpectedToken, colonToken.Text); 3791AddError(type, ErrorCode.ERR_BadOperatorSyntax, firstToken.Text)); 5735result = this.AddError(result, ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.Text); 10034mods[i] = this.AddError(mod, ErrorCode.ERR_BadMemberFlag, mod.Text); 10257mod = this.AddError(mod, ErrorCode.ERR_BadMemberFlag, mod.Text); 10399modifier = this.AddError(modifier, ErrorCode.ERR_BadMemberFlag, modifier.Text); 10938skipped = this.AddError(skipped, ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.Text); 11072opToken = this.AddError(opToken, errorCode, opToken.Text); 11328return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.Text); 11353return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.Text);
Parser\SyntaxParser.cs (1)
1112var identifier = SyntaxToken.Identifier(token.Kind, token.LeadingTrivia.Node, token.Text, token.ValueText, token.TrailingTrivia.Node);
Syntax\InternalSyntax\SyntaxFactory.cs (1)
127/// Creates a token whose <see cref="SyntaxToken.Text"/> and <see cref="SyntaxToken.ValueText"/> are the same.
Syntax\InternalSyntax\SyntaxToken.cs (10)
25FullWidth = this.Text.Length; 32FullWidth = this.Text.Length; 39FullWidth = this.Text.Length; 261return this.Text; 277return this.Text; 289get { return this.Text; } 299get { return this.Text.Length; } 398writer.Write(this.Text); 419if (this.Text != otherToken.Text)
Syntax\SyntaxEquivalence.cs (2)
95if (((Green.SyntaxToken)before).Text != ((Green.SyntaxToken)after).Text)