public static void UnsupportedColumnIndexSkippedWarning( [NotNull] this IDiagnosticsLogger <DbLoggerCategory.Scaffolding> diagnostics, [NotNull] string indexName, [NotNull] string tableName) { var definition = NpgsqlResources.LogUnsupportedColumnIndexSkipped(diagnostics); if (diagnostics.ShouldLog(definition)) { definition.Log(diagnostics, indexName, tableName); } // No DiagnosticsSource events because these are purely design-time messages }