Priority
Major
Type
Bug 
State
Won't fix 
Assignee
Eugene Pasynkov 
Subsystem
Code Analysis 
Affected versions
Fixed in
Fixed in build
Next build 
  • Submitted by   Olga Lobacheva
    3 years ago (17 Jan 2007 21:21)
  • Updated by Olga Lobacheva
    2 years ago (20 Jun 2007 20:43)
  • Jira: RSRP-34525
    (history, comments)

RSRP-34525

Cast is not redundant

0
Cast is not redundant in such situation:

object x = 1;
object o1 = (string)x; // this cast highlights as redundant
object o2 = (C)x; // same

class C{}

Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments