[Mono.Profiler.Log] Fix excessive byte array allocations.
[mono.git] / mcs / tests / test-debug-29.cs
1 using System;
2 using System.Threading.Tasks;
3
4 class EncodingVariableScopeInfoLiftedFieldName
5 {
6         public static void Main ()
7         {
8         }
9
10         async Task Test (int arg)
11         {
12                 if (arg == 1) {
13                         {
14                         }
15                 }
16
17                 if (arg > 0)
18                 {
19                         var x = 1;
20                         await Task.Yield();
21                 } 
22                 else 
23                 {
24                         var x = 2;
25                         await Task.Yield();
26                 }
27         }
28 }