mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
13 lines
198 B
C#
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;
|
|
}
|
|
|
|
} |