ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject ignite git commit: .Net: Set proper "CLSCompliant" attributes to unsafe public classes.
Date Mon, 07 Sep 2015 13:52:19 GMT
Repository: ignite
Updated Branches:
  refs/heads/master c2d19b177 -> f8aafe448


.Net: Set proper "CLSCompliant" attributes to unsafe public classes.


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

Branch: refs/heads/master
Commit: f8aafe448335792448be8483a4b3ebc5bd5b83ba
Parents: c2d19b1
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Mon Sep 7 16:52:59 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Mon Sep 7 16:52:59 2015 +0300

----------------------------------------------------------------------
 .../src/main/dotnet/Apache.Ignite.Core/Impl/Common/Future.cs      | 1 +
 .../dotnet/Apache.Ignite.Core/Impl/Common/IFutureConverter.cs     | 2 ++
 .../main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureInternal.cs | 1 +
 .../main/dotnet/Apache.Ignite.Core/Impl/Memory/IPlatformMemory.cs | 3 +++
 .../main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemory.cs  | 1 +
 .../Apache.Ignite.Core/Impl/Memory/PlatformMemoryManager.cs       | 2 ++
 .../dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryPool.cs   | 1 +
 .../dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryStream.cs | 1 +
 .../dotnet/Apache.Ignite.Core/Impl/Memory/PlatformRawMemory.cs    | 1 +
 9 files changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f8aafe44/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/Future.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/Future.cs b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/Future.cs
index 0bbc1a2..92b4fce 100644
--- a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/Future.cs
+++ b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/Future.cs
@@ -29,6 +29,7 @@ namespace Apache.Ignite.Core.Impl.Common
     /// Grid future implementation.
     /// </summary>
     [SuppressMessage("ReSharper", "ParameterHidesMember")]
+    [CLSCompliant(false)]
     public sealed class Future<T> : IFutureInternal, IFuture<T>
     {
         /** Converter. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/f8aafe44/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureConverter.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureConverter.cs
b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureConverter.cs
index 4169c61..e07597d 100644
--- a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureConverter.cs
+++ b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureConverter.cs
@@ -17,11 +17,13 @@
 
 namespace Apache.Ignite.Core.Impl.Common
 {
+    using System;
     using Apache.Ignite.Core.Impl.Portable.IO;
 
     /// <summary>
     /// Marshals and converts future value.
     /// </summary>
+    [CLSCompliant(false)]
     public interface IFutureConverter<out T>
     {
         /// <summary>

http://git-wip-us.apache.org/repos/asf/ignite/blob/f8aafe44/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureInternal.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureInternal.cs
b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureInternal.cs
index 8547545..90f06be 100644
--- a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureInternal.cs
+++ b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Common/IFutureInternal.cs
@@ -23,6 +23,7 @@ namespace Apache.Ignite.Core.Impl.Common
     /// <summary>
     /// Internal future interface.
     /// </summary>
+    [CLSCompliant(false)]
     public interface IFutureInternal
     {
         /// <summary>

http://git-wip-us.apache.org/repos/asf/ignite/blob/f8aafe44/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/IPlatformMemory.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/IPlatformMemory.cs
b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/IPlatformMemory.cs
index ff91f48..93fd164 100644
--- a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/IPlatformMemory.cs
+++ b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/IPlatformMemory.cs
@@ -17,9 +17,12 @@
 
 namespace Apache.Ignite.Core.Impl.Memory
 {
+    using System;
+
     /// <summary>
     /// Platform memory chunk.
     /// </summary>
+    [CLSCompliant(false)]
     public interface IPlatformMemory
     {
         /// <summary>

http://git-wip-us.apache.org/repos/asf/ignite/blob/f8aafe44/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemory.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemory.cs
b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemory.cs
index e19505c..3a9ed26 100644
--- a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemory.cs
+++ b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemory.cs
@@ -22,6 +22,7 @@ namespace Apache.Ignite.Core.Impl.Memory
     /// <summary>
     /// Abstract memory chunk.
     /// </summary>
+    [CLSCompliant(false)]
     public abstract class PlatformMemory : IPlatformMemory
     {
         /** Memory pointer. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/f8aafe44/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryManager.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryManager.cs
b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryManager.cs
index 3dc3953..b280140 100644
--- a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryManager.cs
+++ b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryManager.cs
@@ -17,6 +17,7 @@
 
 namespace Apache.Ignite.Core.Impl.Memory
 {
+    using System;
     using System.Diagnostics.CodeAnalysis;
     using System.Threading;
 
@@ -25,6 +26,7 @@ namespace Apache.Ignite.Core.Impl.Memory
     /// </summary>
     [SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable",
         Justification = "This class instance usually lives as long as the app runs.")]
+    [CLSCompliant(false)]
     public class PlatformMemoryManager
     {
         /** Default capacity. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/f8aafe44/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryPool.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryPool.cs
b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryPool.cs
index 3cdcd2d..75e8965 100644
--- a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryPool.cs
+++ b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryPool.cs
@@ -23,6 +23,7 @@ namespace Apache.Ignite.Core.Impl.Memory
     /// <summary>
     /// Platform memory pool.
     /// </summary>
+    [CLSCompliant(false)]
     public class PlatformMemoryPool : SafeHandleMinusOneIsInvalid
     {
         /** First pooled memory chunk. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/f8aafe44/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryStream.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryStream.cs
b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryStream.cs
index f151763..71da18f 100644
--- a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryStream.cs
+++ b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformMemoryStream.cs
@@ -25,6 +25,7 @@ namespace Apache.Ignite.Core.Impl.Memory
     /// <summary>
     /// Platform memory stream.
     /// </summary>
+    [CLSCompliant(false)]
     public unsafe class PlatformMemoryStream : IPortableStream
     {
         /** Length: 1 byte. */

http://git-wip-us.apache.org/repos/asf/ignite/blob/f8aafe44/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformRawMemory.cs
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformRawMemory.cs
b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformRawMemory.cs
index 6de9f43..59c915b 100644
--- a/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformRawMemory.cs
+++ b/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Memory/PlatformRawMemory.cs
@@ -22,6 +22,7 @@ namespace Apache.Ignite.Core.Impl.Memory
     /// <summary>
     /// Non-resizeable raw memory chunk without metadata header.
     /// </summary>
+    [CLSCompliant(false)]
     public class PlatformRawMemory : IPlatformMemory
     {
         /** */


Mime
View raw message