public void TransformStrStr9()
{
#pragma warning disable 0618
xslt = new XslTransform();
#pragma warning restore 0618
try
{
xslt.Transform(FullFilePath("fruits.xml"), _strOutFile);
}
catch (System.InvalidOperationException e)
{
CheckExpectedError(e, "System.xml", "Xslt_NoStylesheetLoaded", new string[] { "" });
return;
}
_output.WriteLine("Exception attempting a transform without loading an XSL file");
Assert.True(false);
}