-
Notifications
You must be signed in to change notification settings - Fork 7
/
GlobalSuppressions.cs
37 lines (25 loc) · 2.28 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
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Reliability", "CA2007:Consider calling ConfigureAwait on the awaited task",
Justification = "Not required for non-library Console app")]
[assembly: SuppressMessage("Usage", "CA2227:Collection properties should be read only",
Justification = "Required for serialization", Scope = "type", Target = "~T:TimetableCalendarGenerator.Settings")]
[assembly: SuppressMessage("Usage", "CA2227:Collection properties should be read only",
Justification = "Required for serialization", Scope = "type", Target = "~T:TimetableCalendarGenerator.Absence")]
[assembly: SuppressMessage("Usage", "CA2227:Collection properties should be read only",
Justification = "Required for serialization", Scope = "type", Target = "~T:TimetableCalendarGenerator.Override")]
[assembly: SuppressMessage("Usage", "CA2227:Collection properties should be read only",
Justification = "Required for serialization", Scope = "type", Target = "~T:TimetableCalendarGenerator.Timing")]
[assembly: SuppressMessage("Globalization", "CA1303:Do not pass literals as localized parameters",
Justification = "Strings will not be localized")]
[assembly: SuppressMessage("Design", "CA1031:Do not catch general exception types",
Justification = "Catch-all is intended")]
[assembly: SuppressMessage("Globalization", "CA1308:Normalize strings to uppercase",
Justification = "Emails are case insensitive", Scope = "type", Target = "~T:TimetableCalendarGenerator.InputReader")]
[assembly: SuppressMessage("Reliability", "CA2000:Dispose objects before losing scope",
Justification = "Object lifecycle and disposal is managed by the class", Scope = "type", Target = "~T:TimetableCalendarGenerator.MicrosoftUnlimitedBatch`1")]
[assembly: SuppressMessage("Naming", "CA1724:Type names should not match namespaces",
Justification = "Clashes are not ambiguous.")]
[assembly: SuppressMessage("Maintainability", "CA1508:Avoid dead conditional code",
Justification = "Analyser error", Scope = "member", Target = "~M:TimetableCalendarGenerator.CalendarGenerator.Generate(TimetableCalendarGenerator.Person)")]
[assembly: SuppressMessage("Performance", "CA1852:Seal internal types",
Justification = "Analyser error", Scope = "type", Target = "~T:TimetableCalendarGenerator.MicrosoftUnlimitedBatch`1")]