3 overrides of Text
Microsoft.CodeAnalysis.CSharp (3)
Syntax\InternalSyntax\SyntaxToken.MissingTokenWithTrivia.cs (1)
28
public override string
Text
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifier.cs (1)
29
public override string
Text
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteral.cs (1)
33
public override string
Text
43 references to Text
Microsoft.CodeAnalysis.CSharp (43)
Parser\DocumentationCommentParser.cs (16)
678
return token.
Text
.Length == 1 && SyntaxFacts.IsNonAsciiQuotationMark(token.
Text
[0]);
1031
operatorToken.
Text
+ operatorToken2.
Text
+ operatorToken3.
Text
,
1042
operatorToken.
Text
+ operatorToken2.
Text
+ operatorToken3.
Text
,
1064
operatorToken.
Text
+ operatorToken2.
Text
,
1075
operatorToken.
Text
+ operatorToken2.
Text
,
1085
operatorToken.
Text
+ operatorToken2.
Text
,
1530
return CurrentToken.
Text
== SyntaxFacts.GetText(SyntaxKind.LessThanToken) ||
1598
return CurrentToken.
Text
== SyntaxFacts.GetText(SyntaxKind.LessThanToken) ||
Parser\LanguageParser.cs (13)
1993
token = this.AddError(token, ErrorCode.ERR_InvalidMemberDecl, token.
Text
);
2929
misplacedModifier.
Text
);
2970
this.CurrentToken.
Text
);
3491
initializer = this.AddErrorToFirstToken(initializer, ErrorCode.ERR_UnexpectedToken, colonToken.
Text
);
3809
AddError(type, ErrorCode.ERR_BadOperatorSyntax, firstToken.
Text
));
5731
result = this.AddError(result, ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.
Text
);
10116
mods[i] = this.AddError(mod, ErrorCode.ERR_BadMemberFlag, mod.
Text
);
10351
mod = this.AddError(mod, ErrorCode.ERR_BadMemberFlag, mod.
Text
);
10493
modifier = this.AddError(modifier, ErrorCode.ERR_BadMemberFlag, modifier.
Text
);
11030
this.AddError(this.EatToken(), ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.
Text
));
11124
operatorToken.
Text
);
11499
return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.
Text
);
11528
return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_InvalidExprTerm, this.CurrentToken.
Text
);
Parser\SyntaxParser.cs (1)
1119
var 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)
25
FullWidth = this.
Text
.Length;
32
FullWidth = this.
Text
.Length;
39
FullWidth = this.
Text
.Length;
279
return this.
Text
;
295
return this.
Text
;
307
get { return this.
Text
; }
317
get { return this.
Text
.Length; }
416
writer.Write(this.
Text
);
437
if (this.
Text
!= otherToken.
Text
)
Syntax\SyntaxEquivalence.cs (2)
95
if (((Green.SyntaxToken)before).
Text
!= ((Green.SyntaxToken)after).
Text
)