Files
mono/mcs/errors/cs1629.cs
T
Marek Safar 92f1702f9c more tests + update
svn path=/trunk/mcs/; revision=41443
2005-03-04 15:08:09 +00:00

13 lines
198 B
C#

// cs1629.cs: Unsafe code may not appear in iterators
// Line: 8
// Compiler options: -unsafe
using System.Collections;
class X {
static unsafe IEnumerator GetIt ()
{
yield return 1;
}
}