1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 17:08:00 +02:00

Added Obsolete support for moved collections

This commit is contained in:
Brian Fiete 2020-04-29 09:53:48 -07:00
parent dbd9b32e3f
commit 842a6a8898
16 changed files with 232 additions and 109 deletions

View file

@ -116,3 +116,9 @@ namespace System.Collections
}
}
}
namespace System.Collections.Generic
{
[Obsolete("The System.Collections.Generic types have been moved into System.Collections", false)]
typealias BinaryHeap<T> = System.Collections.BinaryHeap<T>;
}

View file

@ -940,3 +940,9 @@ namespace System.Collections
}
}
}
namespace System.Collections.Generic
{
[Obsolete("The System.Collections.Generic types have been moved into System.Collections", false)]
typealias Dictionary<TKey, TValue> = System.Collections.Dictionary<TKey, TValue>;
}

View file

@ -1164,3 +1164,9 @@ namespace System.Collections
}
}
}
namespace System.Collections.Generic
{
[Obsolete("The System.Collections.Generic types have been moved into System.Collections", false)]
typealias HashSet<T> = System.Collections.HashSet<T>;
}

View file

@ -37,3 +37,9 @@ namespace System.Collections
}
}
}
namespace System.Collections.Generic
{
[Obsolete("The System.Collections.Generic types have been moved into System.Collections", false)]
typealias KeyValuePair<TKey, TValue> = System.Collections.KeyValuePair<TKey, TValue>;
}

View file

@ -798,3 +798,9 @@ namespace System.Collections
}*/
}
}
namespace System.Collections.Generic
{
[Obsolete("The System.Collections.Generic types have been moved into System.Collections", false)]
typealias List<T> = System.Collections.List<T>;
}

View file

@ -460,3 +460,9 @@ namespace System.Collections
}
}
}
namespace System.Collections.Generic
{
[Obsolete("The System.Collections.Generic types have been moved into System.Collections", false)]
typealias Queue<T> = System.Collections.Queue<T>;
}

View file

@ -299,3 +299,9 @@ namespace System.Collections
}
}
}
namespace System.Collections.Generic
{
[Obsolete("The System.Collections.Generic types have been moved into System.Collections", false)]
typealias Sorter<T, T2> = System.Collections.Sorter<T, T2>;
}