Skip to content

issues Search Results · topic:sonarcloud org:SonarSource fork:true

Filter by

7.8k results
 (99 ms)

7.8k results

inSonarSource (press backspace or delete to remove)

Description SonarQube should not recommend reverting IDE0031 after the fix is applied to the following code. (using LangVersion preview /LangVersion, which will become LangVersion 14 /LangVersion in a ...
False Positive
  • DaleStan
  • 2
  • Opened 
    3 days ago
  • #9761

Description I have a context where I need to combine two strings into one, in a way that (1) is still reasonably human readable, and (2) is unambiguous/reversible. Akin to the just add more double-quotes ...
  • DaleStan
  • 1
  • Opened 
    3 days ago
  • #9760

Description I found this in my code (Nullable reference types enabled) multiple times and fixed it, but thought, this could be a good rule. When dealing with the ServiceCollection and ServiceProvider ...
Rule Idea
  • ndsvw
  • 2
  • Opened 
    16 days ago
  • #9759

Description Using the new C# 14 extension members, SonarAnalyzer throws an exception. Only see the exception in Azure pipelines. Reproducer extension TEnum (TEnum @enum) where TEnum : struct, Enum ...
Bug
  • Silop024
  • 4
  • Opened 
    19 days ago
  • #9758

Description see https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/write?view=aspnetcore-9.0 Reproducer public class VersionMiddleware { public VersionMiddleware(RequestDelegate ...
False Positive
  • sm-g
  • 2
  • Opened 
    25 days ago
  • #9757

Description see CA1822 also Reproducer public class FooService { // S2325 public int GetValue(int x) = x + 1; } public class Bar { FooService _fooService; public ...
  • sm-g
  • 3
  • Opened 
    25 days ago
  • #9756

Description Do not use is not { }. This code is confusing, and 99% of the time can be refactored into more readable and less obfuscated code. In the (very)rare case that this is cleaner, it can be accepted. ...
Rule Idea
  • alex-meseldzija-sonarsource
  • 1
  • Opened 
    on Aug 28
  • #9755

Description Rule S3956 is Generic.List instances should not be part of public APIs or Refactor this method to use a generic collection designed for inheritance. (depending on the place). The description ...
  • AndreaVielCGN
  • 2
  • Opened 
    on Jul 30
  • #9752

Description We have a utility class that provides the creation of SQL connection strings based on the parameters being passed in. These parameters are set in the connection string using the SqlConnectionStringBuilder. ...
  • Zadjil-AR
  • 6
  • Opened 
    on Jul 30
  • #9751

Description Test Reproducer Lorem ipsum Product and Version asdf
False Negative
  • pavel-mikula-sonarsource
  • 1
  • Opened 
    on Jul 25
  • #9750
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.