[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs4013.cs
blobc7acb2fa24e4214c2e4f466656869ada944121ec
1 // CS4013: Local variables of type `System.TypedReference' cannot be used inside anonymous methods, lambda expressions or query expressions
2 // Line: 9
4 using System;
6 class C
8 public static void Main ()
10 int i = 1;
11 TypedReference tr = __makeref (i);
13 Action a = () => { TypedReference tr2 = tr; };