Replaced hardcoded value (2) with TypeCode.DBNull (dotnet/corefx#34707)
authorLiran Chen <1437075+liranc@users.noreply.github.com>
Mon, 21 Jan 2019 00:35:24 +0000 (02:35 +0200)
committerStephen Toub <stoub@microsoft.com>
Mon, 21 Jan 2019 00:35:24 +0000 (19:35 -0500)
commitba6b2d0da18e47cf7a7b494729ca81042b7d79fc
treec6e394cffe3f49b7d6e1f696e7c352d142e70919
parentf891c937e01159ac146145ca9930d112fa8e0ea5
Replaced hardcoded value (2) with TypeCode.DBNull (dotnet/corefx#34707)

Commit migrated from https://github.com/dotnet/corefx/commit/34fd5242fc32e691e33e02b435b7a9b6cb01a2af
src/libraries/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/Converter.cs