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

RSRP-86844: Generate: Implement members bug

$
0
0
Reporter Alexander Zverev (alexander.zverev) Alexander Zverev (alexander.zverev)
Created Nov 24, 2008 7:03:34 PM
Updated Jul 8, 2011 4:43:29 PM
Priority Critical
Type Bug
Fix versions 6.1
State Open
Assignee Ilya Ryzhenkov (orangy)
Subsystem Generate Action
Affected versions No Affected versions
Fixed in build No Fixed in build
Try to implement all properties:

interface IAaa<T>
{
  int Prop1 { get; set; }
}

class B : IAaa<int>, IAaa<string>, IAaa<object>
{
}


Property bodies will contain reference to unresolved Prop1:
class B : IAaa<int>, IAaa<string>, IAaa<object>
{
  int IAaa<int>.Prop1
  {
    get { return Prop1; }
    set { Prop1 = value; }
  }

  int IAaa<string>.Prop1
  {
    get { return Prop1; }
    set { Prop1 = value; }
  }

  int IAaa<object>.Prop1
  {
    get { return Prop1; }
    set { Prop1 = value; }
  }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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