Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / errors / cs1502-2.cs
1 // CS1502: The best overloaded method match for `System.Console.WriteLine(bool)' has some invalid arguments
2 // Line: 10
3 using System;
4
5 public class MainClass
6 {
7         public static void Main()
8         {
9                 test MyBug = new test();
10                 Console.WriteLine (MyBug.mytest());
11         }
12 }
13
14 public class   test
15 {
16         public void mytest()
17         {
18                 Console.WriteLine("test");
19         }
20 }
21
22