mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 02:25:41 +00:00
ci: exclude default arm of Rune.Repeat from coverage
This commit is contained in:
parent
95cd3e8cbc
commit
58c333a173
@ -89,7 +89,17 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\X10D.SourceGenerator\X10D.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
|
<ProjectReference Include="..\X10D.SourceGenerator\X10D.SourceGenerator.csproj">
|
||||||
|
<OutputItemType>Analyzer</OutputItemType>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="JetBrains.dotCover.MSBuild" Version="1.0.5-alpha">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -98,8 +98,12 @@ public static class RuneExtensions
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// dotcover disable
|
||||||
|
//NOSONAR
|
||||||
default:
|
default:
|
||||||
return Default();
|
return Default();
|
||||||
|
//NOSONAR
|
||||||
|
// dotcover enable
|
||||||
}
|
}
|
||||||
|
|
||||||
[ExcludeFromCodeCoverage, DoesNotReturn]
|
[ExcludeFromCodeCoverage, DoesNotReturn]
|
||||||
|
Loading…
Reference in New Issue
Block a user