Costin Zaharia

Results 65 issues of Costin Zaharia

Currently [S3949](https://rules.sonarsource.com/csharp/RSPEC-3949) is the only rule implemented using CBDE. The CBDE engine is no longer maintained and planed to be removed and reimplementing the rule will enable this.

Type: Improvement
Area: CFG/SE
Area: C#

### Description [Rule S3264](https://rules.sonarsource.com/csharp/RSPEC-3264): a false positive is raised when chaining events. ### Repro steps ``` namespace TestCases { using System; public class EventChainingDirect { public event EventHandler Logging; public...

Type: False Positive
Area: C#

# Why Currently, the diagnostic creation is done by the rules, and the reporting by the `AnalysisContextExtensions.ReportIssue` method overloads. On the plus side, the responsibilities are decoupled but this has...

Type: Tooling

### Description Rule S2187, is raising a false positive when Test methods are declared in nested types ### Repro steps ``` [TestFixture] public class A // Noncompliant, FP - In...

Type: False Positive
Area: C#

Currently the utility analyzers register to do the same steps: read the parameters, check if they are enabled, and process all the syntax trees to create messages. `SymbolReferenceAnalyzer` and `TokenTypeAnalyzer`...

Type: Performance

Both `TokenTypeAnalyzer` and `SymbolReferenceAnalyzer` retrieve the same symbols and by caching them we will reduce the processor time used by these 2 rules in half. I did a POC and...

Area: VB.NET
Area: C#
Type: Performance

[8.43] Hardening [Release notes](https://github.com/SonarSource/sonar-dotnet/releases/tag/8.43.0.51858) [8.42] Support tuple deconstruction; Fix 2 FNs and one FP; Other improvements [Release notes](https://github.com/SonarSource/sonar-dotnet/releases/tag/8.42.0.51121) [8.41] Azure function rules [Release notes](https://github.com/SonarSource/sonar-dotnet/releases/tag/8.41.0.50478)

Type: Improvement

Currently, automatic test/coverage detection works only on machines that have the enterprise version of Visual Studio installed and it would be great to have a fallback and when the tool...