Skip to content

Recurrence of issue #94: Compiler-generated branch for method group caching is not excluded #188

Closed

Description

Previously, I reported issue #94, which prevented compiler-generated branches from being ignored when method groups were cached, leading to the inability to reach 100% code coverage.

In recent months, the issue has returned, both in Debug and Release modes, in what appear to be exactly the same circumstances. While I haven't been able to place exactly when it returned -- it's not clear whether moving to the .NET 9 SDK or a particular version of Visual Studio is the culprit -- I can report that I'm experiencing the problem on Visual Studio 17.14.15, in a project targeting net8.0.

See the previous issue for details; the problem now appear to be the same.

Thanks very much!

Activity

  1. added this to the 18.11 milestone on Sep 17, 2026
  2. fhnaseer commented on Sep 17, 2026

    @fhnaseer
    Member

    Please use latest code coverage for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions