2 overrides of ValueText
Microsoft.CodeAnalysis.CSharp (2)
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifier.cs (1)
39
public override string
ValueText
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteral.cs (1)
49
public override string
ValueText
27 references to ValueText
Microsoft.CodeAnalysis.CSharp (27)
Parser\DirectiveParser.cs (3)
645
if (!Guid.TryParse(guid.
ValueText
, out tmp))
654
if (bytes.
ValueText
.Length % 2 != 0)
660
foreach (char c in bytes.
ValueText
)
Parser\DocumentationCommentParser.cs (15)
534
current.
ValueText
!= SyntaxFacts.GetText(openQuote.Kind) &&
535
current.
ValueText
!= ":")
541
current.
ValueText
== ":")
1032
operatorToken.
ValueText
+ operatorToken2.
ValueText
+ operatorToken3.
ValueText
,
1043
operatorToken.
ValueText
+ operatorToken2.
ValueText
+ operatorToken3.
ValueText
,
1065
operatorToken.
ValueText
+ operatorToken2.
ValueText
,
1076
operatorToken.
ValueText
+ operatorToken2.
ValueText
,
1086
operatorToken.
ValueText
+ operatorToken2.
ValueText
,
Parser\LanguageParser.cs (1)
6241
var contextualKind = SyntaxFacts.GetContextualKeywordKind(token.
ValueText
);
Parser\LanguageParser_InterpolatedString.cs (2)
43
var originalText = originalToken.
ValueText
; // this is actually the source text
469
var result = SyntaxFactory.Literal(leading: null, text, SyntaxKind.InterpolatedStringTextToken, token.
ValueText
, trailing: null);
Parser\SyntaxParser.cs (1)
1112
var identifier = SyntaxToken.Identifier(token.Kind, token.LeadingTrivia.Node, token.Text, token.
ValueText
, token.TrailingTrivia.Node);
Symbols\Source\AttributeLocation.cs (1)
128
return ToAttributeLocation(token.
ValueText
);
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 (1)
312
return this.
ValueText
;
Syntax\SyntaxEquivalence.cs (2)
80
if (((Green.SyntaxToken)before).
ValueText
!= ((Green.SyntaxToken)after).
ValueText
)