From 88c7a1bc166e3a8841d480bca066a2bc6701a13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miskolczi=20Rich=C3=A1rd?= Date: Tue, 28 Mar 2023 12:53:59 +0200 Subject: [PATCH] InvalidOperationExpression lol --- Password Manager/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Password Manager/MainForm.cs b/Password Manager/MainForm.cs index 2b76a3a..79b9f7c 100644 --- a/Password Manager/MainForm.cs +++ b/Password Manager/MainForm.cs @@ -31,7 +31,7 @@ namespace Password_Manager } else { - throw new InvalidOperationExpression("You cannot use the OpenPasswordGenerator method if you instantiated this form without a RecipientRequest event handler."); + throw new InvalidOperationException("You cannot use the OpenPasswordGenerator method if you instantiated this form without a RecipientRequest event handler."); } }