-
Notifications
You must be signed in to change notification settings - Fork 7
/
GlobalSuppressions.cs
41 lines (38 loc) · 3.39 KB
/
GlobalSuppressions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/// <summary>
/// Author: Cornelius J. van Dyk blog.cjvandyk.com @cjvandyk
/// This code is provided under GNU GPL 3.0 and is a copyrighted work of the
/// author and contributors. Please see:
/// https://github.com/cjvandyk/Extensions/blob/main/LICENSE
/// </summary>
// 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;
[assembly: SuppressMessage("CodeQuality", "IDE0051:Remove unused private members", Justification = "CvD")]
[assembly: SuppressMessage("CodeQuality", "IDE0052:Remove unread private members", Justification = "CvD")]
[assembly: SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "CvD")]
[assembly: SuppressMessage("Maintainability", "CA1507:Use nameof to express symbol names", Justification = "CvD")]
[assembly: SuppressMessage("Maintainability", "CA1510:Use ArgumentNullException throw helper", Justification = "CvD")]
[assembly: SuppressMessage("Performance", "CA1845:Use span-based 'string.Concat'", Justification = "CvD")]
[assembly: SuppressMessage("Performance", "CA1862:Use the 'StringComparison' method overloads to perform case-insensitive string comparisons", Justification = "CvD")]
[assembly: SuppressMessage("Performance", "SYSLIB1045:Convert to 'GeneratedRegexAttribute'.", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0017:Simplify object initialization", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0031:Use null propagation", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0035:Unreachable code detected", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0056:Use index operator", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0057:Use range operator", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0059:Unnecessary assignment of a value", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0071:Simplify interpolation", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0074:Use compound assignment", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0075:Simplify conditional expression", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0090:Use 'new(...)'", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0060:Remove unused parameter", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0290:Use primary constructor", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0300:Simplify collection initialization", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE0305:Simplify collection initialization", Justification = "CvD")]
[assembly: SuppressMessage("Style", "IDE1005:Delegate invocation can be simplified.", Justification = "CvD")]
[assembly: SuppressMessage("Usage", "CA2211:Non-constant fields should not be visible", Justification = "CvD")]
[assembly: SuppressMessage("Usage", "CA2249:Consider using 'string.Contains' instead of 'string.IndexOf'", Justification = "CvD")]
[assembly: SuppressMessage("Usage", "CA2254:Template should be a static expression", Justification = "CvD")]
[assembly: SuppressMessage("Usage", "CS8600:Converting null literal or possible null value to non-nullable type.", Justification = "CvD")]