Skip to content

Commit

Permalink
Repro for #9241
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Pohlmann committed May 3, 2024
1 parent 75e3904 commit 36b6cc3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class AttributeError { }

interface IMarker { } // Compliant - this rule only deals with classes

class ImplementsMarker : IMarker { } // Compliant - implements a marker interface
class ImplementsMarker : IMarker { } // Compliant - implements a marker interface

struct EmptyStruct { } // Compliant - this rule only deals with classes

Expand All @@ -131,13 +131,16 @@ class SomeCommand { } // Compliant, ignored because of th
class SomeEvent { } // Compliant, ignored because of the suffix
class SomeMessage { } // Compliant, ignored because of the suffix
class Some_Command { } // Compliant, ignored because of the suffix
class SomeQuery { } // Noncompliant FP, should be ignored because of the suffix, Repro for https://github.com/SonarSource/sonar-dotnet/issues/9241
class Someevent { } // Noncompliant
class SOMEMESSAGE { } // Noncompliant
class SomeCommandHandler { } // Noncompliant
class MessageHandler { } // Noncompliant
class Command { } // Compliant, ignored because of the suffix
class Event { } // Compliant, ignored because of the suffix
class Message { } // Compliant, ignored because of the suffix
class Query { } // Noncompliant FP, should be ignored because of the suffix


class AssemblyDoc { } // Compliant, used for DefaultDocumentation tool
class NamespaceDoc { } // compliant, used for DefaultDocumentation tool
Expand Down

0 comments on commit 36b6cc3

Please sign in to comment.