Interesting, thank you.

Now the problem is that my IUserType.ReturnType is an interface and
obviously interface cannot be marked as [Serializable] and I don't want to
implement the ISerializable interface, because I don't need it.

.m

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Felix Gartsman
Sent: lunedì 12 ottobre 2009 10:33
To: nhusers
Subject: [nhusers] Re: NH Warning (NHProof Alert)


The warning is wrongly worded. The not serializable type is not the custom
type, but its return type, i.e. IUserType.ReturnedType.

On Oct 12, 9:43 am, "Mauro Servienti" <[email protected]>
wrote:
> Hi,
>
> Running NHProof profiling my current solution it issues a warning 
> saying that one of my custom type is not serializable (WARN: custom 
> type is not Serializable). Googling around seems that the warn is 
> emitted by nhibernate if the custom user type does not implement the
ISerializable interface.
>
> My type is marked as [Serializable] and apparently everything work as 
> expected, can I ignore the alert?
>
> .m



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to