We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cafb53a commit 7323ddfCopy full SHA for 7323ddf
src/NHibernate.Test/StaticProxyTest/StaticProxyFixture.cs
@@ -467,15 +467,9 @@ private static BinaryFormatter GetFormatter()
467
#if NETFX
468
return new BinaryFormatter();
469
#else
470
- var selector = new SerializationHelper.SurrogateSelector();
471
- selector.AddSurrogate(
472
- typeof(CultureInfo),
473
- new StreamingContext(StreamingContextStates.All),
474
- new CultureInfoSerializationSurrogate());
475
- selector.ChainSelector(new SerializationHelper.SurrogateSelector());
476
return new BinaryFormatter
477
{
478
- SurrogateSelector = selector
+ SurrogateSelector = new SerializationHelper.SurrogateSelector()
479
};
480
#endif
481
}
0 commit comments