-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGlobalSuppressions.cs
20 lines (17 loc) · 1.74 KB
/
GlobalSuppressions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
// SonarLint-related analyzers cannot be disabled in .editorconfig file, therefore disabling them here.
[assembly: SuppressMessage("", "S112:General or reserved exceptions should never be thrown", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S127:\"for\" loop stop conditions should be invariant", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S1066:Mergeable \"if\" statements should be combined", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S1121:Assignments should not be made from within sub-expressions", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S3060:\"is\" should not be used with \"this\"", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S3267:Loops should be simplified with \"LINQ\" expressions", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S3358:Ternary operators should not be nested", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S3963:\"static\" fields should be initialized inline", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S6602:\"Find\" method should be used instead of the \"FirstOrDefault\" extension", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S6605:Collection-specific \"Exists\" method should be used instead of the \"Any\" extension", Justification = "<Pending>")]
[assembly: SuppressMessage("", "S6667:Logging in a catch clause should pass the caught exception as a parameter", Justification = "<Pending>")]