5 writes to BaseMapping
System.Private.Xml (5)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
366
mapping.
BaseMapping
= baseMapping;
412
mapping.
BaseMapping
??= GetRootMapping();
System\Xml\Serialization\XmlReflectionImporter.cs (2)
812
mapping.
BaseMapping
= baseMapping;
928
mapping.
BaseMapping
??= GetRootMapping();
System\Xml\Serialization\XmlSchemaImporter.cs (1)
561
structMapping.
BaseMapping
= (StructMapping)baseMapping;
35 references to BaseMapping
System.Private.Xml (35)
System\Xml\Serialization\Mappings.cs (13)
554
mapping = mapping.
BaseMapping
;
587
if (
BaseMapping
!= null)
589
MemberMapping? baseMember =
BaseMapping
.FindDeclaringMapping(member, out declaringMapping, parent);
617
if (
BaseMapping
== null ||
BaseMapping
.TypeDesc!.IsRoot)
621
else if (
BaseMapping
.HasSimpleContent)
626
throw new InvalidOperationException(SR.Format(SR.XmlIllegalSimpleContentExtension, TypeDesc!.FullName,
BaseMapping
.TypeDesc.FullName));
637
if (!_hasSimpleContent && text != null && !text.Mapping!.TypeDesc!.CanBeTextValue && !(
BaseMapping
!= null && !
BaseMapping
.TypeDesc!.IsRoot && (text.Mapping.TypeDesc.IsEnum || text.Mapping.TypeDesc.IsPrimitive)))
666
while (start.
BaseMapping
!= null && !start.
BaseMapping
.IsSequence && !start.
BaseMapping
.TypeDesc!.IsRoot)
667
start = start.
BaseMapping
;
System\Xml\Serialization\SoapReflectionImporter.cs (3)
363
int baseIndex = limiter.DeferredWorkItems.IndexOf(mapping.
BaseMapping
!);
405
if (mapping.
BaseMapping
!= null)
407
if (mapping.
BaseMapping
.Declares(member, mapping.TypeName!)) continue;
System\Xml\Serialization\Types.cs (5)
1027
if (mapping.
BaseMapping
== null)
1036
if (mapping.
BaseMapping
!= null)
1038
GetAllMembers(mapping.
BaseMapping
, list);
1063
if (mapping.
BaseMapping
!= null)
1065
GetSettableMembers(mapping.
BaseMapping
, list);
System\Xml\Serialization\XmlReflectionImporter.cs (6)
814
ICollection values = mapping.
BaseMapping
.LocalAttributes.Values;
819
if (!mapping.
BaseMapping
.HasExplicitSequence())
821
values = mapping.
BaseMapping
.LocalElements.Values;
863
if (mapping.
BaseMapping
!= null)
865
if (mapping.
BaseMapping
.Declares(member, mapping.TypeName)) continue;
930
if (mapping.XmlnsMember != null && mapping.
BaseMapping
.HasXmlnsMember)
System\Xml\Serialization\XmlSchemaExporter.cs (7)
986
if (mapping.
BaseMapping
!= null && mapping.
BaseMapping
.IncludeInSchema)
988
if (mapping.
BaseMapping
.IsAnonymousType)
990
throw new InvalidOperationException(SR.Format(SR.XmlAnonymousBaseType, mapping.TypeDesc.Name, mapping.
BaseMapping
.TypeDesc!.Name, "AnonymousType", "false"));
996
extension.BaseTypeName = ExportStructMapping(mapping.
BaseMapping
, mapping.Namespace, null);
1003
extension.BaseTypeName = ExportStructMapping(mapping.
BaseMapping
, mapping.Namespace, null);
1006
model.IsMixed = XmlSchemaImporter.IsMixed((XmlSchemaComplexType)_types[mapping.
BaseMapping
]!);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
565
CodeIdentifiers membersScope = structMapping.
BaseMapping
.Scope.Clone();