Skip to content

Commit

Permalink
Update to handle type comparisons for some situations
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Talbot committed Aug 15, 2011
1 parent 3d5520e commit f2ff75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SerializationUnits.cs
Expand Up @@ -121,7 +121,7 @@ private void EncodeType(object item, Type storedType)
var itemType = item.GetType().TypeHandle;

//If this isn't a simple type, then this might be a subclass so we need to
//store the type
//store the type anyway
if (storedType == null || !storedType.Equals(item.GetType()) || SilverlightSerializer.Verbose)
{
//Write the type identifier
Expand Down

0 comments on commit f2ff75c

Please sign in to comment.