Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
MethodInfoExtensions.cs
Go to the documentation of this file.
1
namespace
System.Reflection
;
2
3
public
static
class
MethodInfoExtensions
4
{
5
public
static
MethodInfo
GetBaseDefinition
(
this
MethodInfo
method)
6
{
7
ArgumentNullException
.
ThrowIfNull
(method,
"method"
);
8
return
method.
GetBaseDefinition
();
9
}
10
}
System.ArgumentNullException.ThrowIfNull
static void ThrowIfNull([NotNull] object? argument, [CallerArgumentExpression("argument")] string? paramName=null)
Definition
ArgumentNullException.cs:40
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Reflection.MethodInfoExtensions.GetBaseDefinition
static MethodInfo GetBaseDefinition(this MethodInfo method)
Definition
MethodInfoExtensions.cs:5
System.Reflection.MethodInfoExtensions
Definition
MethodInfoExtensions.cs:4
System.Reflection.MethodInfo.GetBaseDefinition
MethodInfo GetBaseDefinition()
System.Reflection.MethodInfo
Definition
MethodInfo.cs:7
System.Reflection
Definition
ICustomTypeProvider.cs:1
source
System.Reflection.TypeExtensions
System.Reflection
MethodInfoExtensions.cs
Generated by
1.10.0