lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnas...@apache.org
Subject [Lucene.Net] svn commit: r1100639 - /incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Support/EquatableList.cs
Date Sat, 07 May 2011 22:04:43 GMT
Author: pnasser
Date: Sat May  7 22:04:43 2011
New Revision: 1100639

URL: http://svn.apache.org/viewvc?rev=1100639&view=rev
Log:
LUCENENET-361 Workaround for a Mono C# Compiler issue

Modified:
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Support/EquatableList.cs

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Support/EquatableList.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Support/EquatableList.cs?rev=1100639&r1=1100638&r2=1100639&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Support/EquatableList.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Support/EquatableList.cs Sat
May  7 22:04:43 2011
@@ -230,12 +230,16 @@ namespace Lucene.Net.Support
             return GetHashCode(this);
         }
 
+#if __MonoCS__
+        public static int GetHashCode<T>(System.Collections.Generic.IEnumerable<T>
source)
+#else
         /// <summary>Gets the hash code for the list.</summary>
-        /// <param name="source">The <see cref="IEnumerable{T}"/>
+        /// <param name="source">The <see cref="IEnumerable<T>"/>
         /// implementation which will have all the contents hashed.</param>
         /// <returns>The hash code value.</returns>
         public static int GetHashCode(System.Collections.Generic.IEnumerable<T> source)
-        {
+#endif 
+         {
             // If source is null, then return 0.
             if (source == null) return 0;
 



Mime
View raw message