mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-28 20:46:00 +02:00

Fixed a bunch of bugs in aggregate const initializers Fixed ZIP bugs Fixed a compilation case where we change protection while reifying a type Added another project kind - Dynamic Library Added [Export] for DLL method exporting Fixed some issues of things being generated as __NOINLINE incorrectly Fixed an issue with module extensions with not-yet-demanded on-demand methods Started adding Installer
35 lines
583 B
Beef
35 lines
583 B
Beef
using System;
|
|
|
|
namespace System.Collections
|
|
{
|
|
interface IEnumerator
|
|
{
|
|
Object Current { get; }
|
|
bool MoveNext();
|
|
void Reset();
|
|
void Dispose();
|
|
}
|
|
|
|
interface IEnumerable
|
|
{
|
|
IEnumerator GetEnumerator();
|
|
}
|
|
}
|
|
|
|
namespace System.Collections.Generic
|
|
{
|
|
interface IEnumerator<T>
|
|
{
|
|
Result<T> GetNext() mut;
|
|
}
|
|
|
|
interface IRefEnumerator<T> : IEnumerator<T>
|
|
{
|
|
Result<T*> GetNextRef() mut;
|
|
}
|
|
|
|
concrete interface IEnumerable<T>
|
|
{
|
|
concrete IEnumerator<T> GetEnumerator();
|
|
}
|
|
}
|