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

RSRP-288313: VB.NET : Invalid "Cannot apply operator - to Nullable(of Double)"

$
0
0
Reporter Mauricio Scheffer (mausch1249231455740) Mauricio Scheffer (mausch1249231455740)
Created Feb 14, 2012 7:26:55 PM
Updated Feb 14, 2012 7:26:55 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions 6.1.1
Fixed in build No Fixed in build
In this VB.NET program:

Dim a As Double? = 2
Dim b = -a


ReSharper 6.1.42.60 says "Cannot apply operator '-' to operand of type 'System.Nullable(Of Double)'" but it compiles successfully.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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