automatic properties when implementing interface with get only properties

given following interface:

interface IFoo {
     int Bar {get;}
}

and following type

class Foo : IFoo {

}

when I use Implement interface over IFoo and choose automatic properties, the code generate only the getter with NotImplementedException for the Bar property

It used to work as I intend in v4 and 4.5

Is there any plan or workaround to support this again?

Thanks

5 comments
Comment actions Permalink

Hello Gauthier
     Thank you very much for reporting! I've added a bug-report: http://youtrack.jetbrains.net/issue/RSRP-165212.

Andrey Serebryansky

Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"
0
Comment actions Permalink

Thanks for your feedback.

Is there any way I can follow and be notified about this issue via you track? (I didn't find the option after being logged on)

0
Comment actions Permalink

Hello Gauthier
     Open the issue page in your browser, expand the 'Watchers' list and click the 'Watch issue' link. Thank you!

Andrey Serebryansky

Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"
0
Comment actions Permalink

Thanks for the followup,

for some reason I'm unable to see any "watcher" link nor text in the page, I'm already logged in, and tried to logoff/logon but still no watcher feature on the issue detail screen (http://youtrack.jetbrains.net/issue/RSRP-165212)

should it be located at the top navigation inside the issue detail (with Resolve, Assign, ...)?

Thanks for your help

0
Comment actions Permalink

Hello,

Look for the field glass icon right under the issue title.

You could also execute the command (just start typing):
Watched Issues
on this issue, which marks the issue as watched by you.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Please sign in to leave a comment.