Open MichaelWay89 opened 5 years ago
cc @mavasani
@MichaelWay89 Can you please clarify what is your use case for doing such a conversion?
I've implemented a Visual Studio extension for programmers to use on their computers, but I need to deploy the analyser in the CI build in Team Foundation Server to collect the same analysis and open bugs. Even though the extension was running with the compiler on the build server, our version is outdated and the extension is not compatible. I need the same rules to be executed in the build and some of them are triggered only in those methods (Operation or Symbol). The way I found it was to do a command line analyzer and run it on a build task, that's why I need conversion.
I'm recently converting an analyzer which is extension of Visual Studio (already coded) to a stand-alone analyzer. What I did so far: I copied the methods of analysis from extension to stand-alone in the following way:
Extension
Stand-Alone
So far so good. It turns out that I have other methods of analysis that need adaptation that is not presenting itself so simple.
I have methods that are triggered with the following conditions:
Methods that are triggered by this triggers are not changeable to work through SyntaxNode because they require information that is not available in this structure. Somehow I need to continue triggering these methods with these (or similar) parameters in order to access the same information. I searched everywhere and do not know how to find these structures to "trigger" those methods.
What i want to do:
Extension
Stand-Alone
Just to remember, i don't need access only to OperationAnalysis, but to SymbolKind too.
Thanks in advance.