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

RSRP-221941: ReSharper inserts invalid integer constant in VB code

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Mar 2, 2011 7:34:30 AM
Updated Jan 23, 2012 4:56:42 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Reopened
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Interface I
    Sub Foo(Optional ByVal x As Long = Long.MinValue)
End Interface

Class C
    Implements I ' Implement members
End Class


Result:

Interface I
    Sub Foo(Optional ByVal x As Long = Long.MinValue)
End Interface

Class C
    Implements I

    Public Sub Foo(Optional ByVal x As Long = - 9223372036854775808) Implements I.Foo ' error BC30036: Overflow.
        Throw New NotImplementedException()
    End Sub
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>