History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-37849
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Alexander Zverev
Reporter: Drew Noakes
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ReSharper

QuickFixes: "Make method internal" and "Make type internal" for public methods with internal property types

Created: 26 Mar 07 15:27   Updated: 17 Mar 08 13:15
Component/s: Quick Fixes
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 351


 Description  « Hide
When a public method of a public type has a parameter with internal visibility, ReSharper correctly highlights the error.

Currently, the only quick fix is "Make <parameter type> public".

In addition, I would like to see:

  • Make <method name> internal
  • Make <containing type> internal


 All   Comments   Work Log   Change History      Sort Order:
Drew Noakes - 21 May 07 11:34
I should have entitled this item as:

"QuickFixes: "Make method internal" and "Make type internal" for public methods with internal parameter types"

Of course this also pertains to protected methods too in some fashion.

This should also be checked against public/protected properties that return internal types, and public events with internal delegate types. Constructors are also methods for the sake of this evaluation.