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

Made GC.Mark a mixin for less module rebuilding

This commit is contained in:
Brian Fiete 2020-08-04 10:31:13 -07:00
parent 92d3ab6ca9
commit 7724c6ae64
5 changed files with 18 additions and 34 deletions

View file

@ -177,7 +177,7 @@ namespace System.Collections
return;
for (int i < mCount)
{
GC.Mark_Unbound(mEntries[i]);
mEntries[i].[Friend]GCMarkMembers();
}
}

View file

@ -721,7 +721,7 @@ namespace System.Collections
return;
for (int i < mSize)
{
GC.Mark_Unbound(mItems[i]);
GC.Mark!(mItems[i]);
}
}

View file

@ -334,7 +334,7 @@ namespace System.Collections
int allocSize = AllocSize;
for (int i < mSize)
{
GC.Mark_Unbound(mItems[(i + mHead) % allocSize]);
GC.Mark!(mItems[(i + mHead) % allocSize]);
}
}