Skip to content

[DOC] Excluding From Coverage bad defaults from given example #1764

@cboudereau

Description

@cboudereau

Describe the bug
From the documentation:

Image

The problem is that at least all async code is excluded from code coverage as it is stated in the dotnet documentation:

Image

Expected behavior
The given example should not add unwanted behavior. Removing CompilerGeneratedAttribute from the example could be a good start

Actual behavior
By using the given example, the code coverage is higher than expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedTo be investigated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions