diff options
author | 杨宇千 <crupest@outlook.com> | 2019-10-20 16:24:11 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-10-20 16:24:11 +0800 |
commit | c9cc1e18fb36df25ad28778c26e4b2bd88b6a96d (patch) | |
tree | 27c788de2ef4475dd50c5720209eb6f1df866130 /Timeline.Tests/GlobalSuppressions.cs | |
parent | 7bcf891d9d68ac0f12570b94938347ab8eec3247 (diff) | |
download | timeline-c9cc1e18fb36df25ad28778c26e4b2bd88b6a96d.tar.gz timeline-c9cc1e18fb36df25ad28778c26e4b2bd88b6a96d.tar.bz2 timeline-c9cc1e18fb36df25ad28778c26e4b2bd88b6a96d.zip |
...
Diffstat (limited to 'Timeline.Tests/GlobalSuppressions.cs')
-rw-r--r-- | Timeline.Tests/GlobalSuppressions.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Timeline.Tests/GlobalSuppressions.cs b/Timeline.Tests/GlobalSuppressions.cs new file mode 100644 index 00000000..6562efbb --- /dev/null +++ b/Timeline.Tests/GlobalSuppressions.cs @@ -0,0 +1,9 @@ +// 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.
+
+[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Reliability", "CA2007:Consider calling ConfigureAwait on the awaited task", Justification = "This is not a UI application.")]
+[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores", Justification = "Tests name have underscores.")]
+[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1063:Implement IDisposable Correctly", Justification = "Test classes do not need to implement it that way.")]
+[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA1816:Dispose methods should call SuppressFinalize", Justification = "Test classes do not need to implement it that way.")]
|