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)
1993token = this.AddError(token, ErrorCode.ERR_InvalidMemberDecl, token.Text); 2929misplacedModifier.Text); 2970this.CurrentToken.Text); 3491initializer = this.AddErrorToFirstToken(initializer, ErrorCode.ERR_UnexpectedToken, colonToken.Text); 3809AddError(type, ErrorCode.ERR_BadOperatorSyntax, firstToken.Text)); 5731result = this.AddError(result, ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.Text); 10116mods[i] = this.AddError(mod, ErrorCode.ERR_BadMemberFlag, mod.Text); 10351mod = this.AddError(mod, ErrorCode.ERR_BadMemberFlag, mod.Text); 10493modifier = this.AddError(modifier, ErrorCode.ERR_BadMemberFlag, modifier.Text); 11030this.AddError(this.EatToken(), ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.Text)); 11124operatorToken.Text); 11499return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.Text); 11528return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.Text);
Parser\SyntaxParser.cs (1)
1119var 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; 279return this.Text; 295return this.Text; 307get { return this.Text; } 317get { return this.Text.Length; } 416writer.Write(this.Text); 437if (this.Text != otherToken.Text)
Syntax\SyntaxEquivalence.cs (2)
95if (((Green.SyntaxToken)before).Text != ((Green.SyntaxToken)after).Text)