ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptupit...@apache.org
Subject ignite git commit: .NET: Suppress incorrect code inspection errors
Date Thu, 15 Mar 2018 13:48:53 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 22eda40c8 -> 9fd6f4a4f


.NET: Suppress incorrect code inspection errors


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/9fd6f4a4
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/9fd6f4a4
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/9fd6f4a4

Branch: refs/heads/master
Commit: 9fd6f4a4f64581f3ec4a5a3a7e489226afa1ed0b
Parents: 22eda40
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Thu Mar 15 16:48:46 2018 +0300
Committer: Pavel Tupitsyn <ptupitsyn@apache.org>
Committed: Thu Mar 15 16:48:46 2018 +0300

----------------------------------------------------------------------
 .../dotnet/Apache.Ignite.Core/Impl/Common/DelegateTypeDescriptor.cs | 1 +
 .../platforms/dotnet/Apache.Ignite.Linq/Impl/ExpressionWalker.cs    | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/9fd6f4a4/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/DelegateTypeDescriptor.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/DelegateTypeDescriptor.cs
b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/DelegateTypeDescriptor.cs
index cc12caa..1621183 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/DelegateTypeDescriptor.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/DelegateTypeDescriptor.cs
@@ -203,6 +203,7 @@ namespace Apache.Ignite.Core.Impl.Common
         /// Throws an exception if first argument is not null.
         /// </summary>
         // ReSharper disable once UnusedParameter.Local
+        // ReSharper disable once ParameterOnlyUsedForPreconditionCheck.Local
         private static void ThrowIfMultipleInterfaces(object check, Type userType, Type interfaceType)
         {
             if (check != null)

http://git-wip-us.apache.org/repos/asf/ignite/blob/9fd6f4a4/modules/platforms/dotnet/Apache.Ignite.Linq/Impl/ExpressionWalker.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Linq/Impl/ExpressionWalker.cs b/modules/platforms/dotnet/Apache.Ignite.Linq/Impl/ExpressionWalker.cs
index 36655bc..0d6306a 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Linq/Impl/ExpressionWalker.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Linq/Impl/ExpressionWalker.cs
@@ -119,6 +119,7 @@ namespace Apache.Ignite.Linq.Impl
         /// Tries to find QuerySourceReferenceExpression
         /// </summary>
         public static QuerySourceReferenceExpression GetQuerySourceReference(Expression expression,
+            // ReSharper disable once ParameterOnlyUsedForPreconditionCheck.Global
             bool throwWhenNotFound = true)
         {
             var reference = expression as QuerySourceReferenceExpression;


Mime
View raw message