SyntaxFactory.AreEquivalent 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
AreEquivalent(SyntaxTree, SyntaxTree, Boolean) |
두 트리가 같은지 확인하여 퀴즈 차이를 무시합니다. |
AreEquivalent(SyntaxNode, SyntaxNode, Func<SyntaxKind,Boolean>) |
두 구문 노드가 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다. |
AreEquivalent(SyntaxNode, SyntaxNode, Boolean) |
두 구문 노드가 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다. |
AreEquivalent(SyntaxTokenList, SyntaxTokenList) |
두 개의 토큰 목록이 동일한지 확인하여 퀴즈 차이를 무시합니다. |
AreEquivalent(SyntaxToken, SyntaxToken) |
두 구문 토큰이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다. |
AreEquivalent<TNode>(SeparatedSyntaxList<TNode>, SeparatedSyntaxList<TNode>, Boolean) |
구문 노드의 두 목록이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다. |
AreEquivalent<TNode>(SeparatedSyntaxList<TNode>, SeparatedSyntaxList<TNode>, Func<SyntaxKind,Boolean>) |
구문 노드의 두 목록이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다. |
AreEquivalent<TNode>(SyntaxList<TNode>, SyntaxList<TNode>, Boolean) |
구문 노드의 두 목록이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다. |
AreEquivalent<TNode>(SyntaxList<TNode>, SyntaxList<TNode>, Func<SyntaxKind,Boolean>) |
구문 노드의 두 목록이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다. |
AreEquivalent(SyntaxTree, SyntaxTree, Boolean)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
두 트리가 같은지 확인하여 퀴즈 차이를 무시합니다.
public:
static bool AreEquivalent(Microsoft::CodeAnalysis::SyntaxTree ^ oldTree, Microsoft::CodeAnalysis::SyntaxTree ^ newTree, bool topLevel);
public static bool AreEquivalent (Microsoft.CodeAnalysis.SyntaxTree oldTree, Microsoft.CodeAnalysis.SyntaxTree newTree, bool topLevel);
public static bool AreEquivalent (Microsoft.CodeAnalysis.SyntaxTree? oldTree, Microsoft.CodeAnalysis.SyntaxTree? newTree, bool topLevel);
static member AreEquivalent : Microsoft.CodeAnalysis.SyntaxTree * Microsoft.CodeAnalysis.SyntaxTree * bool -> bool
Public Shared Function AreEquivalent (oldTree As SyntaxTree, newTree As SyntaxTree, topLevel As Boolean) As Boolean
매개 변수
- oldTree
- SyntaxTree
원래 트리입니다.
- newTree
- SyntaxTree
새 트리입니다.
- topLevel
- Boolean
true이면 메서드 본문 또는 이니셜라이저 식 내의 노드 차이를 무시하고 메타데이터 표시 기호 정보를 선언하는 포함된 노드 및 토큰이 동일한 경우 트리가 동일합니다. 그렇지 않으면 모든 노드와 토큰이 동일해야 합니다.
반환
적용 대상
AreEquivalent(SyntaxNode, SyntaxNode, Func<SyntaxKind,Boolean>)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
두 구문 노드가 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다.
public static bool AreEquivalent (Microsoft.CodeAnalysis.SyntaxNode oldNode, Microsoft.CodeAnalysis.SyntaxNode newNode, Func<Microsoft.CodeAnalysis.CSharp.SyntaxKind,bool> ignoreChildNode = default);
public static bool AreEquivalent (Microsoft.CodeAnalysis.SyntaxNode? oldNode, Microsoft.CodeAnalysis.SyntaxNode? newNode, Func<Microsoft.CodeAnalysis.CSharp.SyntaxKind,bool>? ignoreChildNode = default);
static member AreEquivalent : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode * Func<Microsoft.CodeAnalysis.CSharp.SyntaxKind, bool> -> bool
Public Shared Function AreEquivalent (oldNode As SyntaxNode, newNode As SyntaxNode, Optional ignoreChildNode As Func(Of SyntaxKind, Boolean) = Nothing) As Boolean
매개 변수
- oldNode
- SyntaxNode
이전 노드입니다.
- newNode
- SyntaxNode
새 노드입니다.
- ignoreChildNode
- Func<SyntaxKind,Boolean>
비교하는 동안 방문한 모든 자식 구문 노드(토큰 아님)에 대해 호출된 경우 true를 반환하면 자식이 재귀적으로 방문되고, 그렇지 않으면 자식과 하위 트리가 무시됩니다.
반환
적용 대상
AreEquivalent(SyntaxNode, SyntaxNode, Boolean)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
두 구문 노드가 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다.
public:
static bool AreEquivalent(Microsoft::CodeAnalysis::SyntaxNode ^ oldNode, Microsoft::CodeAnalysis::SyntaxNode ^ newNode, bool topLevel);
public static bool AreEquivalent (Microsoft.CodeAnalysis.SyntaxNode oldNode, Microsoft.CodeAnalysis.SyntaxNode newNode, bool topLevel);
public static bool AreEquivalent (Microsoft.CodeAnalysis.SyntaxNode? oldNode, Microsoft.CodeAnalysis.SyntaxNode? newNode, bool topLevel);
static member AreEquivalent : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode * bool -> bool
Public Shared Function AreEquivalent (oldNode As SyntaxNode, newNode As SyntaxNode, topLevel As Boolean) As Boolean
매개 변수
- oldNode
- SyntaxNode
이전 노드입니다.
- newNode
- SyntaxNode
새 노드입니다.
- topLevel
- Boolean
true이면 메타데이터 표시 기호 정보를 선언하는 포함된 노드와 토큰이 동일한 경우 해당 노드가 동일하며 메서드 본문 또는 이니셜라이저 식 내의 노드 차이를 무시합니다. 그렇지 않으면 모든 노드와 토큰이 동일해야 합니다.
반환
적용 대상
AreEquivalent(SyntaxTokenList, SyntaxTokenList)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
두 개의 토큰 목록이 동일한지 확인하여 퀴즈 차이를 무시합니다.
public:
static bool AreEquivalent(Microsoft::CodeAnalysis::SyntaxTokenList oldList, Microsoft::CodeAnalysis::SyntaxTokenList newList);
public static bool AreEquivalent (Microsoft.CodeAnalysis.SyntaxTokenList oldList, Microsoft.CodeAnalysis.SyntaxTokenList newList);
static member AreEquivalent : Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxTokenList -> bool
Public Shared Function AreEquivalent (oldList As SyntaxTokenList, newList As SyntaxTokenList) As Boolean
매개 변수
- oldList
- SyntaxTokenList
이전 토큰 목록입니다.
- newList
- SyntaxTokenList
새 토큰 목록입니다.
반환
적용 대상
AreEquivalent(SyntaxToken, SyntaxToken)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
두 구문 토큰이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다.
public:
static bool AreEquivalent(Microsoft::CodeAnalysis::SyntaxToken oldToken, Microsoft::CodeAnalysis::SyntaxToken newToken);
public static bool AreEquivalent (Microsoft.CodeAnalysis.SyntaxToken oldToken, Microsoft.CodeAnalysis.SyntaxToken newToken);
static member AreEquivalent : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> bool
Public Shared Function AreEquivalent (oldToken As SyntaxToken, newToken As SyntaxToken) As Boolean
매개 변수
- oldToken
- SyntaxToken
이전 토큰입니다.
- newToken
- SyntaxToken
새 토큰입니다.
반환
적용 대상
AreEquivalent<TNode>(SeparatedSyntaxList<TNode>, SeparatedSyntaxList<TNode>, Boolean)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
구문 노드의 두 목록이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다.
public:
generic <typename TNode>
where TNode : Microsoft::CodeAnalysis::SyntaxNode static bool AreEquivalent(Microsoft::CodeAnalysis::SeparatedSyntaxList<TNode> oldList, Microsoft::CodeAnalysis::SeparatedSyntaxList<TNode> newList, bool topLevel);
public static bool AreEquivalent<TNode> (Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> oldList, Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> newList, bool topLevel) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member AreEquivalent : Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> * Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> * bool -> bool (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Public Shared Function AreEquivalent(Of TNode As SyntaxNode) (oldList As SeparatedSyntaxList(Of TNode), newList As SeparatedSyntaxList(Of TNode), topLevel As Boolean) As Boolean
형식 매개 변수
- TNode
매개 변수
- oldList
- SeparatedSyntaxList<TNode>
이전 목록입니다.
- newList
- SeparatedSyntaxList<TNode>
새 목록입니다.
- topLevel
- Boolean
true이면 메타데이터 표시 기호 정보를 선언하는 포함된 노드와 토큰이 동일한 경우 해당 노드가 동일하며 메서드 본문 또는 이니셜라이저 식 내의 노드 차이를 무시합니다. 그렇지 않으면 모든 노드와 토큰이 동일해야 합니다.
반환
적용 대상
AreEquivalent<TNode>(SeparatedSyntaxList<TNode>, SeparatedSyntaxList<TNode>, Func<SyntaxKind,Boolean>)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
구문 노드의 두 목록이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다.
public static bool AreEquivalent<TNode> (Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> oldList, Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> newList, Func<Microsoft.CodeAnalysis.CSharp.SyntaxKind,bool> ignoreChildNode = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
public static bool AreEquivalent<TNode> (Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> oldList, Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> newList, Func<Microsoft.CodeAnalysis.CSharp.SyntaxKind,bool>? ignoreChildNode = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member AreEquivalent : Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> * Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> * Func<Microsoft.CodeAnalysis.CSharp.SyntaxKind, bool> -> bool (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Public Shared Function AreEquivalent(Of TNode As SyntaxNode) (oldList As SeparatedSyntaxList(Of TNode), newList As SeparatedSyntaxList(Of TNode), Optional ignoreChildNode As Func(Of SyntaxKind, Boolean) = Nothing) As Boolean
형식 매개 변수
- TNode
매개 변수
- oldList
- SeparatedSyntaxList<TNode>
이전 목록입니다.
- newList
- SeparatedSyntaxList<TNode>
새 목록입니다.
- ignoreChildNode
- Func<SyntaxKind,Boolean>
비교하는 동안 방문한 모든 자식 구문 노드(토큰 아님)에 대해 호출된 경우 true를 반환하면 자식이 재귀적으로 방문되고, 그렇지 않으면 자식과 하위 트리가 무시됩니다.
반환
적용 대상
AreEquivalent<TNode>(SyntaxList<TNode>, SyntaxList<TNode>, Boolean)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
구문 노드의 두 목록이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다.
public:
generic <typename TNode>
where TNode : Microsoft::CodeAnalysis::CSharp::CSharpSyntaxNode static bool AreEquivalent(Microsoft::CodeAnalysis::SyntaxList<TNode> oldList, Microsoft::CodeAnalysis::SyntaxList<TNode> newList, bool topLevel);
public static bool AreEquivalent<TNode> (Microsoft.CodeAnalysis.SyntaxList<TNode> oldList, Microsoft.CodeAnalysis.SyntaxList<TNode> newList, bool topLevel) where TNode : Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode;
static member AreEquivalent : Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode)> * Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode)> * bool -> bool (requires 'Node :> Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode)
Public Shared Function AreEquivalent(Of TNode As CSharpSyntaxNode) (oldList As SyntaxList(Of TNode), newList As SyntaxList(Of TNode), topLevel As Boolean) As Boolean
형식 매개 변수
- TNode
매개 변수
- oldList
- SyntaxList<TNode>
이전 목록입니다.
- newList
- SyntaxList<TNode>
새 목록입니다.
- topLevel
- Boolean
true이면 메타데이터 표시 기호 정보를 선언하는 포함된 노드와 토큰이 동일한 경우 해당 노드가 동일하며 메서드 본문 또는 이니셜라이저 식 내의 노드 차이를 무시합니다. 그렇지 않으면 모든 노드와 토큰이 동일해야 합니다.
반환
적용 대상
AreEquivalent<TNode>(SyntaxList<TNode>, SyntaxList<TNode>, Func<SyntaxKind,Boolean>)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
구문 노드의 두 목록이 동일한지 여부를 확인하여 퀴즈 차이를 무시합니다.
public static bool AreEquivalent<TNode> (Microsoft.CodeAnalysis.SyntaxList<TNode> oldList, Microsoft.CodeAnalysis.SyntaxList<TNode> newList, Func<Microsoft.CodeAnalysis.CSharp.SyntaxKind,bool> ignoreChildNode = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
public static bool AreEquivalent<TNode> (Microsoft.CodeAnalysis.SyntaxList<TNode> oldList, Microsoft.CodeAnalysis.SyntaxList<TNode> newList, Func<Microsoft.CodeAnalysis.CSharp.SyntaxKind,bool>? ignoreChildNode = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member AreEquivalent : Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> * Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> * Func<Microsoft.CodeAnalysis.CSharp.SyntaxKind, bool> -> bool (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Public Shared Function AreEquivalent(Of TNode As SyntaxNode) (oldList As SyntaxList(Of TNode), newList As SyntaxList(Of TNode), Optional ignoreChildNode As Func(Of SyntaxKind, Boolean) = Nothing) As Boolean
형식 매개 변수
- TNode
매개 변수
- oldList
- SyntaxList<TNode>
이전 목록입니다.
- newList
- SyntaxList<TNode>
새 목록입니다.
- ignoreChildNode
- Func<SyntaxKind,Boolean>
비교하는 동안 방문한 모든 자식 구문 노드(토큰 아님)에 대해 호출된 경우 true를 반환하면 자식이 재귀적으로 방문되고, 그렇지 않으면 자식과 하위 트리가 무시됩니다.
반환
적용 대상
.NET