Beispiel #1
0
 /// <summary>
 /// Disassembles the source methods
 /// </summary>
 /// <param name="src">The source methods</param>
 public static MethodDisassembly[] Deconstruct(this IEnumerable <MethodInfo> src)
 => Deconstructor.Deconstruct(src.ToArray()).ToArray();
Beispiel #2
0
 /// <summary>
 /// Disassembles reified methods declared by the source type
 /// </summary>
 /// <param name="src">The source type</param>
 public static MethodDisassembly[] Deconstruct(this Type src)
 => Deconstructor.Deconstruct(src.DeclaredMethods().NonGeneric().Concrete().ToArray()).ToArray();