diff --git a/Tests/GenericCollections/GenericCollections.nfproj b/Tests/GenericCollections/GenericCollections.nfproj index 7cf766d..ee6899d 100644 --- a/Tests/GenericCollections/GenericCollections.nfproj +++ b/Tests/GenericCollections/GenericCollections.nfproj @@ -38,8 +38,8 @@ - - ..\..\packages\nanoFramework.CoreLibrary.2.0.0-preview.30\lib\netnano1.0\mscorlib.dll + + ..\..\packages\nanoFramework.CoreLibrary.2.0.0-preview.33\lib\netnano1.0\mscorlib.dll ..\..\packages\nanoFramework.TestFramework.4.0.0-preview.45\lib\nanoFramework.TestFramework.dll diff --git a/Tests/GenericCollections/packages.config b/Tests/GenericCollections/packages.config index 1f1664e..cbacd37 100644 --- a/Tests/GenericCollections/packages.config +++ b/Tests/GenericCollections/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/Tests/GenericCollections/packages.lock.json b/Tests/GenericCollections/packages.lock.json index 244e70c..c494c0c 100644 --- a/Tests/GenericCollections/packages.lock.json +++ b/Tests/GenericCollections/packages.lock.json @@ -4,9 +4,9 @@ ".NETnanoFramework,Version=v1.0": { "nanoFramework.CoreLibrary": { "type": "Direct", - "requested": "[2.0.0-preview.30, 2.0.0-preview.30]", - "resolved": "2.0.0-preview.30", - "contentHash": "Fz+5L0yOpe0ZoBpVRqH8G8Dr18OoXVE6sKertR/bPuWyOJiO42enlarudfv91/gpJXFkQGNCCdXpHWpoc77jyg==" + "requested": "[2.0.0-preview.33, 2.0.0-preview.33]", + "resolved": "2.0.0-preview.33", + "contentHash": "VVr+TmThdBt9zzXFzFewB5GUsNm2BE8+/3OtaCiJVg76v0Wr87A0Mi6R74hm78otfIhPJ66aPaRd+fA23dmJjQ==" }, "nanoFramework.TestFramework": { "type": "Direct", diff --git a/Tests/HashtableTests/HashtableTests.nfproj b/Tests/HashtableTests/HashtableTests.nfproj index 6f215b1..015f63b 100644 --- a/Tests/HashtableTests/HashtableTests.nfproj +++ b/Tests/HashtableTests/HashtableTests.nfproj @@ -33,8 +33,8 @@ - - ..\..\packages\nanoFramework.CoreLibrary.2.0.0-preview.30\lib\netnano1.0\mscorlib.dll + + ..\..\packages\nanoFramework.CoreLibrary.2.0.0-preview.33\lib\netnano1.0\mscorlib.dll ..\..\packages\nanoFramework.TestFramework.4.0.0-preview.45\lib\nanoFramework.TestFramework.dll diff --git a/Tests/HashtableTests/packages.config b/Tests/HashtableTests/packages.config index 1f1664e..cbacd37 100644 --- a/Tests/HashtableTests/packages.config +++ b/Tests/HashtableTests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/Tests/HashtableTests/packages.lock.json b/Tests/HashtableTests/packages.lock.json index 244e70c..c494c0c 100644 --- a/Tests/HashtableTests/packages.lock.json +++ b/Tests/HashtableTests/packages.lock.json @@ -4,9 +4,9 @@ ".NETnanoFramework,Version=v1.0": { "nanoFramework.CoreLibrary": { "type": "Direct", - "requested": "[2.0.0-preview.30, 2.0.0-preview.30]", - "resolved": "2.0.0-preview.30", - "contentHash": "Fz+5L0yOpe0ZoBpVRqH8G8Dr18OoXVE6sKertR/bPuWyOJiO42enlarudfv91/gpJXFkQGNCCdXpHWpoc77jyg==" + "requested": "[2.0.0-preview.33, 2.0.0-preview.33]", + "resolved": "2.0.0-preview.33", + "contentHash": "VVr+TmThdBt9zzXFzFewB5GUsNm2BE8+/3OtaCiJVg76v0Wr87A0Mi6R74hm78otfIhPJ66aPaRd+fA23dmJjQ==" }, "nanoFramework.TestFramework": { "type": "Direct", diff --git a/Tests/QueueTests/QueueTests.nfproj b/Tests/QueueTests/QueueTests.nfproj index f22b4af..f40fe97 100644 --- a/Tests/QueueTests/QueueTests.nfproj +++ b/Tests/QueueTests/QueueTests.nfproj @@ -31,8 +31,8 @@ - - ..\..\packages\nanoFramework.CoreLibrary.2.0.0-preview.30\lib\netnano1.0\mscorlib.dll + + ..\..\packages\nanoFramework.CoreLibrary.2.0.0-preview.33\lib\netnano1.0\mscorlib.dll ..\..\packages\nanoFramework.TestFramework.4.0.0-preview.45\lib\nanoFramework.TestFramework.dll diff --git a/Tests/QueueTests/packages.config b/Tests/QueueTests/packages.config index 1f1664e..cbacd37 100644 --- a/Tests/QueueTests/packages.config +++ b/Tests/QueueTests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/Tests/QueueTests/packages.lock.json b/Tests/QueueTests/packages.lock.json index 244e70c..c494c0c 100644 --- a/Tests/QueueTests/packages.lock.json +++ b/Tests/QueueTests/packages.lock.json @@ -4,9 +4,9 @@ ".NETnanoFramework,Version=v1.0": { "nanoFramework.CoreLibrary": { "type": "Direct", - "requested": "[2.0.0-preview.30, 2.0.0-preview.30]", - "resolved": "2.0.0-preview.30", - "contentHash": "Fz+5L0yOpe0ZoBpVRqH8G8Dr18OoXVE6sKertR/bPuWyOJiO42enlarudfv91/gpJXFkQGNCCdXpHWpoc77jyg==" + "requested": "[2.0.0-preview.33, 2.0.0-preview.33]", + "resolved": "2.0.0-preview.33", + "contentHash": "VVr+TmThdBt9zzXFzFewB5GUsNm2BE8+/3OtaCiJVg76v0Wr87A0Mi6R74hm78otfIhPJ66aPaRd+fA23dmJjQ==" }, "nanoFramework.TestFramework": { "type": "Direct", diff --git a/Tests/StackTests/StackTests.nfproj b/Tests/StackTests/StackTests.nfproj index e31164e..cffe3cc 100644 --- a/Tests/StackTests/StackTests.nfproj +++ b/Tests/StackTests/StackTests.nfproj @@ -33,8 +33,8 @@ - - ..\..\packages\nanoFramework.CoreLibrary.2.0.0-preview.30\lib\netnano1.0\mscorlib.dll + + ..\..\packages\nanoFramework.CoreLibrary.2.0.0-preview.33\lib\netnano1.0\mscorlib.dll ..\..\packages\nanoFramework.TestFramework.4.0.0-preview.45\lib\nanoFramework.TestFramework.dll diff --git a/Tests/StackTests/packages.config b/Tests/StackTests/packages.config index 1f1664e..cbacd37 100644 --- a/Tests/StackTests/packages.config +++ b/Tests/StackTests/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/Tests/StackTests/packages.lock.json b/Tests/StackTests/packages.lock.json index 244e70c..c494c0c 100644 --- a/Tests/StackTests/packages.lock.json +++ b/Tests/StackTests/packages.lock.json @@ -4,9 +4,9 @@ ".NETnanoFramework,Version=v1.0": { "nanoFramework.CoreLibrary": { "type": "Direct", - "requested": "[2.0.0-preview.30, 2.0.0-preview.30]", - "resolved": "2.0.0-preview.30", - "contentHash": "Fz+5L0yOpe0ZoBpVRqH8G8Dr18OoXVE6sKertR/bPuWyOJiO42enlarudfv91/gpJXFkQGNCCdXpHWpoc77jyg==" + "requested": "[2.0.0-preview.33, 2.0.0-preview.33]", + "resolved": "2.0.0-preview.33", + "contentHash": "VVr+TmThdBt9zzXFzFewB5GUsNm2BE8+/3OtaCiJVg76v0Wr87A0Mi6R74hm78otfIhPJ66aPaRd+fA23dmJjQ==" }, "nanoFramework.TestFramework": { "type": "Direct", diff --git a/nanoFramework.System.Collections.nuspec b/nanoFramework.System.Collections.nuspec index 7a06019..e5ff0ae 100644 --- a/nanoFramework.System.Collections.nuspec +++ b/nanoFramework.System.Collections.nuspec @@ -19,7 +19,7 @@ This package requires a target with System.Collections v$nativeVersion$ (checksum $checksum$). nanoFramework C# csharp netmf netnf - + diff --git a/nanoFramework.System.Collections/Collections/Generic/ICollection.cs b/nanoFramework.System.Collections/Collections/Generic/ICollection.cs deleted file mode 100644 index ea91aea..0000000 --- a/nanoFramework.System.Collections/Collections/Generic/ICollection.cs +++ /dev/null @@ -1,66 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -namespace System.Collections.Generic -{ - /// - /// Defines methods to manipulate generic collections. - /// - /// The type of the elements in the collection. - public interface ICollection : IEnumerable - { - /// - /// Gets the number of elements contained in the . - /// - /// - /// The number of elements contained in the . - /// - int Count - { - get; - } - - /// - /// Gets a value indicating whether the is read-only. - /// - /// - /// if the is read-only; otherwise, . - /// - bool IsReadOnly - { - get; - } - - /// - /// Adds an item to the . - /// - /// The object to add to the . - void Add(T item); - - /// - /// Removes all items from the . - /// - void Clear(); - - /// - /// Determines whether the contains a specific value. - /// - /// The object to locate in the . - /// if is found in the ; otherwise, . - bool Contains(T item); - - /// - /// Copies the elements of the to an , starting at a particular index. - /// - /// The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - /// The zero-based index in at which copying begins. - void CopyTo(T[] array, int arrayIndex); - - /// - /// Removes the first occurrence of a specific object from the . - /// - /// The object to remove from the . - /// true if item was successfully removed from the ; otherwise, false. This method also returns false if item is not found in the original . - bool Remove(T item); - } -} diff --git a/nanoFramework.System.Collections/Collections/Generic/ICollectionDebugView.cs b/nanoFramework.System.Collections/Collections/Generic/ICollectionDebugView.cs deleted file mode 100644 index d6a888f..0000000 --- a/nanoFramework.System.Collections/Collections/Generic/ICollectionDebugView.cs +++ /dev/null @@ -1,30 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Diagnostics; - -namespace System.Collections.Generic -{ - internal sealed class ICollectionDebugView - { - private readonly ICollection _collection; - - public ICollectionDebugView(ICollection collection) - { - ArgumentNullException.ThrowIfNull(collection); - - _collection = collection; - } - - [DebuggerBrowsable(DebuggerBrowsableState.RootHidden)] - public T[] Items - { - get - { - T[] items = new T[_collection.Count]; - _collection.CopyTo(items, 0); - return items; - } - } - } -} diff --git a/nanoFramework.System.Collections/Properties/AssemblyInfo.cs b/nanoFramework.System.Collections/Properties/AssemblyInfo.cs index cc9656c..cc80670 100644 --- a/nanoFramework.System.Collections/Properties/AssemblyInfo.cs +++ b/nanoFramework.System.Collections/Properties/AssemblyInfo.cs @@ -16,5 +16,5 @@ //////////////////////////////////////////////////////////////// // update this whenever the native assembly signature changes // -[assembly: AssemblyNativeVersion("100.2.0.1")] +[assembly: AssemblyNativeVersion("100.2.0.2")] //////////////////////////////////////////////////////////////// diff --git a/nanoFramework.System.Collections/nanoFramework.System.Collections.nfproj b/nanoFramework.System.Collections/nanoFramework.System.Collections.nfproj index 4cacb2b..5690723 100644 --- a/nanoFramework.System.Collections/nanoFramework.System.Collections.nfproj +++ b/nanoFramework.System.Collections/nanoFramework.System.Collections.nfproj @@ -49,10 +49,8 @@ - - @@ -70,8 +68,8 @@ - - ..\packages\nanoFramework.CoreLibrary.2.0.0-preview.30\lib\netnano1.0\mscorlib.dll + + ..\packages\nanoFramework.CoreLibrary.2.0.0-preview.33\lib\netnano1.0\mscorlib.dll diff --git a/nanoFramework.System.Collections/packages.config b/nanoFramework.System.Collections/packages.config index b07d6d6..eb8675c 100644 --- a/nanoFramework.System.Collections/packages.config +++ b/nanoFramework.System.Collections/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/nanoFramework.System.Collections/packages.lock.json b/nanoFramework.System.Collections/packages.lock.json index 85dabf3..f3f8f2e 100644 --- a/nanoFramework.System.Collections/packages.lock.json +++ b/nanoFramework.System.Collections/packages.lock.json @@ -4,9 +4,9 @@ ".NETnanoFramework,Version=v1.0": { "nanoFramework.CoreLibrary": { "type": "Direct", - "requested": "[2.0.0-preview.30, 2.0.0-preview.30]", - "resolved": "2.0.0-preview.30", - "contentHash": "Fz+5L0yOpe0ZoBpVRqH8G8Dr18OoXVE6sKertR/bPuWyOJiO42enlarudfv91/gpJXFkQGNCCdXpHWpoc77jyg==" + "requested": "[2.0.0-preview.33, 2.0.0-preview.33]", + "resolved": "2.0.0-preview.33", + "contentHash": "VVr+TmThdBt9zzXFzFewB5GUsNm2BE8+/3OtaCiJVg76v0Wr87A0Mi6R74hm78otfIhPJ66aPaRd+fA23dmJjQ==" }, "Nerdbank.GitVersioning": { "type": "Direct",