다음을 통해 공유


CSharpExtensions.IsKind 메서드

정의

오버로드

IsKind(SyntaxNode, SyntaxKind)

지정된 종류인지 여부를 SyntaxNode 확인합니다.

IsKind(SyntaxNodeOrToken, SyntaxKind)

지정된 종류인지 여부를 SyntaxNodeOrToken 확인합니다.

IsKind(SyntaxToken, SyntaxKind)

지정된 종류인지 여부를 SyntaxToken 확인합니다.

IsKind(SyntaxTrivia, SyntaxKind)

지정된 종류인지 여부를 SyntaxTrivia 확인합니다.

IsKind(SyntaxNode, SyntaxKind)

Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs

지정된 종류인지 여부를 SyntaxNode 확인합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsKind(Microsoft::CodeAnalysis::SyntaxNode ^ node, Microsoft::CodeAnalysis::CSharp::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.CSharp.SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxNode? node, Microsoft.CodeAnalysis.CSharp.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.CSharp.SyntaxKind -> bool
<Extension()>
Public Function IsKind (node As SyntaxNode, kind As SyntaxKind) As Boolean

매개 변수

node
SyntaxNode

원본 노드입니다.

kind
SyntaxKind

테스트할 구문 종류입니다.

반환

true노드가 지정된 종류이면 이고, 그렇지 않으면 . false

적용 대상

IsKind(SyntaxNodeOrToken, SyntaxKind)

Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs

지정된 종류인지 여부를 SyntaxNodeOrToken 확인합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsKind(Microsoft::CodeAnalysis::SyntaxNodeOrToken nodeOrToken, Microsoft::CodeAnalysis::CSharp::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken, Microsoft.CodeAnalysis.CSharp.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxNodeOrToken * Microsoft.CodeAnalysis.CSharp.SyntaxKind -> bool
<Extension()>
Public Function IsKind (nodeOrToken As SyntaxNodeOrToken, kind As SyntaxKind) As Boolean

매개 변수

nodeOrToken
SyntaxNodeOrToken

원본 노드 또는 토큰입니다.

kind
SyntaxKind

테스트할 구문 종류입니다.

반환

true노드 또는 토큰이 지정된 종류이면 입니다. 그렇지 않으면 . false

적용 대상

IsKind(SyntaxToken, SyntaxKind)

Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs

지정된 종류인지 여부를 SyntaxToken 확인합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsKind(Microsoft::CodeAnalysis::SyntaxToken token, Microsoft::CodeAnalysis::CSharp::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxToken token, Microsoft.CodeAnalysis.CSharp.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.SyntaxKind -> bool
<Extension()>
Public Function IsKind (token As SyntaxToken, kind As SyntaxKind) As Boolean

매개 변수

token
SyntaxToken

원본 토큰입니다.

kind
SyntaxKind

테스트할 구문 종류입니다.

반환

true토큰이 지정된 종류이면 그렇지 않으면 . false

적용 대상

IsKind(SyntaxTrivia, SyntaxKind)

Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs
Source:
CSharpExtensions.cs

지정된 종류인지 여부를 SyntaxTrivia 확인합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsKind(Microsoft::CodeAnalysis::SyntaxTrivia trivia, Microsoft::CodeAnalysis::CSharp::SyntaxKind kind);
public static bool IsKind (this Microsoft.CodeAnalysis.SyntaxTrivia trivia, Microsoft.CodeAnalysis.CSharp.SyntaxKind kind);
static member IsKind : Microsoft.CodeAnalysis.SyntaxTrivia * Microsoft.CodeAnalysis.CSharp.SyntaxKind -> bool
<Extension()>
Public Function IsKind (trivia As SyntaxTrivia, kind As SyntaxKind) As Boolean

매개 변수

trivia
SyntaxTrivia

소스 퀴즈입니다.

kind
SyntaxKind

테스트할 구문 종류입니다.

반환

true if the trivia is of the specified kind; otherwise, false.

적용 대상