.NET: Fix code analysis warning
@@ -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>
