Skip to content

Commit 972473c

Browse files
committed
Deleting obsolete classes
1 parent 2b480ba commit 972473c

26 files changed

+3
-1300
lines changed

Foundation.NetStandard-2.0/Collections/ConcurrentQueue.cs

Lines changed: 0 additions & 99 deletions
This file was deleted.

Foundation.NetStandard-2.0/Collections/IProducerConsumerCollection.cs

Lines changed: 0 additions & 27 deletions
This file was deleted.

Foundation.NetStandard-2.0/Collections/IReadOnlyCollection.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

Foundation.NetStandard-2.0/Collections/IReadOnlyDictionary.cs

Lines changed: 0 additions & 57 deletions
This file was deleted.

Foundation.NetStandard-2.0/Collections/IReadOnlyList.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

Foundation.NetStandard-2.0/Collections/KeyValuePair.cs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,8 @@
22

33
namespace Foundation.Collections
44
{
5-
/// <summary>
6-
///
7-
/// </summary>
85
public static class KeyValuePair
96
{
10-
/// <summary>
11-
///
12-
/// </summary>
13-
/// <typeparam name="TKey"></typeparam>
14-
/// <typeparam name="TValue"></typeparam>
15-
/// <param name="key"></param>
16-
/// <param name="value"></param>
17-
/// <returns></returns>
18-
public static KeyValuePair<TKey, TValue> Create<TKey, TValue>(TKey key, TValue value)
19-
{
20-
return new KeyValuePair<TKey, TValue>(key, value);
21-
}
7+
public static KeyValuePair<TKey, TValue> Create<TKey, TValue>(TKey key, TValue value) => new KeyValuePair<TKey, TValue>(key, value);
228
}
239
}

Foundation.NetStandard-2.0/Collections/LargeObjectHeap.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,16 @@
33

44
namespace Foundation.Collections
55
{
6-
/// <summary>
7-
///
8-
/// </summary>
96
public static class LargeObjectHeap
107
{
118
private const int MinLargeObjectSize = 85000;
129
private const int MaxSmallObjectSize = MinLargeObjectSize - 1;
1310

14-
/// <summary>
15-
///
16-
/// </summary>
17-
/// <param name="itemSize"></param>
18-
/// <returns></returns>
1911
public static int GetSmallArrayMaxLength(int itemSize)
2012
{
2113
FoundationContract.Requires<ArgumentOutOfRangeException>(itemSize > 0);
2214

23-
return (MaxSmallObjectSize - 16)/itemSize;
15+
return (MaxSmallObjectSize - 16) / itemSize;
2416
}
2517
}
2618
}

Foundation.NetStandard-2.0/Collections/LinearSearch.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,8 @@
33

44
namespace Foundation.Collections
55
{
6-
/// <summary>
7-
///
8-
/// </summary>
96
public static class LinearSearch
107
{
11-
/// <summary>
12-
///
13-
/// </summary>
14-
/// <param name="minIndex"></param>
15-
/// <param name="maxIndex"></param>
16-
/// <param name="predicate"></param>
17-
/// <returns></returns>
188
public static int IndexOf(int minIndex, int maxIndex, Func<int, bool> predicate)
199
{
2010
Assert.IsNotNull(predicate);
@@ -35,13 +25,6 @@ public static int IndexOf(int minIndex, int maxIndex, Func<int, bool> predicate)
3525
return index;
3626
}
3727

38-
/// <summary>
39-
///
40-
/// </summary>
41-
/// <param name="minIndex"></param>
42-
/// <param name="maxIndex"></param>
43-
/// <param name="predicate"></param>
44-
/// <returns></returns>
4528
public static int LastIndexOf(int minIndex, int maxIndex, Func<int, bool> predicate)
4629
{
4730
Assert.IsNotNull(predicate);

Foundation.NetStandard-2.0/Collections/TupleEqualityComparer.cs

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)