Ported from TFS WorkItem: 738545
Repro Steps:
Affected Branch:
Affected Build:
Affected Product Language:
Steps to reproduce:
1. Run ExtractInterface on this code:
Public Class TestClass
Public Event Foo4()
End Class
Expected: No error (not sure yet whether there's a way around this or if this event shouldn't be extractable...)
Actual: Error: 'Foo4' cannot expose the underlying delegate type 'ITestClass(Of ...).Foo4EventHandler' of the event it is implementing outside the project through class 'TestClass'.
Revisions:
- Created By David Poeschl (7/16/2013 8:14:56 AM)
- Edited By Dustin Campbell (7/17/2013 9:45:34 AM)
I think we need to disallow simplified events as they can't be implemented via interfaces. However, we should allow Custom Events because they can.