Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ NotNullAllowStructs< T >()

static void System.Collections.Immutable.Requires.NotNullAllowStructs< T > ( [ValidatedNotNull] T value,
string? parameterName )
inlinestatic

Definition at line 25 of file Requires.cs.

26 {
27 if (value == null)
28 {
29 FailArgumentNullException(parameterName);
30 }
31 }
static void FailArgumentNullException(string parameterName)
Definition Requires.cs:34

References System.Collections.Immutable.Requires.FailArgumentNullException(), and System.value.