I have a function with the return type IEnumerable<Workitem>. When I return e.g. an new Workitem for an empty list or a variable of type Workitem, Resharper shows an error with the message:
Cannot convert expression type 'Workitem' to return type 'System.Collections.Generic.IEnumerable<Workitem>'
Of course it will compile and run fine. (Typename Workitem was shortend for the web, real typename includes namespace and is a lot longer)