Files
mono/mcs/errors/cs0253.cs
T
Marek Safar b5fa4f24a2 More new tests.
svn path=/trunk/mcs/; revision=97215
2008-03-03 19:21:17 +00:00

13 lines
295 B
C#

// CS0253: Possible unintended reference comparison. Consider casting the right side of the expression to `string' to compare the values
// Line: 10
// Compiler options: -warn:2 -warnaserror
using System;
class X {
static void Main() {
object a = "11";
Console.WriteLine("11" == a);
}
}