Resolve /v2/players/list generating a stack overflow

This commit is contained in:
Chris 2021-04-13 13:06:18 +09:30
parent 099256bdba
commit 32a0e2f1b6

View file

@ -94,17 +94,17 @@ namespace Rests
/// </summary>
/// <returns></returns>
public IEnumerator<EscapedParameter> GetEnumerator()
{
return GetEnumerator();
}
IEnumerator IEnumerable.GetEnumerator()
{
foreach (IParameter param in _collection)
{
yield return new EscapedParameter(param);
}
}
IEnumerator IEnumerable.GetEnumerator()
{
return this.GetEnumerator();
}
}
/// <summary>