Skip to content

Commit

Permalink
PR #605: Suppress CA1707 warnings in the Constants classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy committed Apr 27, 2021
1 parent 95b353f commit 1493f69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ICSharpCode.SharpZipLib/GZip/GZipConstants.cs
Expand Up @@ -3,6 +3,7 @@ namespace ICSharpCode.SharpZipLib.GZip
/// <summary>
/// This class contains constants used for gzip.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores", Justification = "kept for backwards compatibility")]
sealed public class GZipConstants
{
/// <summary>
Expand Down
Expand Up @@ -5,6 +5,7 @@ namespace ICSharpCode.SharpZipLib.Zip.Compression
/// <summary>
/// This class contains constants used for deflation.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores", Justification = "kept for backwards compatibility")]
public static class DeflaterConstants
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions src/ICSharpCode.SharpZipLib/Zip/ZipConstants.cs
Expand Up @@ -237,6 +237,7 @@ public enum GeneralBitFlags
/// <summary>
/// This class contains constants used for Zip format files
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores", Justification = "kept for backwards compatibility")]
public static class ZipConstants
{
#region Versions
Expand Down

0 comments on commit 1493f69

Please sign in to comment.