void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { info.AddValue(DecoderNLSSurrogate.EncodingKey, m_encoding); info.AddValue(DecoderNLSSurrogate.DecoderFallbackKey, m_fallback); info.SetType(typeof(DecoderNLSSurrogate)); }