Reporter | Olga Lobacheva (olka) |
---|---|
Created | Feb 10, 2011 8:09:02 PM |
Updated | Apr 26, 2012 9:52:43 PM |
Priority | Show-stopper |
Type | Bug |
Fix versions | Mirabile Futurum |
State | Open |
Assignee | Olga Lobacheva (olka) |
Subsystem | Code Analysis - VB.NET |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
Better highlighting text here. Not it is: 'Incorrect number of arguments in reference to '..Foo''
Compiler message is: Method 'Public Function Foo(x As String) As Integer' does not have a signature compatible with delegate 'Delegate Sub Action()'
Compiler message is: Method 'Public Function Foo(x As String) As Integer' does not have a signature compatible with delegate 'Delegate Sub Action()'
Option Strict On Public Class Bar Public Event e As Action Public Function Foo(ByVal x As String) As Integer AddHandler e, AddressOf Foo 'HERE Return 34 End Function End Class