a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
13 lines
195 B
C#
13 lines
195 B
C#
// CS1629: Unsafe code may not appear in iterators
|
|
// Line: 8
|
|
// Compiler options: -unsafe
|
|
|
|
using System.Collections;
|
|
|
|
class X {
|
|
static unsafe IEnumerator GetIt ()
|
|
{
|
|
yield return 1;
|
|
}
|
|
|
|
} |