summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0023-8.cs
blob: a74507f3f77da6cf8372ec227a4011345f322d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0023: The `+' operator cannot be applied to operand of type `X'
// Line : 6

class X {
        static void Foo (object o)
        {
        }
        
        static void Main () {
                Foo (+(X)null);
        }
}