Skip to content

Fix AD0001: Named Attribute Arguments in S6930 #9193

@knopa

Description

@knopa

Description

https://rules.sonarsource.com/csharp/RSPEC-6930/
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.BackslashShouldBeAvoidedInAspNetRoutes' threw an exception of type 'System.InvalidOperationException' with message 'Sequence contains no elements'.

Repro steps

I don't have, because can't find backslash. but it happens on project which don't have startup file and controllers

Known workarounds

Related information

  • SonarLint 7.8.0.88494
  • Visual Studio 2022 17.9.6
  • .net 8.0.204
  • SonarAnalyzer.CSharp 9.24.0.89429
  • Windows

Metadata

Metadata

Labels

BugExceptions and blocking issues during analysis.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions