Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-217947: Resharper proposes "protected" for new properties in a sealed class

$
0
0
Reporter Alex Berezoutsky (fergard) Alex Berezoutsky (fergard)
Created Feb 22, 2011 7:50:26 PM
Updated Feb 9, 2012 9:14:06 PM
Priority Major
Type Bug
Fix versions Next
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions 5.1.3
Fixed in build No Fixed in build
For the following code:
	  sealed class Test
	  {
		  public Test(string testString)
		  {
			  TestString = testString;
		  }
	  }

Place cursor on "TestString" and apply context action "Create property". As result, we are offering suggestion that property can be made static.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>