Skip to content

Commit

Permalink
fix: stop generating explicitly implemented events (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson authored Jun 24, 2019
1 parent 9f03d2e commit 1221718
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ private static IEnumerable<ITypeDefinition> GetPublicTypesWithEvents(ICompilatio
return compilation.GetPublicTypesWithNotStaticEvents();
}

private static bool IsValidEvent(IEvent x) => x.Accessibility == Accessibility.Public && !x.IsStatic && IsValidParameters(x);
private static bool IsValidEvent(IEvent x) => x.Accessibility == Accessibility.Public && !x.IsExplicitInterfaceImplementation && !x.IsStatic && IsValidParameters(x);
}
}

0 comments on commit 1221718

Please sign in to comment.