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

RSRP-279745: 'Create method from usage' creates a new class in .Designer.cs file

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Nov 10, 2011 3:50:29 PM
Updated Jan 4, 2012 12:09:49 AM
Resolved Jan 3, 2012 4:28:48 PM
Priority Critical
Type Feature
Fix versions Next
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build 6.5.1.1703
Tried to create method 'foo' from usage and got it in .designer.cs file.
<asp:Button runat="server" OnClick="foo"/>

Seems like the reason is in Generated code options. If '*.Designer.cs ' is not in the 'Generated file masks' list the new method is created in .Designer.cs file.
Not sure this is correct because it causes some problems. One of them is designer file is regenerated after Rename class refactoring. As a result method created from usage is lost.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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