We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc0648e commit b0fb980Copy full SHA for b0fb980
crates/bindings-csharp/Codegen.Tests/Tests.cs
@@ -124,7 +124,7 @@ static IEnumerable<Diagnostic> GetCompilationErrors(Compilation compilation)
124
.Emit(Stream.Null)
125
.Diagnostics.Where(diag => diag.Severity != DiagnosticSeverity.Hidden)
126
// The order of diagnostics is not predictable, sort them by location & content to make the test deterministic.
127
- .OrderBy(diag => diag.Location.ToString() + diag.GetMessage());
+ .OrderBy(diag => diag.ToString());
128
}
129
130
[Fact]
0 commit comments