public static string[] Exceptions(MethodDeclaration declaration) { IList <TypeReference> throwsList = declaration.Erased().throwsList(); if (throwsList.Count == 0) { return(null); } //JAVA TO C# CONVERTER TODO TASK: Method reference constructor syntax is not converted by Java to C# Converter: return(throwsList.Select(ByteCodeUtils.byteCodeName).ToArray(string[] ::new)); }
public static string Desc(MethodDeclaration declaration) { return(InternalDesc(declaration.Erased(), false)); }