You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Serilog.Sinks.MSSqlServer/GlobalSuppressions.cs
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,10 @@
7
7
8
8
[assembly:SuppressMessage("Globalization","CA1303:Do not pass literals as localized parameters",Justification="Supplying string literals and not using resources is accepted within this project.",Scope="namespaceanddescendants",Target="Serilog.Sinks.MSSqlServer")]
9
9
[assembly:SuppressMessage("Security","CA2100:Review SQL queries for security vulnerabilities",Justification="Too hard to change. Accepted for now.",Scope="namespaceanddescendants",Target="Serilog.Sinks.MSSqlServer")]
10
-
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="Too hard to change. Accepted for now.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.MSSqlServerSinkTraits.TryChangeType(System.Object,System.Type,System.Object@)~System.Boolean")]
11
-
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="Too hard to change. Accepted for now.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.MSSqlServerSink.EmitBatchAsync(System.Collections.Generic.IEnumerable{Serilog.Events.LogEvent})~System.Threading.Tasks.Task")]
12
-
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="Too hard to change. Accepted for now.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.MSSqlServerSinkTraits.ConvertPropertiesToXmlStructure(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,Serilog.Events.LogEventPropertyValue}})~System.String")]
13
-
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="Too hard to change. Accepted for now.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.MSSqlServerSinkTraits.#ctor(System.String,System.String,Serilog.Sinks.MSSqlServer.ColumnOptions,System.IFormatProvider,System.Boolean,Serilog.Formatting.ITextFormatter,Serilog.Sinks.MSSqlServer.Platform.ISqlTableCreator)")]
14
-
[assembly:SuppressMessage("Design","CA1062:Validate arguments of public methods",Justification="Serilog core guarantees to call Emit() with non-null logEvent parameter.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.MSSqlServerAuditSink.Emit(Serilog.Events.LogEvent)")]
15
-
[assembly:SuppressMessage("Design","CA1062:Validate arguments of public methods",Justification="Serilog core guarantees to call EmitBatchAsync() with non-null logEvent parameter.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.MSSqlServerSink.EmitBatchAsync(System.Collections.Generic.IEnumerable{Serilog.Events.LogEvent})~System.Threading.Tasks.Task")]
10
+
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="Too hard to change. Accepted for now.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.Platform.SqlTableCreator.CreateTable(System.String,System.String,System.Data.DataTable,Serilog.Sinks.MSSqlServer.ColumnOptions)")]
11
+
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="Too hard to change. Accepted for now.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.Sinks.MSSqlServer.Platform.SqlBulkBatchWriter.WriteBatch(System.Collections.Generic.IEnumerable{Serilog.Events.LogEvent},System.Data.DataTable)~System.Threading.Tasks.Task")]
12
+
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="Too hard to change. Accepted for now.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.Output.StandardColumnDataGenerator.ConvertPropertiesToXmlStructure(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,Serilog.Events.LogEventPropertyValue}})~System.String")]
13
+
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="Too hard to change. Accepted for now.",Scope="member",Target="~M:Serilog.Sinks.MSSqlServer.Output.PropertiesColumnDataGenerator.TryChangeType(System.Object,System.Type,System.Object@)~System.Boolean")]
16
14
[assembly:SuppressMessage("Design","CA1034:Nested types should not be visible",Justification="Cannot be changed on public classes for backward compatibility reasons.",Scope="namespaceanddescendants",Target="Serilog.Sinks.MSSqlServer")]
17
15
[assembly:SuppressMessage("Usage","CA2227:Collection properties should be read only",Justification="Cannot be changed on public classes for backward compatibility reasons.",Scope="type",Target="~T:Serilog.Sinks.MSSqlServer.ColumnOptions")]
18
16
[assembly:SuppressMessage("Design","CA1010:Collections should implement generic interface",Justification="Cannot be changed on public classes for backward compatibility reasons.",Scope="namespaceanddescendants",Target="Serilog.Sinks.MSSqlServer")]
0 commit comments