You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/01/18 15:12:32 UTC
[27/50] ignite git commit: wip
wip
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/34a4eb48
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/34a4eb48
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/34a4eb48
Branch: refs/heads/ignite-2324
Commit: 34a4eb48733e5110676a4cacbef128468618fb77
Parents: 0c1f704
Author: Pavel Tupitsyn <pt...@gridgain.com>
Authored: Wed Jan 13 19:36:19 2016 +0300
Committer: Pavel Tupitsyn <pt...@gridgain.com>
Committed: Wed Jan 13 19:36:19 2016 +0300
----------------------------------------------------------------------
.../dotnet/Apache.Ignite.Core/Impl/Binary/Metadata/BinaryType.cs | 3 +++
.../dotnet/Apache.Ignite.Core/Impl/Common/CancelledTask.cs | 3 +++
modules/platforms/dotnet/Apache.Ignite.Core/Impl/IgniteUtils.cs | 3 +++
3 files changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/34a4eb48/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Metadata/BinaryType.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Metadata/BinaryType.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Metadata/BinaryType.cs
index 2ee6ebe..28dfb1a 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Metadata/BinaryType.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Metadata/BinaryType.cs
@@ -18,6 +18,7 @@
namespace Apache.Ignite.Core.Impl.Binary.Metadata
{
using System.Collections.Generic;
+ using System.Diagnostics.CodeAnalysis;
using Apache.Ignite.Core.Binary;
/// <summary>
@@ -56,6 +57,8 @@ namespace Apache.Ignite.Core.Impl.Binary.Metadata
/// <summary>
/// Initializes the <see cref="BinaryType"/> class.
/// </summary>
+ [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline",
+ Justification = "Readability.")]
static BinaryType()
{
TypeNames[BinaryUtils.TypeBool] = BinaryTypeNames.TypeNameBool;
http://git-wip-us.apache.org/repos/asf/ignite/blob/34a4eb48/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/CancelledTask.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/CancelledTask.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/CancelledTask.cs
index 0a84d81..7551d35 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/CancelledTask.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/CancelledTask.cs
@@ -17,6 +17,7 @@
namespace Apache.Ignite.Core.Impl.Common
{
+ using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
/// <summary>
@@ -30,6 +31,8 @@ namespace Apache.Ignite.Core.Impl.Common
/// <summary>
/// Initializes the <see cref="CancelledTask{T}"/> class.
/// </summary>
+ [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline",
+ Justification = "Readability.")]
static CancelledTask()
{
TaskCompletionSource = new TaskCompletionSource<T>();
http://git-wip-us.apache.org/repos/asf/ignite/blob/34a4eb48/modules/platforms/dotnet/Apache.Ignite.Core/Impl/IgniteUtils.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/IgniteUtils.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/IgniteUtils.cs
index 5fcf8d7..fe4548c 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/IgniteUtils.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/IgniteUtils.cs
@@ -19,6 +19,7 @@ namespace Apache.Ignite.Core.Impl
{
using System;
using System.Collections.Generic;
+ using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
@@ -64,6 +65,8 @@ namespace Apache.Ignite.Core.Impl
/// <summary>
/// Initializes the <see cref="IgniteUtils"/> class.
/// </summary>
+ [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline",
+ Justification = "Readability.")]
static IgniteUtils()
{
TryCleanTempDirectories();