Skip to content

Commit

Permalink
Fix missing case in ThrowHelper (dotnet#5394)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas authored and MichalStrehovsky committed Feb 16, 2018
1 parent 3dbd64f commit bec0b57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/System.Private.CoreLib/src/System/ThrowHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 "";
Expand Down

0 comments on commit bec0b57

Please sign in to comment.