Update ValueSerialization.cs
fix provided for set provided by stuart-b