[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs8175.cs
blob4ef39db696d56ee4ea5ddc30b3649aca9f20e449
1 // CS8175: Cannot use by-reference variable `v' inside an anonymous method, lambda expression, or query expression
2 // Line: 14
4 using System;
6 public class Test
8 public static void Main()
10 var arr = new int [1];
11 ref var v = ref arr [0];
13 Action a = delegate {
14 ref var v2 = ref v;