1. Jon Hanna
  2. SpookilySharp

Commits

Jon Hanna  committed 237e519

Typo in comment.

  • Participants
  • Parent commits 14a05bf
  • Branches master

Comments (0)

Files changed (1)

File SpookilySharp/SpookyHash.cs

View file
 // work of a living person in your jurisdiction. If not, it may be reasonably inferred that
 // permission is given by him to port the algorithm into other languages, as per here.
 
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Diagnostics.CodeAnalysis;
-using System.Runtime.Serialization;
-using System.Security;
-#if NET_20 || NET_30 || NET_35
-using System.Security.Permissions;
-#endif
-using System.Text.RegularExpressions;
-using Mnemosyne;
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.Serialization;
+using System.Security;
+#if NET_20 || NET_30 || NET_35
+using System.Security.Permissions;
+#endif
+using System.Text.RegularExpressions;
+using Mnemosyne;
 
 namespace SpookilySharp
 {
             ExceptionHelper.CheckMessageNotNull(message);
             foreach(string item in message)
                 if(item == null)
-                    Update(SpookyConst);//Just to make sure we produce a different hash for this case.
+                    Update(SpookyConst); // Just to make sure we produce a different hash for this case.
                 else
                     fixed(char* ptr = item)
                         Update(ptr, item.Length << 1);
 #else
         [SecurityCritical]
 #endif
-        void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
-        {
-            info.AddValue("d", _data);
-            info.AddValue("s0", _state0);
-            info.AddValue("s1", _state1);
-            info.AddValue("s2", _state2);
-            info.AddValue("s3", _state3);
-            info.AddValue("s4", _state4);
-            info.AddValue("s5", _state5);
-            info.AddValue("s6", _state6);
-            info.AddValue("s7", _state7);
-            info.AddValue("s8", _state8);
-            info.AddValue("s9", _state9);
-            info.AddValue("s10", _state10);
-            info.AddValue("s11", _state11);
-            info.AddValue("l", _length);
-            info.AddValue("r", _remainder);
-        }
+        void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
+        {
+            info.AddValue("d", _data);
+            info.AddValue("s0", _state0);
+            info.AddValue("s1", _state1);
+            info.AddValue("s2", _state2);
+            info.AddValue("s3", _state3);
+            info.AddValue("s4", _state4);
+            info.AddValue("s5", _state5);
+            info.AddValue("s6", _state6);
+            info.AddValue("s7", _state7);
+            info.AddValue("s8", _state8);
+            info.AddValue("s9", _state9);
+            info.AddValue("s10", _state10);
+            info.AddValue("s11", _state11);
+            info.AddValue("l", _length);
+            info.AddValue("r", _remainder);
+        }
     }
 }