blob: 4ee571048725d967005f436ed7ed4cbcd738c853 (
plain)
1
2
3
4
5
6
7
8
|
// CS0558: User-defined operator `SampleClass.implicit operator bool(SampleClass)' must be declared static and public
// Line: 5
class SampleClass {
static implicit operator bool (SampleClass value) {
return true;
}
}
|