public override void VisitNamespaceSymbol(NamespaceSymbol symbol) { base.VisitNamespaceSymbol(symbol); this.CollectDiagnostics(symbol); }
public static Symbol ResolveNamespaceQualifiedFunction(FunctionFlags allowedFlags, Symbol?foundSymbol, IdentifierSyntax identifierSyntax, NamespaceSymbol namespaceSymbol) => ResolveSymbolInternal( allowedFlags, foundSymbol, identifierSyntax, getNameSuggestions: () => namespaceSymbol.Type.MethodResolver.GetKnownFunctions().Keys, getMissingNameError: (builder, suggestedName) => suggestedName switch { null => builder.FunctionDoesNotExistInNamespace(namespaceSymbol, identifierSyntax.IdentifierName),
public virtual void VisitNamespaceSymbol(NamespaceSymbol symbol) { VisitDescendants(symbol); }