[bcl] Update BCL Linked Size
[mono-project.git] / mcs / tests / dtest-optional-02.cs
blobe3b80eea991de74a3372801f5f61533fca60c338
1 using System.Runtime.InteropServices;
3 public class Test
5 public static object Foo ([Optional, DefaultParameterValue (1)] dynamic i)
7 return i;
10 public static int Main ()
12 var res = (int) Foo ();
13 if (res != 1)
14 return 1;
16 return 0;