Skip to content

Commit a5b9e08

Browse files
committed
Remove unnecessary suppressions
The first relates to code that's no longer present. The last relates to a false positive that was fixed by Code Analysis 3.0.0. This requires disabling the Code Analysis extension, as otherwise you'll still get this error.
1 parent 695664d commit a5b9e08

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

OnTopic/GlobalSuppressions.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,4 @@
55

66
using System.Diagnostics.CodeAnalysis;
77

8-
[assembly: SuppressMessage("Globalization", "CA1307:Specify StringComparison", Justification = "Invalid overload; known bug in code analysis", Scope = "member", Target = "~P:OnTopic.Metadata.AttributeDescriptor.Configuration")]
9-
[assembly: SuppressMessage("Globalization", "CA1307:Specify StringComparison", Justification = "Invalid overload; known bug in code analysis", Scope = "member", Target = "~M:OnTopic.Topic.GetWebPath~System.String")]
10-
[assembly: SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "False positive; apparent bug in code analysis", Scope = "member", Target = "~M:OnTopic.Repositories.TopicRepositoryBase.GetContentTypeDescriptors~OnTopic.Metadata.ContentTypeDescriptorCollection")]
8+
[assembly: SuppressMessage("Globalization", "CA1307:Specify StringComparison", Justification = "Invalid overload; known bug in code analysis", Scope = "member", Target = "~M:OnTopic.Topic.GetWebPath~System.String")]

0 commit comments

Comments
 (0)