Have you seen "Implement member in derived classes" not allowing autoproperty?

I wonder if anyone else is seeing this behavior.

Create a property in an interface and ctrl-enter and "Implement member in derived classes".

Most of the time I'm offered the opportunity to implement as autoproperty once I'm taken to the implementing class, but sometimes it bypasses that offering completely and I'm left with this kind of implementation:

        public Workspace SolutionWorkSpace
        {
            get { return null; }
            set { }
        }

And then from here there is no further offering to change this to an autoproperty. It has to be converted manually.

(R# 5.1.1760.3 on VStudio 2010 on Win Server 2008 R2 4.5GB RAM)

This has been entered into Bug Tracker:  http://youtrack.jetbrains.net/issue/RSRP-192430

3 comments
Comment actions Permalink

Hello,

I couldn't reproduce this behavior with the latest build. Does this happen
with any soluion (even in a newly created class library project)? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I wonder if anyone else is seeing this behavior. Most of the time I'm
offered the opportunity to implement as autoproperty, but sometimes it
bypasses that offering completely and I'm left with this kind of
implementation:

public Workspace SolutionWorkSpace
{
get { return null; }
set { }
}
And then from here there is no further offering to change this to an
autoproperty.

I'm initiating this from an interface.

VStudio 2010 on Win Server 2008 R2 4.5GB RAM

This has been entered into Bug Tracker:
http://youtrack.jetbrains.net/issue/RSRP-192430?query=by:+bobbb

---
Original message URL:
http://devnet.jetbrains.net/message/5280484#5280484



0
Comment actions Permalink

This is another intermittent one I'm afraid. I've seen this at home and at work -- I think I've seen it in a new class library, but I'm mostly working with a class library that is not newly created. I've seen this behavior for a good while, going back to before using the 5.1.2 bugfix builds.

When it does happen, I can undo, recrete the property in the interface and get the same behavior repeatedly. I'm pretty sure this issue is new to using R# with VS2010.

0
Comment actions Permalink

Hello,

I'm afraid I haven't seen such behavior, though I use this feature a lot.
Could you please monitor this situation for some time and try to notice any
circumstances that could lead to this behavior? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

This is another intermittent one I'm afraid. I've seen this at home
and at work -- I think I've seen it in a new class library, but I'm
mostly working with a class library that is not newly created. I've
seen this behavior for a good while, going back to before using the
5.1.2 bugfix builds.

When it does happen, I can undo, recrete the property in the interface
and get the same behavior repeatedly. I'm pretty sure this issue is
new to using R# with VS2010.

---
Original message URL:
http://devnet.jetbrains.net/message/5280603#5280603



0

Please sign in to leave a comment.