0

I am doing control flow and data flow analysis to my examle code. I am using instant analyzer (Analyzer with code fix - Nuget,VSIX) My aim is analyze not only the code developer coding, also want to follow the data to the other classes. Can i learn your thoughts about that ? Thanks

Caner Ozden
  • 125
  • 1
  • 4
  • EDIT : For example how like goto definiton, find all references diagnostics tool build ? – Caner Ozden Jan 01 '16 at 18:51
  • What specifically do you want to analyze? You can get symbols for referenced code just like other symbols. – SLaks Jan 01 '16 at 20:14
  • For example i want to follow a string variable where it come from, i want to go to other classes other methods, i want to do the flow analysis for all of them. – Caner Ozden Jan 01 '16 at 20:28
  • Then you need a decompiler, which Roslyn isn't. – SLaks Jan 01 '16 at 20:35
  • I dont think so, because we can do it with stand-alone analyzer, there must be a way doing it in analyzer with code fix type. – Caner Ozden Jan 01 '16 at 20:45
  • Again, what specifically do you want to analyze? Roslyn analyzers can only analyze control flow from source. Whether or not it has a code fix makes no difference. – SLaks Jan 01 '16 at 20:49
  • Think about a variable, i want to find where it has come from, which class ? which method ? I may come from an other document of solution. I want to learn about it. – Caner Ozden Jan 01 '16 at 20:56
  • Then use the DataFlow and SymbolFinder APIs. – SLaks Jan 01 '16 at 20:57

0 Answers0