chore: update Meziantou.Analyzer to 3.0.290 - #1115
Conversation
Suppress the new MA0054 warning where the mocks deliberately rethrow `UnauthorizedAccessException` as an `IOException` without an inner exception, to keep the mock behavior unchanged.
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The valid dependency update and narrowly scoped suppressions preserve existing behavior without unresolved issues.
Review effort: Balanced
Findings: None
What changed in this PR
Updates Meziantou.Analyzer while preserving intentional mock exception behavior.
Changes:
- Updates the analyzer from 3.0.266 to 3.0.290.
- Suppresses MA0054 at two deliberate exception translations.
| File | Description |
|---|---|
Directory.Packages.props |
Updates the analyzer version. |
Source/Testably.Abstractions.Testing/FileSystem/DirectoryMock.cs |
Suppresses MA0054 for directory deletion. |
Source/Testably.Abstractions.Testing/FileSystem/DirectoryInfoMock.cs |
Suppresses MA0054 for directory-info deletion. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Test Results 62 files ±0 62 suites ±0 1h 20m 38s ⏱️ + 2m 35s Results for commit 17d3568. ± Comparison against base commit 955dbd4. This pull request removes 62988 and adds 62984 tests. Note that renamed tests count towards both.This pull request removes 6893 skipped tests and adds 6893 skipped tests. Note that renamed tests count towards both. |
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
|
This is addressed in release v7.1.1. |



Suppress the new MA0054 warning where the mocks deliberately rethrow
UnauthorizedAccessExceptionas anIOExceptionwithout an inner exception, to keep the mock behavior unchanged.