예제 #1
0
 /// <summary>
 ///   Builds the name of the method.
 /// </summary>
 /// <param name="info">The method information.</param>
 /// <returns>The method name.</returns>
 private static string BuildMethodName(MethodBase info) =>
 MethodSignature.FormatWith(
     info.DeclaringType?.Name,
     info.Name,
     info.GetParameters().Select(x => ParameterName.FormatWith(x.ParameterType.Name, x.Name)).ToCommaSeparatedString());