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

RSRP-287000: error CS0019: Operator '==' cannot be applied to operands of type 'S' and ''

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Dec 17, 2011 4:17:22 AM
Updated Dec 17, 2011 2:15:03 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
abstract class A<T>
{
    public abstract void Foo<S>() where S : T;
}

class B : A<int>
{
    public override void Foo<S>()
    {
        S s = default(S);
        var y = s == null;
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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