You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
@@ -32,13 +27,19 @@ public void OnBeforeSerialize()
32
27
// load dictionary from lists
33
28
publicvoidOnAfterDeserialize()
34
29
{
35
-
this.Clear();
30
+
Clear();
36
31
37
32
if(keys.Count!=values.Count)
38
-
thrownewException(string.Format("there are {0} keys and {1} values after deserialization. Make sure that both key and value types are serializable.",keys.Count,values.Count));
33
+
{
34
+
thrownewException(
35
+
string.Format("there are {0} keys and {1} values after deserialization. Make sure that both key and value types are serializable.",
0 commit comments