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

RSRP-288201: Typecast struct to object is marked as redundant, but behavior is changed when removed.

$
0
0
Reporter Dax Fohl (Dax.Fohl) Dax Fohl (Dax.Fohl)
Created Feb 8, 2012 12:34:52 AM
Updated Feb 8, 2012 12:34:52 AM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Evgeny Pasynkov (pasynkov)
Subsystem Code Cleanup
Affected versions 6.1
Fixed in build No Fixed in build

Console.WriteLine((uint)(object)0); //throws exception
Console.WriteLine((uint)0); //auto-refactor changes it to this, which changes the behavior

Viewing all articles
Browse latest Browse all 106942

Trending Articles