Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-213739: Support messages for method groups

$
0
0
Reporter Olga Lobacheva (olka) 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()'

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



Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>