You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2017/03/28 07:27:48 UTC
ignite git commit: .NET: Fix code analysis warning
Repository: ignite
Updated Branches:
refs/heads/master 87477e08c -> 858ed3a55
.NET: Fix code analysis warning
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/858ed3a5
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/858ed3a5
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/858ed3a5
Branch: refs/heads/master
Commit: 858ed3a557e5a7da8dada086721bfe90e9af96eb
Parents: 87477e0
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Tue Mar 28 10:27:41 2017 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Tue Mar 28 10:27:41 2017 +0300
----------------------------------------------------------------------
.../Apache.Ignite.Core/Binary/BinaryArrayEqualityComparer.cs | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/858ed3a5/modules/platforms/dotnet/Apache.Ignite.Core/Binary/BinaryArrayEqualityComparer.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Binary/BinaryArrayEqualityComparer.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Binary/BinaryArrayEqualityComparer.cs
index ccc0808..7f8048a 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Binary/BinaryArrayEqualityComparer.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Binary/BinaryArrayEqualityComparer.cs
@@ -20,6 +20,7 @@ namespace Apache.Ignite.Core.Binary
using System;
using System.Collections.Generic;
using System.Diagnostics;
+ using System.Diagnostics.CodeAnalysis;
using Apache.Ignite.Core.Impl.Binary;
using Apache.Ignite.Core.Impl.Binary.IO;
@@ -32,6 +33,8 @@ namespace Apache.Ignite.Core.Binary
/// <summary>
/// Singleton instance.
/// </summary>
+ [SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes",
+ Justification = "Type is immutable.")]
public static readonly BinaryArrayEqualityComparer Instance = new BinaryArrayEqualityComparer();
/// <summary>