Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ThrowHelper.cs
Go to the documentation of this file.
1
using
System.Diagnostics.CodeAnalysis
;
2
3
namespace
System.Text.Encodings.Web
;
4
5
internal
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
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Text.Encodings.Web.ThrowHelper.ThrowArgumentNullException
static void ThrowArgumentNullException(ExceptionArgument argument)
Definition
ThrowHelper.cs:8
System.Text.Encodings.Web.ThrowHelper.GetArgumentName
static string GetArgumentName(ExceptionArgument argument)
Definition
ThrowHelper.cs:13
System.Text.Encodings.Web.ThrowHelper
Definition
ThrowHelper.cs:6
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.Text.Encodings.Web.ExceptionArgument
ExceptionArgument
Definition
ExceptionArgument.cs:4
System.Text.Encodings.Web
Definition
AllowedBmpCodePointsBitmap.cs:6
source
System.Text.Encodings.Web
System.Text.Encodings.Web
ThrowHelper.cs
Generated by
1.10.0