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