IGNITE-6382 .NET: Set up NDepend project This closes #2786
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/b21f750f Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/b21f750f Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/b21f750f Branch: refs/heads/ignite-2.3 Commit: b21f750f74d0b6598693184d5925addfe828b7ca Parents: f42f34b Author: Pavel Tupitsyn <[email protected]> Authored: Tue Oct 3 13:27:51 2017 +0300 Committer: Pavel Tupitsyn <[email protected]> Committed: Tue Oct 3 13:27:51 2017 +0300 ---------------------------------------------------------------------- modules/platforms/.gitignore | 3 +- .../Impl/Binary/BinaryProcessorClient.cs | 4 +- .../Client/Cache/Query/ClientQueryCursor.cs | 1 - .../Apache.Ignite.Core/Impl/Events/Events.cs | 2 +- .../Impl/Unmanaged/UnmanagedCallbacks.cs | 2 +- modules/platforms/dotnet/Apache.Ignite.ndproj | 11139 +++++++++++++++++ parent/pom.xml | 1 + 7 files changed, 11146 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/b21f750f/modules/platforms/.gitignore ---------------------------------------------------------------------- diff --git a/modules/platforms/.gitignore b/modules/platforms/.gitignore index 6c05af0..4b415cb 100644 --- a/modules/platforms/.gitignore +++ b/modules/platforms/.gitignore @@ -28,4 +28,5 @@ ipch/ [Rr]elease*/ packages *.classname -*.nupkg \ No newline at end of file +*.nupkg +NDependOut \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ignite/blob/b21f750f/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryProcessorClient.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryProcessorClient.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryProcessorClient.cs index 26a8e9b..816e24a 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryProcessorClient.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryProcessorClient.cs @@ -59,7 +59,7 @@ namespace Apache.Ignite.Core.Impl.Binary /** <inheritdoc /> */ public List<IBinaryType> GetBinaryTypes() { - throw new NotImplementedException(); + throw new NotSupportedException(); } /** <inheritdoc /> */ @@ -96,7 +96,7 @@ namespace Apache.Ignite.Core.Impl.Binary /** <inheritdoc /> */ public BinaryType RegisterEnum(string typeName, IEnumerable<KeyValuePair<string, int>> values) { - throw new NotImplementedException(); + throw new NotSupportedException(); } /** <inheritdoc /> */ http://git-wip-us.apache.org/repos/asf/ignite/blob/b21f750f/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/Query/ClientQueryCursor.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/Query/ClientQueryCursor.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/Query/ClientQueryCursor.cs index 75aa5df..ff891db 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/Query/ClientQueryCursor.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/Query/ClientQueryCursor.cs @@ -18,7 +18,6 @@ namespace Apache.Ignite.Core.Impl.Client.Cache.Query { using System.Collections.Generic; - using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using Apache.Ignite.Core.Cache; http://git-wip-us.apache.org/repos/asf/ignite/blob/b21f750f/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Events/Events.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Events/Events.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Events/Events.cs index 55f5be8..a81523a 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Events/Events.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Events/Events.cs @@ -284,7 +284,7 @@ namespace Apache.Ignite.Core.Impl.Events /** <inheritDoc /> */ public void RecordLocal(IEvent evt) { - throw new NotImplementedException("IGNITE-1410"); + throw new NotSupportedException("IGNITE-1410"); } /** <inheritDoc /> */ http://git-wip-us.apache.org/repos/asf/ignite/blob/b21f750f/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedCallbacks.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedCallbacks.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedCallbacks.cs index 37a24b1..2cc3659 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedCallbacks.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedCallbacks.cs @@ -1060,7 +1060,7 @@ namespace Apache.Ignite.Core.Impl.Unmanaged return 0; } - private long MemoryReallocate(long memPtr, long cap, long unused, void* arg) + private static long MemoryReallocate(long memPtr, long cap, long unused, void* arg) { IgniteManager.Memory.Get(memPtr).Reallocate((int)cap);
