IGNITE-4406 .NET: Control DateTime serialization via attribute - seal the class
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e84d2378 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e84d2378 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e84d2378 Branch: refs/heads/ignite-5075 Commit: e84d237878f3e692875756661d79a56647259d5e Parents: 20f4d18 Author: Pavel Tupitsyn <ptupit...@apache.org> Authored: Thu May 18 11:32:55 2017 +0300 Committer: Pavel Tupitsyn <ptupit...@apache.org> Committed: Thu May 18 11:32:55 2017 +0300 ---------------------------------------------------------------------- .../dotnet/Apache.Ignite.Core/Binary/TimestampAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/e84d2378/modules/platforms/dotnet/Apache.Ignite.Core/Binary/TimestampAttribute.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Binary/TimestampAttribute.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Binary/TimestampAttribute.cs index 9e7d654..4e0defe 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Binary/TimestampAttribute.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Binary/TimestampAttribute.cs @@ -33,7 +33,7 @@ namespace Apache.Ignite.Core.Binary /// </summary> [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class | AttributeTargets.Struct)] - public class TimestampAttribute : Attribute + public sealed class TimestampAttribute : Attribute { // No-op. }