Skip to content

Commit

Permalink
Direct cast
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam committed Jun 29, 2017
1 parent b9afe19 commit 042b319
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal class LazyDocumentJsonConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
var d = value as LazyDocument;
var d = (LazyDocument)value;
if (d?._Value == null)
{
writer.WriteNull();
Expand Down

0 comments on commit 042b319

Please sign in to comment.