Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs1629.cs
blob7a6a3ed2ec39d966cd3c18b70b0d2b336fea2fb5
1 // CS1629: 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;