internal static void ThrowInvalidOperationException(ExceptionResource resource) => throw ThrowHelper.GetInvalidOperationException(resource);