[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs8176.cs
blob514c0b2b554a19b66f673743bc527c7fe4efe7aa
1 // CS8176: Iterators cannot use by-reference variables
2 // Line: 12
4 using System.Collections.Generic;
6 class X
8 int x;
10 IEnumerable<int> Test ()
12 ref int y = ref x;
13 yield break;