private void CheckCommand() { if (_CompiledStylesheet == null) { throw new InvalidOperationException(SR.Xslt_NoStylesheetLoaded); } }