<PackageReference Include="NUnit" Version="4.5.1" />

NUnit.Framework.Internal.TextMessageWriter

TextMessageWriter writes constraint descriptions and messages in displayable form as a text stream. It tailors the display of individual message components to form the standard message format of NUnit assertion failure messages.
namespace NUnit.Framework.Internal { public class TextMessageWriter : MessageWriter { public static readonly string Pfx_Expected; public static readonly string Pfx_Actual; public static readonly string Pfx_Difference; public static readonly int PrefixLength; public TextMessageWriter(); public TextMessageWriter(string userMessage, params object[] args); } }