Files
mono/mcs/errors/cs0253.cs
T
Marek Safar 6529b737cd new test + update
svn path=/trunk/mcs/; revision=47379
2005-07-18 10:26:01 +00:00

13 lines
283 B
C#

// cs0253.cs: Possible unintended reference comparison; to get a value comparison, cast the right hand side to type `string'
// Line: 10
// Compiler options: -warn:2 -warnaserror
using System;
class X {
static void Main() {
object a = "11";
Console.WriteLine("11" == a);
}
}