Skip to content

Issues: SonarSource/sonar-dotnet

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

New Rule Idea: You should not use the null forgiving operator when nullable context is disabled Area: C# C# rules related issues. Type: Rule Idea Idea for a rule that has NOT been specified.
#9691 opened Oct 31, 2024 by mary-georgiou-sonarsource
Fix S6964 FP: Don't raise on properties annotated with the BindRequiredAttribute Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9690 opened Oct 30, 2024 by PaulBol
Fix S1215 FN: GC.GetTotalMemory(forceFullCollection: true) should not be called Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: False Negative Rule is NOT triggered when it should be.
#9687 opened Oct 21, 2024 by fiotti
Fix S2342 FP: Flaky reports Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9683 opened Oct 10, 2024 by bart-vmware
New Rule Idea: Do not use collection initializers with ImmutableArray Area: C# C# rules related issues. Type: Rule Idea Idea for a rule that has NOT been specified.
#9681 opened Oct 9, 2024 by Tim-Pohlmann
New Rule Idea: Do not nest collection initializer in object initializer Area: C# C# rules related issues. Type: Rule Idea Idea for a rule that has NOT been specified.
#9680 opened Oct 9, 2024 by Tim-Pohlmann
NET-357 S2068 does not consider launchSettings.json files Area: C# C# rules related issues. Type: False Negative Rule is NOT triggered when it should be.
#9675 opened Oct 1, 2024 by costin-zaharia-sonarsource
Fix S3459 FP: support classes marked with [AutoConstructor] attribute Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9674 opened Sep 30, 2024 by nycdotnet
Fix S1450 FP: private field is used in several methods Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9672 opened Sep 30, 2024 by nalka0
Fix S2583 FP: List is filled in local function, then checking its Count is > 0 Area: C# C# rules related issues. Type: CFG/SE FPs Rule IS triggered when it shouldn't be for CFG and SE rules.
#9671 opened Sep 30, 2024 by nalka0
Fix S6605 FP: Any is faster than Exists in .NET 9 Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9665 opened Sep 17, 2024 by marco-carvalho
Fix S6602 FP: FirstOrDefault is faster than Find in .NET 9 Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9664 opened Sep 17, 2024 by marco-carvalho
Fix S2589 FP: Rule ignores case guards Area: C# C# rules related issues. Type: CFG/SE FPs Rule IS triggered when it shouldn't be for CFG and SE rules.
#9663 opened Sep 13, 2024 by manpil
Fix S5034 FP: ValueTask.IsCompletedSuccessfully not considered in ternary operator Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9661 opened Sep 9, 2024 by fiotti
Fix S2933 FP: readonly fields in a struct re-assigned with 'this' Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9657 opened Aug 26, 2024 by fiotti
Fix S4144 FP: Implicit object creation expression Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9654 opened Aug 21, 2024 by nrankin18
Improve S1192: make threshold inclusive or change default from 3 to 4 Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9647 opened Aug 14, 2024 by antonioaversa
Fix S3431 FN: Multiline statement should not be count as one line statement Area: C# C# rules related issues. Type: False Negative Rule is NOT triggered when it should be.
#9618 opened Aug 8, 2024 by sebastien-marichal
New Rule Idea: Buffers rented from buffer pools should be returned Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: New Rule Implementation for a rule that HAS been specified.
#9607 opened Aug 6, 2024 by sebastien-marichal
Fix S2077 FP: Support constant query built with ternary in a formatted character string Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9602 opened Aug 5, 2024 by mgirolet-gl
Fix S6966 FP: FluentValidation ValidateAndThrow should not be proposed Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9589 opened Aug 1, 2024 by martin-strecker-sonarsource
Fix S2583 FP/FN: Conditionally executed code should be reachable Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: CFG/SE FPs Rule IS triggered when it shouldn't be for CFG and SE rules.
#9580 opened Jul 30, 2024 by gabenovotny
Fix S1192 FP: Shouldn't raise on Dapper parameters Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9569 opened Jul 30, 2024 by mgirolet-gl
Fix S3236 FP: CallerArgumentExpressionAttribute should be overridable when using Nullable<> Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
#9568 opened Jul 30, 2024 by rjgotten
ProTip! Exclude everything labeled bug with -label:bug.