update readme (#21797)
[mono-project.git] / mcs / tests / test-discards-01.cs
blob54cf29779c6c03c9382279009d1f48566a159fb7
1 using System;
3 class X
5 public static void Main ()
7 string s = null;
9 _ = 1;
11 char _ = '4';
14 _ = TestValue ();
16 _ = _ = s;
18 byte k1;
19 var s1 = (k1, _) = (1, s);
21 Func<object> l1 = () => _ = (_, _) = (1, s);
23 TryGetValue (out _);
26 static bool TryGetValue (out int arg)
28 arg = 3;
29 return true;
32 static int TestValue ()
34 return 4;