[]
Checks whether this syntax node is equal to another object.
If obj is a SyntaxNode, this method compares it with the current node.
If obj is not a SyntaxNode, this method returns false.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current syntax node. This can be another |
| Type | Description |
|---|---|
| bool |
true
if obj is the same instance as the current node or an equivalent SyntaxNode; otherwise, false.
|