C# Class Castle.DynamicProxy.Generators.MethodFinder

Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded.
Datei anzeigen Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
GetAllInstanceMethods ( Type type, BindingFlags flags ) : System.Reflection.MethodInfo[]

Private Methods

Method Description
MakeFilteredCopy ( MethodInfo methodsInCache, BindingFlags visibilityFlags ) : System.Reflection.MethodInfo[]
RemoveDuplicates ( MethodInfo infos ) : object

Method Details

GetAllInstanceMethods() public static method

public static GetAllInstanceMethods ( Type type, BindingFlags flags ) : System.Reflection.MethodInfo[]
type System.Type
flags BindingFlags
return System.Reflection.MethodInfo[]