Commit 7b80be2c authored by Ben Lambell's avatar Ben Lambell

Add empty enumeration support

parent d3143796
......@@ -47,6 +47,11 @@ namespace Recurse.Common.Collections
_items = new[] { item };
}
public Enumeration()
{
_items = new T[0];
}
public IEnumerator<T> GetEnumerator()
{
foreach (var item in _items)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment