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

RSRP-162230: QF Initialize from constructor parameter produced erroneus code

$
0
0
Reporter Victor Kropp (kropp) Victor Kropp (kropp)
Created Feb 22, 2010 6:19:26 PM
Updated Apr 20, 2018 2:03:42 PM
Resolved Apr 18, 2018 7:25:45 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Verified
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I had a constructor
public PatternCatalogue(ISolution solution)
I added field
private ISolution mySolution;
and invoked QF on it.
It added another ISolution solution parameter to my constructor. Produced code won't compile.

There're two ways to resolve it:
  1. Add parameter with different
  2. Use parameter already there

I suggest to give option to user.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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