From 2cd935481fe402d39e5f25a4afa503fdadff39da Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 16 Feb 2018 00:03:35 -1000 Subject: [PATCH] Fix missing case in ThrowHelper (#5394) --- src/System.Private.CoreLib/src/System/ThrowHelper.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/System.Private.CoreLib/src/System/ThrowHelper.cs b/src/System.Private.CoreLib/src/System/ThrowHelper.cs index abdda33a4bb..1610fa116cd 100644 --- a/src/System.Private.CoreLib/src/System/ThrowHelper.cs +++ b/src/System.Private.CoreLib/src/System/ThrowHelper.cs @@ -307,6 +307,8 @@ private static string GetArgumentName(ExceptionArgument argument) return "start"; case ExceptionArgument.format: return "format"; + case ExceptionArgument.culture: + return "culture"; default: Debug.Fail("The enum value is not defined, please check the ExceptionArgument Enum."); return "";