1 2 3 4 5 6 7 8 9 10
// CS0127: `X.fn()': A return keyword must not be followed by any expression when method returns void // Line: 6 class X { void fn () { return 1; } }