1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Renamed System.Collections.Generic to System.Collections

This commit is contained in:
Brian Fiete 2020-04-29 06:40:03 -07:00
parent 4cb9791845
commit dbd9b32e3f
281 changed files with 368 additions and 341 deletions

View file

@ -3291,7 +3291,7 @@ void BfCompiler::UpdateRevisedTypes()
// latestTypeDef->mOuterType = mSystem->GetOuterTypeNonPartial(latestTypeDef);
// /*String fullName = typeDef->mFullNameEx.ToString();
// if (fullName == "System.Collections.Generic.List`1.Enumerator`1")
// if (fullName == "System.Collections.List`1.Enumerator`1")
// {
// NOP;
// }
@ -5941,9 +5941,9 @@ bool BfCompiler::DoCompile(const StringImpl& outputDirectory)
mResultTypeDef = _GetRequiredType("System.Result", 1);
mFunctionTypeDef = _GetRequiredType("System.Function");
mGCTypeDef = _GetRequiredType("System.GC");
mGenericIEnumerableTypeDef = _GetRequiredType("System.Collections.Generic.IEnumerable");
mGenericIEnumeratorTypeDef = _GetRequiredType("System.Collections.Generic.IEnumerator");
mGenericIRefEnumeratorTypeDef = _GetRequiredType("System.Collections.Generic.IRefEnumerator");
mGenericIEnumerableTypeDef = _GetRequiredType("System.Collections.IEnumerable", 1);
mGenericIEnumeratorTypeDef = _GetRequiredType("System.Collections.IEnumerator", 1);
mGenericIRefEnumeratorTypeDef = _GetRequiredType("System.Collections.IRefEnumerator", 1);
mInlineAttributeTypeDef = _GetRequiredType("System.InlineAttribute");
mInternalTypeDef = _GetRequiredType("System.Internal");
mIDisposableTypeDef = _GetRequiredType("System.IDisposable");

View file

@ -2,7 +2,7 @@
using System;
namespace System.Collections.Generic
namespace System.Collections
{
extension List<T> where T : Tests.Extensions.IGetExVal
{
@ -18,7 +18,7 @@ namespace System.Collections.Generic
}
}
namespace System.Collections.Generic
namespace System.Collections
{
extension TClass<T>
{
@ -148,7 +148,7 @@ namespace Tests
[Test]
public static void TestList()
{
System.Collections.Generic.List<ImpGetExVal> list = scope .();
System.Collections.List<ImpGetExVal> list = scope .();
ImpGetExVal val0 = scope ImpGetExVal();
list.Add(val0);

View file

@ -1,4 +1,4 @@
namespace System.Collections.Generic
namespace System.Collections
{
class TClass<T> : IDisposable
{