Cause failure at the RuntimeSystems/ExceptionThrownByCLI tests.
public static bool NullReference(object v)
{
try
{
var r = v.ToString();
}
catch (NullReferenceException ex)
{
// vvv The message strings different because internationalization strings on the .NET CLR.
return ex.Message == "Object reference not set to an instance of an object.";
}
return false;
}
Cause failure at the RuntimeSystems/ExceptionThrownByCLI tests.