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: r1102154 - /incubator/lucene.net/trunk/src/core/SupportClass.cs
Date Thu, 12 May 2011 01:14:59 GMT
Author: pnasser
Date: Thu May 12 01:14:58 2011
New Revision: 1102154

URL: http://svn.apache.org/viewvc?rev=1102154&view=rev
Log:
LUCENENET-361 Workaround for a Mono C# compiler issue (trunk update)

Modified:
    incubator/lucene.net/trunk/src/core/SupportClass.cs

Modified: incubator/lucene.net/trunk/src/core/SupportClass.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/core/SupportClass.cs?rev=1102154&r1=1102153&r2=1102154&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/core/SupportClass.cs (original)
+++ incubator/lucene.net/trunk/src/core/SupportClass.cs Thu May 12 01:14:58 2011
@@ -1997,11 +1997,16 @@ public class SupportClass
             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