v
Not logged inv
SearchAsk a QuestionReport an IssueMake a SuggestionMy Questions and Issues
Issue Details
Find By ID

Convert not implemented property to autoproperty or property with backing field

Issue Details

Log in to Track Changes or Edit
S130512
Suggestion
ANDY KUTRUFF_1
Yes
Processed
Implemented
.NET
Refactor! Pro
v3.3.0
1/13/2009 7:21:20 PM
-> Created by ANDY KUTRUFF_1 11/28/2008 5:27:48 PM
Description
Proposed Solution

Whenever I choose to automatically implement an interface, a property that throws NotImplementedException in the getter and setter appears. For example:

        public int Foo
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

 

It would be great if there was a refactoring that let me turn this into an auto property, or a backing field property. I know this technically isn't a "refactoring" since it's actually causing the functionality of the code to change, but I find myself running into this quite a bit.

<- Processed (Accepted - Release TBD) by DevExpress Team 11/28/2008 6:17:49 PM
<- Processed (Implemented) by DevExpress Team 1/13/2009 7:21:20 PM
Log in to Track Changes or Edit

Peer-to-Peer Discussion in DevExpress Forums

No discussion on this article has been started yet.

Please login to start discussion.

v
v
Search
Searching Tips