Method FindNonGenericMethod
FindNonGenericMethod(Type, string, Type[])
Finds a non-generic method in the specified type by name and exact parameter types.
public static MethodInfo? FindNonGenericMethod(Type type, string methodName, Type[] parameterTypes)
Parameters
typeTypeThe Type to search for the method.
methodNamestringThe name of the method to find.
parameterTypesType[]An array of Type objects representing the method's parameters.
Returns
- MethodInfo
A MethodInfo representing the matched non-generic method, or
nullif no matching method is found.