f3e3aab35a
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
18 lines
203 B
C#
18 lines
203 B
C#
class X
|
|
{
|
|
public object MyChildObject;
|
|
}
|
|
|
|
interface ISomeInterface
|
|
{
|
|
}
|
|
|
|
class MainClass
|
|
{
|
|
public static void Main ()
|
|
{
|
|
X myObject = null;
|
|
var x = (myObject?.MyChildObject is ISomeInterface);
|
|
}
|
|
}
|