roslyn-sdk
roslyn-sdk copied to clipboard
Roslyn-SDK templates and Syntax Visualizer
Our sample hello world generator iterates over the syntax trees. We explicitly tell people not to do this, and use a syntax receiver instead (and want to add an analyzer...
For the posted source code no markup location is found. Instead I get a stacktrace and an Exception message: ``` Message: System.InvalidOperationException : The markup location '#0' was not found...
The templates should generate **AnalyzerReleases.Shipped.md** and **AnalyzerReleases.Unshipped.md** automatically.
VSTHRD010 is disabled in several locations in code. Each of these should be fixed and the suppression removed.
To build/update the syntax tree a lot of things need to be done. This is okay, but it happens on every click... It would be great if you could add...
The testing SDK provides `EmptyDiagnosticAnalyzer` for this case (and `EmptyCodeFixProvider` for cases where there is an analyzer but no fix). _Originally posted by @sharwell in https://github.com/dotnet/roslyn-analyzers/issues/3143#issuecomment-573257708_ this should be in...
Something along the lines of https://github.com/dotnet/roslyn/pull/44728, as per request from @sharwell here: https://github.com/dotnet/roslyn/issues/44553#issuecomment-634905409
An analyzer that is only attributed with: ```cs [DiagnosticAnalyzer(LanguageNames.CSharp)] ``` May still work properly for VB and pass VB analyzer verifications, yet it won't work at all for VB in...
Currently when your message has X format items and you call `WithArguments` with more than X arguments no issue is raised if the first X arguments match the expected. It...