private static void ThrowCloningNotSupported(String methodName) { NotSupportedException nse = new NotSupportedException(SR.Format(SR.NotSupported_CloningNotSupported, methodName)); nse.SetErrorCode(HResults.E_NOTIMPL); throw nse; }