Explicit private modifier

So, my boss wants me to not explicitly have private modifier for properties and member variables, but he wants them for functions.

Is this possible? Is there a request for this in the ReSharper issue tracker?

Thanks,
Kevin

3 comments
Comment actions Permalink

Hello Kevin,

Could you please specify what would you like ReSharpe to do in this case?
Thanks.

0
Comment actions Permalink

I recieved clarification from my boss.

In code cleanup, I would like:

  • private explicitly added to all propertis and functions.
  • no private keyword specified for private fields (private class variables)


Thanks,
Kevin

0
Comment actions Permalink

Hello Kevin,

Thanks for clarification. Unfortunaltely, ReSharper cannot 'force' anything to be (or not) included to the source code, like the 'private' modifier you described. ReSharper can suggest to add or remove something, but will not force developer to do so.

We apologize for the inconvenience.
Thank you!

0

Please sign in to leave a comment.