The aim of the project is to enable "Roslyn" diagnostics for the validation of the formatstrings supplied to String.Format at pre-compile time.
CA2241: Provide correct arguments to formatting methods
(From the link above.)
Validation Rules Supported
- Are the Argument Index supplied within range, of those supplied?
- Is the Argument Index less than the limit of 1000000 (This is defined inside of the .net framework's implementation)
- Is the Alignment with less than the limit of 1000000 (This is define inside of the .net framework's implementation)
- Unexpected Characters
- Unexpectedly reached the End Of Text
Includes an idea of what the output*0
May display the variable names instead. I think it is good enough for an impression of the output.
Diagnostics available for both VB.net and C#