a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
13 lines
248 B
C#
13 lines
248 B
C#
// CS1981: Using `is' to test compatibility with `dynamic' is identical to testing compatibility with `object'
|
|
// Line: 10
|
|
// Compiler options: -warnaserror
|
|
|
|
class C
|
|
{
|
|
public static void Main ()
|
|
{
|
|
object o = null;
|
|
bool b = o is dynamic;
|
|
}
|
|
}
|