CA1052: make type static.

This commit is contained in:
Huo Yaoyuan 2019-11-28 22:26:10 +08:00
parent d5994ed484
commit e46f6627e4
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@
<Rule Id="CA1040" Action="None" /> <Rule Id="CA1040" Action="None" />
<Rule Id="CA1044" Action="None" /> <Rule Id="CA1044" Action="None" />
<Rule Id="CA1051" Action="None" /> <Rule Id="CA1051" Action="None" />
<Rule Id="CA1052" Action="None" />
<Rule Id="CA1054" Action="None" /> <Rule Id="CA1054" Action="None" />
<Rule Id="CA1056" Action="None" /> <Rule Id="CA1056" Action="None" />
<Rule Id="CA1062" Action="None" /> <Rule Id="CA1062" Action="None" />

View File

@ -192,7 +192,7 @@ public object ReadObject()
} }
} }
public class DynamicDeserializer public static class DynamicDeserializer
{ {
private static VersionConfigToNamespaceAssemblyObjectBinder versionBinder; private static VersionConfigToNamespaceAssemblyObjectBinder versionBinder;
private static BinaryFormatter formatter; private static BinaryFormatter formatter;