Files
linux-packaging-mono/mcs/errors/cs0253-3.cs

15 lines
315 B
C#
Raw Normal View History

// CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `System.Action' to get value comparison
// Line: 13
// Compiler options: -warnaserror
using System;
class MainClass
{
public static void Main ()
{
Action a = null;
object b = null;
var x = a == b;
}
}