progress
This commit is contained in:
parent
16e76d6b31
commit
484dbfc9d9
529 changed files with 113694 additions and 0 deletions
11
AspClassic.Scripting/Utils/ExceptionUtils.cs
Normal file
11
AspClassic.Scripting/Utils/ExceptionUtils.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
using System;
|
||||
|
||||
namespace AspClassic.Scripting.Utils;
|
||||
|
||||
internal static class ExceptionUtils
|
||||
{
|
||||
public static ArgumentNullException MakeArgumentItemNullException(int index, string arrayName)
|
||||
{
|
||||
return new ArgumentNullException($"{arrayName}[{index}]");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue