python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Source Generator Testing
I'm trying to develop a source generator that I can theoretically add to my projects, and for the given project have it find classes that are marked up with a specific attribute, and then build a corr...
Ronnyek
Votes: 0
Answers: 1
CA0052 Could not identify plateform And CA0055 not targets were selected when Enable code analysis VS 2019
I'm using vs 2019 with .Net 5 and tried to run code analysis with MsBuild command, When I was using FxCorp its worked perfectly but fxcorp is deprecated I was getting below error
Warning CA0507 Post-...
Nayeem Mansoori
Votes: 0
Answers: 0
Why does my C# analyzer not display messages (DiagnosticSeverity.Info)
Recently started messing around with C# analyzers and generators, and I had to find out that reported diagnostics show up fine when using DiagnosticSeverity.Warning or DiagnosticSeverity.Error, but no...
michi-b
Votes: 0
Answers: 0
c# code analyzer test is not working, but test is correct
I'm writing a simple code analyzer and fixer using the Microsoft template. I want to fix nested if statements in else statement. Example:
using System;
using System.Runtime.InteropServices;
namespace...
Kre4
Votes: 0
Answers: 1