Reporter | Hadi Hariri (hadihariri) |
---|---|
Created | Sep 6, 2011 3:23:01 PM |
Updated | Apr 20, 2018 6:01:48 PM |
Subsystem | Quick Fixes |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Major |
State | Submitted |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
public IEnumerable<TInternal> Get<TWrapper, TInternal>(string command) where TWrapper : IDataWrapper<TInternal>
{
var response = Get<TWrapper>(command);
if (response != null)
{
return response.Data;
}
return new List<TInternal>();
}
The != highlight (as attached). Apply QuickFix. Adds class restriction to TWrapper but not to Interface.
{
var response = Get<TWrapper>(command);
if (response != null)
{
return response.Data;
}
return new List<TInternal>();
}
The != highlight (as attached). Apply QuickFix. Adds class restriction to TWrapper but not to Interface.