Files
mono/mcs/errors/cs1637.cs
T
Marek Safar 9bbfdd1a0e new error tests
svn path=/trunk/mcs/; revision=42683
2005-04-08 10:35:51 +00:00

13 lines
232 B
C#

// CS1637: Iterators cannot have unsafe parameters or yield types
// Line: 6
// Compiler options: /unsafe
unsafe class C
{
public System.Collections.IEnumerator GetEnumerator (int* p)
{
yield return 1;
}
}