Skip to content

Commit

Permalink
Add incomplete property
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioaversa committed Jan 25, 2024
1 parent 996cd65 commit a0eb27b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ List<string> NoncompliantMethodWithSecondaryLocation(string str)
}
}

class PropertyWithoutAccessorList
{
IEnumerable<string> Incomplete => ; // Error CS1525: Invalid expression term
}

// Reproducer for #6494 https://github.com/SonarSource/sonar-dotnet/issues/6494
namespace Issue_6494
{
Expand Down

0 comments on commit a0eb27b

Please sign in to comment.