Reporter | Sergey Dramarecky (sdramare) |
---|---|
Created | Jun 30, 2011 2:06:35 AM |
Updated | Feb 3, 2012 6:21:12 PM |
Priority | Critical |
Type | Bug |
Fix versions | Mirabile Futurum |
State | Open |
Assignee | Olga Lobacheva (olka) |
Subsystem | Code Analysis |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
If we have the following code:
Resharper analysis show what all ok, but actualy this code can't be compiled with error: Operator '??' cannot be applied to operands of type 'System.Func<T,bool>' and 'lambda expression'
Func<T, bool> predicate = null; predicate = predicate ?? (() => true);
Resharper analysis show what all ok, but actualy this code can't be compiled with error: Operator '??' cannot be applied to operands of type 'System.Func<T,bool>' and 'lambda expression'