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

RSRP-186999: "String can be const" quick fix drops the comment following the declaration

$
0
0
Reporter Josh (Buedel) Josh (Buedel)
Created Jul 25, 2010 1:11:55 AM
Updated Apr 7, 2018 12:15:48 PM
Resolved Apr 7, 2018 12:15:18 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Put this code in a method:

string j = ""; // a comment

There's a quick fix that puts the const keyword in there. But it also deletes the comment following the declaration.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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