f3e3aab35a
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
21 lines
266 B
C#
21 lines
266 B
C#
using System;
|
|
|
|
class MainClass
|
|
{
|
|
public static implicit operator string (MainClass src)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
var obj = new MainClass ();
|
|
var s = "x";
|
|
var res = (string) obj ?? s;
|
|
if (res != "x")
|
|
return 1;
|
|
|
|
return 0;
|
|
}
|
|
}
|