2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1629.cs
blob4b969744c051657cd16dd9cd4119d16118acf9d7
1 // cs1629.cs: Unsafe code may not appear in iterators
2 // Line: 8
3 // Compiler options: -unsafe
5 using System.Collections;
7 class X {
8 static unsafe IEnumerator GetIt ()
10 yield return 1;