/[RomCheater]/trunk/RomCheater/Serialization/SearchResultReader.cs
ViewVC logotype

Diff of /trunk/RomCheater/Serialization/SearchResultReader.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Serialization/SearchResultReader.cs	2013/06/06 01:54:53	551
+++ trunk/RomCheater/Serialization/SearchResultReader.cs	2013/06/06 02:00:23	552
@@ -174,7 +174,7 @@
     public class SearchResultReader : SerializationReader, ISearchResultReader, ISerializedResult<ulong>
     {
         private Guid _ResultGuid;
-        private Guid ResultGuid { get { return _ResultGuid; } set { _ResultGuid = value; } }
+        //private Guid ResultGuid { get { return _ResultGuid; } set { _ResultGuid = value; } }
         public int MinimumIndex { get { return 0; } }
         public int MaximumIndex { get { return this.ResultCount - 1; } }
 
@@ -348,9 +348,9 @@
                             byte[] guid_array = new byte[guid_array_length];
                             binReader.Read(guid_array, 0, guid_array_length);
                             Guid g = new Guid(guid_array);
-                            if (g != ResultGuid)
+                            if (g != ReaderGuid)
                             {
-                                throw new InvalidOperationException(string.Format("Encountered wrong search results guid: read '{1}' excpected '{2}'", g.ToString(), ResultGuid.ToString()));
+                                throw new InvalidOperationException(string.Format("Encountered wrong search results guid: read '{1}' excpected '{2}'", g.ToString(), ReaderGuid.ToString()));
                             }
                         }
                         else

 

  ViewVC Help
Powered by ViewVC 1.1.22