Diff.ToString() throws a NullReferenceException
dafbyte opened this issue · comments
Ofer B commented
The C# implementation doesn't consider null value for the text field.
The following line shows how to reproduce.
This will not raise a warning on .NET Framework variations (v2.0, v3.x, v4.x).
Diff diff = new Diff(Operation.EQUAL, null);
string actualString = diff.ToString();