This is an automated email from the ASF dual-hosted git repository. ptupitsyn pushed a commit to branch ignite-14067 in repository https://gitbox.apache.org/repos/asf/ignite.git
commit a0050d1189f4df1cef5343b19689424edbfc972b Author: Pavel Tupitsyn <[email protected]> AuthorDate: Wed Jan 27 18:29:32 2021 +0300 add test --- .../platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs index b167c46..bf75ae5 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs @@ -1673,6 +1673,7 @@ namespace Apache.Ignite.Core.Tests.Binary var res = _marsh.Unmarshal<NestedList[]>(bytes); Assert.AreEqual(2, res.Length); + Assert.AreEqual(0, res[0].Inner.Count); } private static void CheckKeepSerialized(BinaryConfiguration cfg, bool expKeep) @@ -2794,6 +2795,7 @@ namespace Apache.Ignite.Core.Tests.Binary private class NestedList { + // ReSharper disable once CollectionNeverUpdated.Local public IList<object> Inner { get; set; } } }
