[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0123-8.cs
blob42e3334514284123e876326f8fa95e32b288386e
1 // CS0123: A method or delegate `Test.Foo(int, bool)' parameters do not match delegate `System.Func<int,bool>(int)' parameters
2 // Line: 15
4 using System;
6 class Test
8 static bool Foo (int x, bool option = true)
10 return true;
13 static void Main ()
15 Func<int, bool> f = Foo;