SyntaxFactory.VerbatimIdentifier Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a verbatim token with kind IdentifierToken containing the specified text.
public:
static Microsoft::CodeAnalysis::SyntaxToken VerbatimIdentifier(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, System::String ^ valueText, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken VerbatimIdentifier (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, string valueText, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member VerbatimIdentifier : Microsoft.CodeAnalysis.SyntaxTriviaList * string * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function VerbatimIdentifier (leading As SyntaxTriviaList, text As String, valueText As String, trailing As SyntaxTriviaList) As SyntaxToken
Parameters
- leading
- SyntaxTriviaList
A list of trivia immediately preceding the token.
- text
- String
The identifier, not including any escapes or leading '@' character.
- valueText
- String
The canonical value of the token's text.
- trailing
- SyntaxTriviaList
A list of trivia immediately following the token.
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET