Skip to content

Commit

Permalink
Fixed byte[] serialization (null value was throwing exception)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjez committed Sep 24, 2018
1 parent 7482412 commit d633a5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public ReaderDelegate CreateReaderFactory()
let parameters = method.GetParameters()
where parameters.Length == 1
let parameterType = parameters[0].ParameterType
where parameterType != typeof(object)
where parameterType != typeof(object) && parameterType != typeof(byte[])
where parameterType != typeof(DateTime) && parameterType != typeof(DateTime?)
where parameterType != typeof(DateTimeOffset) && parameterType != typeof(DateTimeOffset?)
select new { key = parameterType, value = method }
Expand Down

0 comments on commit d633a5d

Please sign in to comment.