NodeVisitor<TBaseNode, TNode, TResult>.VisitUnhandledNode Method ​
Definition ​
Called to visit a node that is not of type TNode. Throws an InvalidOperationException by default; override to return a fallback value instead.
c#
protected virtual TResult? VisitUnhandledNode(TBaseNode node);Parameters ​
| Name | Type | Description |
|---|---|---|
node | TBaseNode | The node being visited. |
Returns ​
TResult
The result of visiting node.