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:
parent
92d3ab6ca9
commit
7724c6ae64
5 changed files with 18 additions and 34 deletions
|
@ -177,7 +177,7 @@ namespace System.Collections
|
|||
return;
|
||||
for (int i < mCount)
|
||||
{
|
||||
GC.Mark_Unbound(mEntries[i]);
|
||||
mEntries[i].[Friend]GCMarkMembers();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -721,7 +721,7 @@ namespace System.Collections
|
|||
return;
|
||||
for (int i < mSize)
|
||||
{
|
||||
GC.Mark_Unbound(mItems[i]);
|
||||
GC.Mark!(mItems[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue