a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
10 lines
151 B
C#
10 lines
151 B
C#
// CS0029: Cannot implicitly convert type `int' to `string'
|
|
// Line: 5
|
|
|
|
class A {
|
|
public static implicit operator string (A a)
|
|
{
|
|
return 42;
|
|
}
|
|
}
|