update readme (#21797)
[mono-project.git] / mcs / errors / cs0578.cs
blobf104a9a44fe4a5baa47fa91d850fe27e297ee8d3
1 // CS0578: Conditional not valid on `MainClass.Foo()' because its return type is not void
2 // Line: 10
4 class MainClass {
5 [System.Diagnostics.Conditional("DEBUG")] bool Foo() {
6 return false;
9 public static void Main () {}