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
Currently DiagnosticVerifier.VerifyDiagnosticResults does check the order in which expected diagnostics occur. This occasionally leads to failed tests, because the order in which diagnostics are produced by Roslyn is not (always) deterministic at the moment.
The diagnostic order now considers both the location and ID as necessary
to produce a deterministic ordering of diagnostics during unit tests.
FixesDotNetAnalyzers#1734
Currently
DiagnosticVerifier.VerifyDiagnosticResults
does check the order in which expected diagnostics occur. This occasionally leads to failed tests, because the order in which diagnostics are produced by Roslyn is not (always) deterministic at the moment.Also see dotnet/roslyn#372 and dotnet/roslyn#1506 for details
The text was updated successfully, but these errors were encountered: