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

RSRP-216554: Create '==' operator quick-fix doesn't negate return expression

$
0
0
Reporter Jura Gorohovsky (gorohoroh) Jura Gorohovsky (gorohoroh)
Created Feb 19, 2011 12:15:59 PM
Updated Jan 13, 2012 10:14:14 PM
Resolved Jan 13, 2012 10:14:14 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Won't fix
Assignee eugene legkiy (jenya.legkiy)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Original != operator:
	public static bool operator !=(Foo lhs, Foo rhs)
	{
		return !(lhs == rhs);
	}


Applying the Create '==' operator quick-fix results in:

	public static bool operator ==(Foo lhs, Foo rhs)
	{
		return !(lhs != rhs);
	}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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