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

RSRP-288343: 'Expression is always false' (Delegate.Combine)

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 16, 2012 5:12:59 AM
Updated Feb 17, 2012 11:13:43 PM
Resolved Feb 17, 2012 5:45:22 PM
Priority Normal
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.4627
using System;

class C
{
    static void Main()
    {
        Action a = delegate { };
        Action b = delegate { };
        var c = Delegate.Combine(a, b);
        if(c == null) // Expression is always false
        {
            
        }
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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