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

RSRP-358592: Extract method on comment in empty method results to not valid code

$
0
0
Reporter Dmitry Wolf (diimdeep) Dmitry Wolf (diimdeep)
Created Apr 22, 2013 2:40:25 PM
Updated Apr 26, 2018 5:54:38 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1, 7.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
    public void Method()
    {
        // @todo comment
    }

Select line
// @todo comment

Execute "Extract Method", result is not valid code

        public void Method() GetValue();

        private static void GetValue()
        {
            {
                // @todo comment
            }
        }

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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