Files
mono/mcs/errors/cs0134.cs
T
Marek Safar f2ccb97feb 2006-03-21 Marek Safar <[email protected]>
* const.cs (Error_ConstantCanBeInitializedWithNullOnly): Share a message.

	* statement.cs (Block.ResolveMeta): Look for wrong object constants in
	the blocks too.

svn path=/trunk/mcs/; revision=58238
2006-03-21 18:32:21 +00:00

8 lines
172 B
C#

// cs0134.cs: `C.o': the constant of reference type other than string can only be initialized with null
// Line: 6
public class C
{
public const object o = "12345";
}