1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-21 01:18:02 +02:00

Corlib fixes

This commit is contained in:
Brian Fiete 2020-06-10 05:44:27 -07:00
parent dce27867d3
commit a955361f6a
2 changed files with 8 additions and 1 deletions

View file

@ -184,6 +184,13 @@ namespace System
return Enumerator(this);
}
public override void ToString(String strBuffer)
{
strBuffer.Append("(");
typeof(T).GetFullName(strBuffer);
strBuffer.AppendF("*)0x{0:A}[{1}]", (uint)(void*)mPtr, mLength);
}
public struct Enumerator : IEnumerator<T>, IRefEnumerator<T*>
{
private Span<T> mList;