From 9bb96fbadc1aa1597c477dcba254e08a38e71f11 Mon Sep 17 00:00:00 2001
From: YoshiRulz <OSSYoshiRulz@gmail.com>
Date: Tue, 19 Jul 2022 01:46:04 +1000
Subject: [PATCH] Update doc comments to reflect thrown exception change

fixes 4f98733c2
---
 .../Api/BizHawkSystemIdToCoreSystemEnumConverter.cs       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/BizHawk.Client.Common/Api/BizHawkSystemIdToCoreSystemEnumConverter.cs b/src/BizHawk.Client.Common/Api/BizHawkSystemIdToCoreSystemEnumConverter.cs
index 27ccf09c6c..ca04d6a47b 100644
--- a/src/BizHawk.Client.Common/Api/BizHawkSystemIdToCoreSystemEnumConverter.cs
+++ b/src/BizHawk.Client.Common/Api/BizHawkSystemIdToCoreSystemEnumConverter.cs
@@ -22,7 +22,7 @@ namespace BizHawk.Client.Common
 		/// <param name="parameter">The converter parameter to use; null in our case</param>
 		/// <param name="cultureInfo">The culture to use in the converter</param>
 		/// <returns>A <see cref="CoreSystem"/> that is equivalent to BizHawk SystemId <see cref="string"/></returns>
-		/// <exception cref="IndexOutOfRangeException">Thrown when SystemId hasn't been found</exception>
+		/// <exception cref="InvalidOperationException">Thrown when SystemId hasn't been found</exception>
 		public object Convert(object value, Type targetType, object parameter, CultureInfo cultureInfo)
 		{
 			return (string) value switch
@@ -75,7 +75,7 @@ namespace BizHawk.Client.Common
 		/// </summary>
 		/// <param name="value"><see cref="string"/> you want to convert</param>
 		/// <returns>A <see cref="CoreSystem"/> that is equivalent to BizHawk SystemId <see cref="string"/></returns>
-		/// <exception cref="IndexOutOfRangeException">Thrown when SystemId hasn't been found</exception>
+		/// <exception cref="InvalidOperationException">Thrown when SystemId hasn't been found</exception>
 		public CoreSystem Convert(string value)
 		{
 			return (CoreSystem)Convert(value, null, null, CultureInfo.CurrentCulture);
@@ -90,7 +90,7 @@ namespace BizHawk.Client.Common
 		/// <param name="parameter">The converter parameter to use; null in our case</param>
 		/// <param name="cultureInfo">The culture to use in the converter</param>
 		/// <returns>A <see cref="string"/> that is used by BizHawk SystemId</returns>
-		/// <exception cref="IndexOutOfRangeException">Thrown when <see cref="CoreSystem"/> hasn't been found</exception>
+		/// <exception cref="InvalidOperationException">Thrown when <see cref="CoreSystem"/> hasn't been found</exception>
 		public object ConvertBack(object value, Type targetType, object parameter, CultureInfo cultureInfo)
 		{
 			return (CoreSystem) value switch
@@ -141,7 +141,7 @@ namespace BizHawk.Client.Common
 		/// </summary>
 		/// <param name="value"><see cref="CoreSystem"/> you want to convert</param>
 		/// <returns>A <see cref="string"/> that is used by BizHawk SystemId</returns>
-		/// <exception cref="IndexOutOfRangeException">Thrown when <see cref="CoreSystem"/> hasn't been found</exception>
+		/// <exception cref="InvalidOperationException">Thrown when <see cref="CoreSystem"/> hasn't been found</exception>
 		public string ConvertBack(CoreSystem value)
 		{
 			return (string)ConvertBack(value, null, null, CultureInfo.CurrentCulture);