a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
25 lines
352 B
C#
25 lines
352 B
C#
// Bug #80314
|
|
using System.Collections.Generic;
|
|
using System.Collections;
|
|
|
|
public class Temp<T> : IEnumerable<Temp<T>.Foo>
|
|
{
|
|
public class Foo { }
|
|
|
|
public IEnumerator<Temp<T>.Foo> GetEnumerator()
|
|
{
|
|
yield return new Foo ();
|
|
}
|
|
|
|
IEnumerator IEnumerable.GetEnumerator()
|
|
{
|
|
return GetEnumerator();
|
|
}
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{ }
|
|
}
|