Argument type 'FluentNHibernate.Mapping.IProperty' is not CLS-compliant
-
05-09-2019 - |
Question
Name is not compliant? Layout? What?
Do you have ideas what exactly could generate this message? Any ideas are welcome. I have bunch of such warning.
Actually, I am open to remove CLSCompliant(true), but I want to know root cause.
Solution
Is it not just as simple as the Fluent.NHibernate
assembly not being CLSCompliant
? The IProperty
type isn't compliant, therefore a method taking it as a parameter isn't compliant.
OTHER TIPS
You might have a member that uses the same name with different casing - e.g. iProperty. Or perhaps you have two arguments that differ only in casing.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow