Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6156119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:33:17+00:00 2026-05-23T20:33:17+00:00

Using .NET 4+ Is there any way to find all the methods that are

  • 0

Using .NET 4+ Is there any way to find all the methods that are called by all the code paths for a method?

Ideally I’m looking for something that would let me get the inner loop in:

For Each Method In Class
    For Each ReferencedMethod in Method
        Console.PrintLine(Method)
    Next
Next

Failing that, is there a tool that would tell me all the code paths?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:33:19+00:00Added an answer on May 23, 2026 at 8:33 pm

    The methods that are invoked within a method are not part of the metadata of the method and are therefore not obtainable via reflection. You’ll have to parse the IL, or use something like Mono.Cecil to do what you are looking for.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using ASP.Net MVC 2, is there any way to use the RedirectToAction() method of
Is there any rabin fingerprint implementation using .NET?
Is there any framework/library for using ASP.NET Membership Provider with confirmation email, something ready
Just wondering if there are any pitfalls using .net as the extension for a
Is there any disadvantage you face it when you using asp.net MVC? EDIT If
I have been using extplorer http://extplorer.sourceforge.net/ Are there any good alternatives which run on
IIS6 http compression with ASP.NET: is there any disadvantage especially when using ajax updatepanel
You can do it in .NET by using the keyword ref. Is there any
Are there any performance benefits to me not using the gridview in asp.net for
Using ASP.NET MVC there are situations (such as form submission) that may require a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.