SyntaxNodeOrToken.IsEquivalentTo(SyntaxNodeOrToken) 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.
Determines if the two nodes or tokens are equivalent.
public:
bool IsEquivalentTo(Microsoft::CodeAnalysis::SyntaxNodeOrToken other);
public bool IsEquivalentTo (Microsoft.CodeAnalysis.SyntaxNodeOrToken other);
member this.IsEquivalentTo : Microsoft.CodeAnalysis.SyntaxNodeOrToken -> bool
Public Function IsEquivalentTo (other As SyntaxNodeOrToken) As Boolean
Parameters
- other
- SyntaxNodeOrToken