You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@@ -157,7 +157,7 @@ namespace System.Xml.Serialization {
|
||||
mps.RelatedMaps = relatedMaps;
|
||||
mps.Format = SerializationFormat.Literal;
|
||||
Type[] extraTypes = includedTypes != null ? (Type[])includedTypes.ToArray(typeof(Type)) : null;
|
||||
#if !NET_2_1
|
||||
#if !MOBILE
|
||||
mps.Source = new MembersSerializationSource (elementName, hasWrapperElement, members, false, true, ns, extraTypes);
|
||||
if (allowPrivateTypes) mps.Source.CanBeGenerated = false;
|
||||
#endif
|
||||
@@ -226,7 +226,7 @@ namespace System.Xml.Serialization {
|
||||
map.RelatedMaps = relatedMaps;
|
||||
map.Format = SerializationFormat.Literal;
|
||||
Type[] extraTypes = includedTypes != null ? (Type[]) includedTypes.ToArray (typeof (Type)) : null;
|
||||
#if !NET_2_1
|
||||
#if !MOBILE
|
||||
map.Source = new XmlTypeSerializationSource (typeData.Type, root, attributeOverrides, defaultNamespace, extraTypes);
|
||||
if (allowPrivateTypes) map.Source.CanBeGenerated = false;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user