Example #1
0
 /// <summary>
 /// Gets most derived implementation of a particular method in a type.
 /// </summary>
 /// <param name="type">
 /// The type that implements the method.
 /// </param>
 /// <param name="method">
 /// A method to find a more derived implementation for.
 /// </param>
 /// <returns>A direct or indirect implementation of <paramref name="method"/>.</returns>
 public static IMethod GetImplementationOf(this IType type, IMethod method)
 {
     return(VTable.Get(type).GetImplementation(method));
 }