Project
ReSharper
Priority
Critical
Type
Bug
Fix versions
3.1
State
Fixed
Assignee
Olga Lobacheva
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Ludovic Dubois
    5 years ago (27 Feb 2007 18:01)
  • Updated by   Ludovic Dubois
    4 years ago (25 Oct 2007 19:35)
  • Jira: RSRP-36350
    (history, comments)
 
RSRP-36350 Bad nullable management
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
All computation with a 'null' literal value is correct.

Thus, :
int? i = null + 10;


is correct. Its value is 'null' of type 'int?'.
It is the same for -, *, /...

Special case for comparison operators. Returned type is 'bool' (but still valid!)

Issue was closed
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments