Commit 2d6e439
Clarify MobileFormatter collection type limitations in docs (#4822)
* Fix misleading docs claiming List<T> is serializable by MobileFormatter
Remove List<int> from the list of supported SerializationInfo types in
the CSLA 9 upgrade guide, and correct the serialization.md claim that
List<T> and Dictionary<K,V> are supported. These standard .NET
collection types are not directly serializable - users should use
MobileList<T> or MobileDictionary<K,V> from Csla.Core instead.
Fixes #4680
https://claude.ai/code/session_011R3Y2CSgCZrDwdVacjARaW
* Restore List<int> to SerializationInfo supported types list
CslaBinaryWriter/Reader explicitly handle List<int> (CslaKnownTypes.ListOfInt),
so it IS a valid type for use in custom serializers via SerializationInfo.AddValue.
Updated the warning to clarify that other generic collection types (List<string>,
Dictionary<K,V>, etc.) are not supported.
https://claude.ai/code/session_011R3Y2CSgCZrDwdVacjARaW
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent f5855ed commit 2d6e439
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments