Skip to content

Commit

Permalink
Wrong branch coverage for async methods .NET Standard 1.x (#1433)
Browse files Browse the repository at this point in the history
Wrong branch coverage for async methods .NET Standard 1.x
  • Loading branch information
daveMueller committed Jan 20, 2023
1 parent 04b82c2 commit 1ff097d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
-Incorrect coverage for methods returning IAsyncEnumerable in generic classes [#1383](https://github.com/coverlet-coverage/coverlet/issues/1383)
-Wrong branch coverage for async methods .NET Standard 1.x [#1376](https://github.com/coverlet-coverage/coverlet/issues/1376)
-Allign published nuget package version to github release version [#1413](https://github.com/coverlet-coverage/coverlet/issues/1413)
-Sync nuget and github release versions [#1122](https://github.com/coverlet-coverage/coverlet/issues/1122)

Expand Down
1 change: 1 addition & 0 deletions src/coverlet.core/Symbols/CecilSymbolHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ instruction.Previous.Operand is MethodReference operand &&
operand.DeclaringType.Scope.Name == "System.Runtime" ||
operand.DeclaringType.Scope.Name == "netstandard" ||
operand.DeclaringType.Scope.Name == "mscorlib" ||
operand.DeclaringType.Scope.Name == "System.Threading.Tasks" ||
operand.DeclaringType.Scope.Name == "System.Threading.Tasks.Extensions"
)
)
Expand Down

0 comments on commit 1ff097d

Please sign in to comment.