public static bool IsNoMoreVisibleThan(this Symbol symbol, TypeSymbolWithAnnotations type, ref HashSet <DiagnosticInfo> useSiteDiagnostics) { return(type.IsAtLeastAsVisibleAs(symbol, ref useSiteDiagnostics)); }