Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ThrowHelper.cs
Go to the documentation of this file.
2
4
5internal static class ThrowHelper
6{
7 [DoesNotReturn]
8 internal static void ThrowArgumentNullException(ExceptionArgument argument)
9 {
10 throw new ArgumentNullException(GetArgumentName(argument));
11 }
12
13 private static string GetArgumentName(ExceptionArgument argument)
14 {
15 return argument.ToString();
16 }
17}
static void ThrowArgumentNullException(ExceptionArgument argument)
Definition ThrowHelper.cs:8
static string GetArgumentName(ExceptionArgument argument)