Misc cleanup

This commit is contained in:
Cinder Biscuits
2019-06-08 17:58:54 -05:00
parent 50542975ab
commit 9e1fa3f882
37 changed files with 112 additions and 178 deletions

View File

@@ -87,10 +87,7 @@ namespace LitJson
public JsonWriter (TextWriter writer)
{
if (writer == null)
throw new ArgumentNullException (nameof(writer));
this.TextWriter = writer;
this.TextWriter = writer ?? throw new ArgumentNullException (nameof(writer));
Init ();
}