Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

17 lines
358 B
C#

// CS0056: Inconsistent accessibility: return type `ErrorCS0056' is less accessible than operator `Foo.implicit operator ErrorCS0056(Foo)'
// Line: 11
using System;
class ErrorCS0056 {
public ErrorCS0056 () {}
}
public class Foo {
public static implicit operator ErrorCS0056(Foo foo) {
return new ErrorCS0056 ();
}
public static void Main () {
}
}