Skip to content

Commit

Permalink
Add UT for FP reported in #2423 (#2432)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-epure-sonarsource authored May 24, 2019
1 parent 76fcc68 commit f0430f2
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

namespace Tests.Diagnostics
{
Expand Down Expand Up @@ -29,4 +29,9 @@ public event EventHandler1 Event1AsProperty // Noncompliant {{Change the signatu

public event CorrectEventHandler CorrectEvent;
}
}

public class Bar<TEventArgs> where TEventArgs : EventArgs
{
public event EventHandler<TEventArgs> SomethingHappened; // Noncompliant FP #2423
}
}

0 comments on commit f0430f2

Please sign in to comment.