Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not generate XmlElementAttribute IsNillable=true for collection pr…
…operty with non nullable element type For XmlSerializer IsNillable=true is for collection element ant not for collection itself. Because we do not support Nullable<> for collection elements with non nullable datatypes then we must not generate IsNillable=true. If we generate IsNillable=true for collectios with non nullable value types then XmlSerializer throws exception: 'System.InvalidOperationException: IsNullable may not be 'true' for value type System.DateTime. Please consider using Nullable<System.DateTime> instead'
- Loading branch information