You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the 'How to fix' paragraph it might be better to have
Use [ClassCleanup(ClassCleanupBehavior.EndOfClass)].
rather than
Use ClassCleanupBehavior.EndOfClass with the [ClassCleanup].
The current text assumes you are aware that the [ClassCleanup] attribute has this parameter and therefore know where to put it. Took me a few minutes to work it out.
Uh oh!
There was an error while loading. Please reload this page.
Type of issue
Missing information
Description
In the 'How to fix' paragraph it might be better to have
Use [ClassCleanup(ClassCleanupBehavior.EndOfClass)].
rather than
Use ClassCleanupBehavior.EndOfClass with the [ClassCleanup].
The current text assumes you are aware that the [ClassCleanup] attribute has this parameter and therefore know where to put it. Took me a few minutes to work it out.
Page URL
https://learn.microsoft.com/en-us/dotnet/core/testing/mstest-analyzers/mstest0034
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/testing/mstest-analyzers/mstest0034.md
Document Version Independent Id
45b4191f-e2b6-b094-fd50-c74d82e90e7e
Platform Id
33a5dc5e-227d-c562-3da3-4a15caa593cd
Article author
@engyebrahim
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: