RuntimeReflectionExtensions.GetRuntimeBaseDefinition(MethodInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves an object that represents the specified method on the direct or indirect base class where the method was first declared.
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetRuntimeBaseDefinition(System::Reflection::MethodInfo ^ method);
public static System.Reflection.MethodInfo GetRuntimeBaseDefinition (this System.Reflection.MethodInfo method);
public static System.Reflection.MethodInfo? GetRuntimeBaseDefinition (this System.Reflection.MethodInfo method);
static member GetRuntimeBaseDefinition : System.Reflection.MethodInfo -> System.Reflection.MethodInfo
<Extension()>
Public Function GetRuntimeBaseDefinition (method As MethodInfo) As MethodInfo
Parameters
- method
- MethodInfo
The method to retrieve information about.
Returns
An object that represents the specified method's initial declaration on a base class.
Exceptions
method
is null
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.