Antonio Aversa

Results 21 issues of Antonio Aversa

First attempt done in [this PR](https://github.com/SonarSource/sonar-scanner-msbuild/pull/1803).

Extend https://sonarsource.github.io/rspec/#/rspec/S2292 to support also parameters in [C# 12 primary constructors](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/primary-constructors). For example, the following property: ```cs public class Car(string make) { public string Make // Noncompliant { get {...

Type: False Negative
Area: C#12

Location mapping is wrong for nested Razor expressions. ## The impact Tokenization (syntax highlighting in products) and issues reporting. Nested expressions are used quite often in Razor components: see MudBlazor....

Area: C#
Type: UX

In the [current approach](https://github.com/SonarSource/sonar-dotnet/pull/7924) (not yet merged to master), the token type analyzer currently maps back tokens from the generated source to the razor source. This approach is an effective...

Area: C#
Type: Utility

Continuation of https://github.com/SonarSource/sonar-dotnet/issues/7267 - [ ] Support , >>>. See CBDE implementation below for reference. CBDE implementation of operations: [RangeConstraint.cpp](https://github.com/SonarSource/SonarCBDE/blob/master/symbolicExecution/src/RangeConstraint.cpp) CBDE UTs: [RangeConstraintTest.cpp](https://github.com/SonarSource/SonarCBDE/blob/master/symbolicExecution/test/RangeConstraintTest.cpp)

Area: CFG/SE
Area: VB.NET
Area: C#
Type: SE

### The context After [this issue](https://github.com/SonarSource/sonar-dotnet/issues/2619), reported in 2019, was implemented [earlier this year](https://github.com/SonarSource/sonar-dotnet/pull/7687), we have got a user request to relax the reporting in presence of [constant patterns](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/patterns#1123-constant-pattern): https://github.com/SonarSource/sonar-dotnet/issues/8147....

Area: C#
Type: Rule rework

Reviewing https://github.com/SonarSource/sonar-dart/pull/40 I noticed the following fact: Java and C# seem to interpret the definition of the `threshold` (`Number of times a literal must be duplicated to trigger an issue`)...

Type: False Positive
Area: VB.NET
Area: C#

PR on `peachee-dotnet`: https://github.com/SonarSource/peachee-dotnet/pull/62 Some projects to check and possibly include: - ~https://github.com/huntercfreeman/BlazorStudio~ https://github.com/Luthetus/Luthetus.Ide (project moved) (DONE) - https://github.com/ThomasBleijendaal/RapidCMS (CUT OUT) - https://github.com/Hona/UpBlazor (DONE) - https://github.com/syncfusion/blazor-showcase-appointment-planner (CUT OUT) - Demo...

Type: Peach

Unlike C#, razor files have three different types of tokens, all mapped [here](https://github.com/dotnet/razor/blob/main/src/Compiler/Microsoft.AspNetCore.Razor.Language/src/Syntax/SyntaxKind.cs#L21-L42): - HTML Tokens, roughly corresponding to the tokens in the "markup" and "HTML" section - Razor Tokens,...

Area: C#
Type: Tests

## Review A dedicated reviewer checked the rule description successfully for: - [ ] logical errors and incorrect information - [ ] information gaps and missing content - [ ]...

dart