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.

c#
protected virtual TResult? VisitUnhandledNode(TBaseNode node);

View source

Parameters ​

NameTypeDescription
nodeTBaseNodeThe node being visited.

Returns ​

TResult

The result of visiting node.