private void CheckName(NameSyntax node)
            {
                // Check to see if we have an standalone identifier (or identifier on the left of a dot). If so, if that
                // identifier binds to a type, then we don't want to bring in any imports that would bring in the same
                // name and could then potentially conflict here.

                if (node.IsRightSideOfDotOrArrowOrColonColon())
                {
                    return;
                }

                var symbol = _model.GetSymbolInfo(node, _cancellationToken).GetAnySymbol();

                if (symbol?.Kind == SymbolKind.NamedType)
                {
                    _conflictNamespaces.AddRange(_importedTypes[(symbol.Name, node.Arity)]);