NHibernate.Search is not CLS compliant.

Description

Compilation of NHibernate.Search.dll with Mono from SVN fails:

[csc] Compiling 70 files to '/mnt/storage/subversion/nhibernate/build/NHibernate-2.0.0.Alpha1-debug/bin/mono-2.0/NHibernate.Search.dll'.
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Engine/DocumentBuilder.cs(199,37): warning CS1587: XML comment is not placed on a valid language element
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Backend/LuceneIndexingParameters.cs(10,18): warning CS1570: XML comment on `T:NHibernate.Search.Backend.LuceneIndexingParameters' has non-well-formed XML ('p' is expected Line 7, position 4.)
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Bridge/IStringBridge.cs(14,16): warning CS1572: XML comment on `NHibernate.Search.Bridge.IStringBridge.ObjectToString(object)' has a param tag for `?', but there is no parameter by that name
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Store/FSMasterDirectoryProvider.cs(22,18): warning CS1570: XML comment on `T:NHibernate.Search.Storage.FSMasterDirectoryProvider' has non-well-formed XML (Expected =, but found > [62] Line 4, position 41.)
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Store/FSSlaveDirectoryProvider.cs(24,18): warning CS1570: XML comment on `T:NHibernate.Search.Storage.FSSlaveDirectoryProvider' has non-well-formed XML (Expected =, but found > [62] Line 5, position 41.)
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Attributes/ClassBridgeAttribute.cs(12,18): error CS3015: `NHibernate.Search.Attributes.ClassBridgeAttribute' has no accessible constructors which use only CLS-compliant types
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Attributes/FieldBridgeAttribute.cs(6,22): error CS3015: `NHibernate.Search.Attributes.FieldBridgeAttribute' has no accessible constructors which use only CLS-compliant types
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Backend/LuceneWork.cs(21,94): error CS3001: Argument type `Lucene.Net.Documents.Document' is not CLS-compliant
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Backend/AddLuceneWork.cs(7,94): error CS3001: Argument type `Lucene.Net.Documents.Document' is not CLS-compliant
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Bridge/Builtin/ValueTypeBridge.cs(9,27): warning CS3005: Identifier `NHibernate.Search.Bridge.Builtin.ValueTypeBridge.Parse' differing only in case is not CLS-compliant
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Bridge/Builtin/ValueTypeBridge.cs(11,22): (Location of the symbol related to previous warning)
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Engine/DocumentBuilder.cs(40,60): error CS3001: Argument type `Lucene.Net.Analysis.Analyzer' is not CLS-compliant
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Query/FullTextQueryImpl.cs(31,58): error CS3001: Argument type `Lucene.Net.Search.Query' is not CLS-compliant
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/Util/ScopedAnalyzer.cs(12,18): error CS3009: `NHibernate.Search.Util.ScopedAnalyzer': base type `Lucene.Net.Analysis.Analyzer' is not CLS-compliant
[csc] /mnt/storage/subversion/nhibernate/src/NHibernate.Search/LuceneQueryExpression.cs(17,62): error CS3001: Argument type `Lucene.Net.Search.Query' is not CLS-compliant
[csc] Compilation failed: 8 error(s), 6 warnings

Patch compiles NHibernate.Search.dll as non-CLS-compliant.

Environment

None

Attachments

2

Activity

Show:

Jan Oravec 
February 27, 2008 at 5:07 AM

Adding 'trunk' postfix.

Dario Quintana 
February 25, 2008 at 5:30 AM

Search is moving to NHibernate.Contrib, only the core will remains. We need wait a litle for this issue.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created February 25, 2008 at 3:01 AM
Updated July 9, 2008 at 11:33 PM
Resolved February 27, 2008 at 5:26 AM
Who's Looking?