Diagnostics analyzer: when interpolated string ($"...") is used as an object, will force it to be cast to FormattableString (this will preserve raw data values and is very useful, for example, when unit testing log messages).
Info
Version: | 1.0.6439.929 |
Author(s): | github.com/ikoshelev |
Last Update: | Thursday, August 17, 2017 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/IKoshelev/PreserveFormattableStringForObjParams |
NuGet Url: | https://www.nuget.org/packages/PreserveFormattableStringForObjParamsAnalyzer |
Install
Install-Package PreserveFormattableStringForObjParamsAnalyzer
dotnet add package PreserveFormattableStringForObjParamsAnalyzer
paket add PreserveFormattableStringForObjParamsAnalyzer
PreserveFormattableStringForObjParamsAnalyzer Download (Unzip the "nupkg" after downloading)
Dependencies
Tags