Skip to content

Commit 98d8f43

Browse files
CopilotYoussef1313
andauthored
Clarify ClassCleanupBehavior.EndOfClass usage syntax in MSTEST0034 documentation (#47581)
* Initial plan * Clarify ClassCleanupBehavior.EndOfClass usage syntax Co-authored-by: Youssef1313 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Youssef1313 <[email protected]>
1 parent a8c6827 commit 98d8f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/testing/mstest-analyzers/mstest0034.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Without using `ClassCleanupBehavior.EndOfClass`, the `[ClassCleanup]` will by d
3434

3535
## How to fix violations
3636

37-
Use `ClassCleanupBehavior.EndOfClass` with the `[ClassCleanup]`.
37+
Use `[ClassCleanup(ClassCleanupBehavior.EndOfClass)]`.
3838

3939
## When to suppress warnings
4040

0 commit comments

Comments
 (0)