/// <summary> /// Write own documentation comments and then descend into members. /// </summary> public override void VisitNamedType(NamedTypeSymbol symbol) { _cancellationToken.ThrowIfCancellationRequested(); if (_filterTree != null && !symbol.IsDefinedInSourceTree(_filterTree, _filterSpanWithinTree)) { return; } DefaultVisit(symbol); if (!_isForSingleSymbol) { foreach (Symbol member in symbol.GetMembers()) { _cancellationToken.ThrowIfCancellationRequested(); member.Accept(this); } } }