Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-03-03 03:16:53 +0300
committerJan Kotas <jkotas@microsoft.com>2018-03-03 04:11:24 +0300
commitf85888e94de393bb8018b65ccc1be22c08c0882e (patch)
tree19630b9897bd4ed0915c84331af8ef2aebab96e5
parent3a6e35ce739e8684d566e283f2b3aebe35561e56 (diff)
Add new ThrowHelper id
-rw-r--r--src/System.Private.CoreLib/src/System/ThrowHelper.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/src/System/ThrowHelper.cs b/src/System.Private.CoreLib/src/System/ThrowHelper.cs
index a3e3a0602..27b030de0 100644
--- a/src/System.Private.CoreLib/src/System/ThrowHelper.cs
+++ b/src/System.Private.CoreLib/src/System/ThrowHelper.cs
@@ -321,6 +321,8 @@ namespace System
return "source";
case ExceptionArgument.state:
return "state";
+ case ExceptionArgument.length:
+ return "length";
default:
Debug.Fail("The enum value is not defined, please check the ExceptionArgument Enum.");
return "";
@@ -414,7 +416,8 @@ namespace System
comparer,
comparable,
source,
- state
+ state,
+ length
}
//