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

RSRP-288183: Implement abstract methods discards proper default values

$
0
0
Reporter Yuri Astrakhan (yurik) Yuri Astrakhan (yurik)
Created Feb 6, 2012 9:47:16 PM
Updated Feb 6, 2012 9:47:16 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
abstract class Foo
{
    protected abstract void Foo(int val = int.MaxValue);
}

class Bar:Foo // Implement methods produces  ... Foo(int val = 2147483647) instead of int.MaxValue
{    
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles