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: SG.CodeCoverage.Recorder/GlobalSuppressions.cs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
// a specific target and scoped to a namespace, type, member, etc.
5
5
6
6
7
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="The exceptions should be sent back to the client that invoked the command.",Scope="member",Target="~M:SG.CodeCoverage.Recorder.Server.ProcessCommand(System.String)~System.String")]
8
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="This method is async and is not awaited anywhere, so it should not raise any exceptions.",Scope="member",Target="~M:SG.CodeCoverage.Recorder.Server.StartAsync(System.Int32)~System.Threading.Tasks.Task")]
9
-
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="This method is async and is not awaited anywhere, so it should not raise any exceptions.",Scope="member",Target="~M:SG.CodeCoverage.Recorder.Server.AcceptAsync(System.Net.Sockets.TcpClient)~System.Threading.Tasks.Task")]
7
+
usingSystem.Diagnostics.CodeAnalysis;
8
+
9
+
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="The exceptions should be sent back to the client that invoked the command.",Scope="member",Target="~M:SG.CodeCoverage.Recorder.RecordingController.Server.ProcessCommand(System.String)~System.String")]
10
+
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="This method is async and is not awaited anywhere, so it should not raise any exceptions.",Scope="member",Target="~M:SG.CodeCoverage.Recorder.RecordingController.Server.StartAsync(System.Int32)~System.Threading.Tasks.Task")]
11
+
[assembly:SuppressMessage("Design","CA1031:Do not catch general exception types",Justification="This method is async and is not awaited anywhere, so it should not raise any exceptions.",Scope="member",Target="~M:SG.CodeCoverage.Recorder.RecordingController.Server.AcceptAsync(System.Net.Sockets.TcpClient)~System.Threading.Tasks.Task")]
0 commit comments