#85857·roslyn

Follow up on xUnit1051 suppression in Razor compiler tests

Author: mwiemer-microsoftCreated Sep 30, 2026Updated Oct 1, 2026
LabelsArea-Razor-Compiler

AI-generated:

The xUnit v3 migration added a suppression for xUnit1051 in src/Razor/src/Compiler/.editorconfig. Track migrating affected test calls to use TestContext.Current.CancellationToken where appropriate, then remove the suppression. The suppression is temporary compatibility debt from the test-framework migration, not a product-code behavior change.