Skip to content

SetupFixture should have an AttributeUsage of Inherited = false #4158

Description

@stevenaw

Based on the conversation in #3937, SetupFixture isn't intended to be used in a base class, however there is nothing stopping it from being added to a base class or even an abstract base class. One source of confusion here could be that the attribute is explicitly marked with Inherited = true prop in the AttributeUsage. It might help avoid confusion to make this explicitly false.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions