public void TransformGeneric4()
{
#pragma warning disable 0618
xslt = new XslTransform();
#pragma warning restore 0618
try
{
Transform("fruits.xml");
}
catch (System.InvalidOperationException e)
{
CheckExpectedError(e, "system.xml", "Xslt_NoStylesheetLoaded", new string[] { "" });
return;
}
_output.WriteLine("Exception not given for a transform that didn't have a Load method instantiated");
Assert.True(false);
}