Fixed
-Could not write lines to file CoverletSourceRootsMapping - in use by another process #1155
-Incorrect coverage for methods returning IAsyncEnumerable in generic classes #1383
-Wrong branch coverage for async methods .NET Standard 1.x #1376
-Empty path exception in visual basic projects #775
-Align published nuget package version to github release version #1413
-Sync nuget and github release versions #1122
Improvements
-Migration of the project to .NET 6.0 #1473
Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic assembly exclusion #1164. The parameter InstrumentModulesWithoutLocalSources has been removed. since it can be handled by setting ExcludeAssembliesWithoutSources to None.
The default heuristics for determining whether to instrument an assembly has been changed. In previous versions any missing source file was taken as a signal that it was a third-party project that shouldn't be instrumented, with exceptions for some common file name patterns for source generators. Now only assemblies where no source files at all can be found are excluded from instrumentation, and the code for detecting source generator files have been removed. To get back to the behaviour that at least one missing file is sufficient to exclude an assembly, set ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion filters for more fine-grained control.