a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
355 B
C#
19 lines
355 B
C#
// CS0057: Inconsistent accessibility: parameter type `ErrorCS0057' is less accessible than operator `Foo.implicit operator Foo(ErrorCS0057)'
|
|
// Line: 11
|
|
|
|
using System;
|
|
|
|
class ErrorCS0057 {
|
|
public ErrorCS0057 () {}
|
|
}
|
|
|
|
public class Foo {
|
|
public static implicit operator Foo(ErrorCS0057 bar) {
|
|
return new Foo ();
|
|
}
|
|
|
|
public static void Main () {
|
|
}
|
|
}
|
|
|