Skip to content

Change ClassCleanup default behavior to be "EndOfClass" #1316

Open
@Evangelink

Description

Summary

Current behavior of ClassCleanupAttribute is to be run at the end of the assembly and not at the end of the class as the name would suggest.

Note that it is possible to change this behavior (locally with a ctor/property) or globally using ClassCleanupExecutionAttribute.

Proposed Enhancement

Change default behavior to be EndOfClass. Although this is a breaking change, it will be possible for users to revert to old behavior simply by adding [assembly: ClassCleanupExecution(ClassCleanupBehavior.EndOfAssembly)].

AB#1711729

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions