Skip to content

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.

protected virtual TResult? VisitUnhandledNode(TBaseNode node);

View source

Parameters

Name Type Description
node TBaseNode The node being visited.

Returns

TResult

The result of visiting node.