Open smasher164 opened 2 years ago
Where are those error messages defined? I'd like to take a look on it.
In all the rules in this directory: https://github.com/dotnet/sdk/tree/main/src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules.
The actual strings are defined in the project's Resources.resx file.
Pull request: #33084
Some error messages have lengthier prose, like
VisitorRightCountShouldMatchMappersSetSize
withThe provided right count when creating the visitor should match the right set size specified for the mappers.
Others, on the other hand, are terse while being precise about the symbol that was affected, likeTypeExistsOnLeft
withType '{0}' exists on {1} but not on {2}
.It might be worth unifying these styles. /cc @joperezr