ExtensionContainerInfo.GetNormalizedMethodInfo Method
- Namespace
- Kampute.DocToolkit.Metadata.Reflection
- Assembly
- Kampute.DocToolkit.dll
Definition
Retrieves the normalized reflection information for the specified method.
public MethodInfo GetNormalizedMethodInfo(MethodInfo methodInfo)Parameters
methodInfoMethodInfo- The reflection information of the method to normalize.
Returns
- MethodInfo
- A MethodInfo representing the normalized reflection information for the specified method.
Exceptions
- ArgumentNullException
- Thrown if
methodInfoisnull. - ArgumentException
- Thrown if
methodInfodoes not belong to the container type.

The normalized method of an extension method is a logical view of the method as it would appear when invoked on the extended type, rather than as a static method on the container type that has the extended type as its first parameter.