lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [Lucene.Net] svn commit: r1086410 - in /incubator/lucene.net/trunk/C#/src/Lucene.Net: AssemblyInfo.cs Store/AlreadyClosedException.cs
Date Mon, 28 Mar 2011 21:30:48 GMT
Author: digy
Date: Mon Mar 28 21:30:47 2011
New Revision: 1086410

URL: http://svn.apache.org/viewvc?rev=1086410&view=rev
Log:
[LUCENENET-408] [LUCENENET-399] Mark assembly as CLS compliant; make AlreadyClosedException
serializable

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/AssemblyInfo.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/AlreadyClosedException.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/AssemblyInfo.cs?rev=1086410&r1=1086409&r2=1086410&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/AssemblyInfo.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/AssemblyInfo.cs Mon Mar 28 21:30:47 2011
@@ -15,6 +15,7 @@
  * limitations under the License.
  */
 
+using System;
 using System.Reflection;
 using System.Runtime.CompilerServices;
 
@@ -33,6 +34,8 @@ using System.Runtime.CompilerServices;
 [assembly: AssemblyDefaultAlias("Lucene.Net")]
 [assembly: AssemblyCulture("")]
 
+[assembly: CLSCompliant(true)]
+
 [assembly: AssemblyInformationalVersionAttribute("2.9.4")]
 
 

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/AlreadyClosedException.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Store/AlreadyClosedException.cs?rev=1086410&r1=1086409&r2=1086410&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/AlreadyClosedException.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/AlreadyClosedException.cs Mon Mar 28
21:30:47 2011
@@ -16,6 +16,7 @@
  */
 
 using System;
+using System.Runtime.Serialization;
 
 namespace Lucene.Net.Store
 {
@@ -29,5 +30,9 @@ namespace Lucene.Net.Store
 		public AlreadyClosedException(System.String message):base(message)
 		{
 		}
+
+        protected AlreadyClosedException(SerializationInfo info, StreamingContext context)
: base(info, context)
+        {
+        }
 	}
 }
\ No newline at end of file



Mime
View raw message