So our goal is that if we get a diagnostic warning like
we would like our code fix to replace it with something like:
var today = DateTime.Today;
WriteLine(Invariant($"The date is {today}"));
Because I used the 'Analyser With Code Fix' template when creating the solution, I also got a CodeFixProvider into my solution to start with. This is the class where we will be fixing the code by adding the call to Invariant around the interpolated string.