ExcludeFromCodeCoverage
attribute is ignored on local function
#1302
Labels
bug
Something isn't working
tenet-coverage
Issue related to possible incorrect coverage
with repro
Issue with repro
Having the following code:
Coverlet reports the line
return myString => myString.Length == 10;
as uncovered even though the local method is excluded from code coverage:I would expect the local function to be shown as excluded.
The full code (along with other reproductions for already reported issues) is here: https://github.com/meggima/coverlet-reproductions
The text was updated successfully, but these errors were encountered: