Reporter | Vianney PHILIPPE (vianney) |
---|---|
Created | Apr 18, 2018 4:00:15 PM |
Updated | Apr 18, 2018 4:00:45 PM |
Subsystem | No Subsystem |
Assignee | Unassigned |
Priority | Normal |
State | Submitted |
Type | Unspecified |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Similar to RSRP-468697.
New code :
New code :
ProjectTest.csproj
class StuffCollection
{
public StuffCollection(IEnumerable<Stuff> array)
{
Values = array;
}
public IEnumerable<Stuff> Values { get; }
}
[TestFixture]
class Fixture
{
[Test] public void Test()
{
var details = new[] { new Stuff("foo") };
var collection = new StuffCollection(details);
Assert.IsNotNull(details);
}
}