Closed
Description
internal record structs are handled incorrectly
namespace ClassLibrary1;
public class DummyMix
{
private readonly record struct DummyInternalRecord(string Type, string Name, string Attribute);
private readonly DummyInternalRecord _internalRecord;
public DummyMix(string name)
{
_internalRecord = new DummyInternalRecord("string", name, "");
}
public string Name => _internalRecord.Name;
}
- getting coverage with dotcover
- converting with reportgenerator
leads to multiple
<method name="Name" signature="()" line-rate="1" branch-rate="1" complexity="NaN">
<lines>
<line number="7" hits="1" branch="false" />
</lines>
</method>
with missing DummyInternalRecord context
for the full dummy project see
ClassLibrary1.zip
if I can help to inspect this further please don't hesitate to contact me.
thanks in advance