public static Dictionary <TextSpan, BaseMethodDeclarationSyntax> GetMethodSpans(SyntaxNode syntaxNode) { var msf = new MethodSpanFinder(); msf.Visit(syntaxNode); return(msf.span2Method); }
public static Dictionary <TextSpan, BaseMethodDeclarationSyntax> GetMethodSpans(CompilationUnitSyntax compilationUnit) { var msf = new MethodSpanFinder(); msf.Visit(compilationUnit); return(msf.span2Method); }