6 writes to BaseMapping
System.Xml (6)
System\Xml\Serialization\SoapReflectionImporter.cs (2)
356
mapping.
BaseMapping
= baseMapping;
396
if (mapping.BaseMapping == null) mapping.
BaseMapping
= GetRootMapping();
System\Xml\Serialization\SoapSchemaImporter.cs (1)
301
structMapping.
BaseMapping
= (StructMapping)baseMapping;
System\Xml\Serialization\XmlReflectionImporter.cs (2)
713
mapping.
BaseMapping
= baseMapping;
809
if (mapping.BaseMapping == null) mapping.
BaseMapping
= GetRootMapping();
System\Xml\Serialization\XmlSchemaImporter.cs (1)
584
structMapping.
BaseMapping
= (StructMapping)baseMapping;
42 references to BaseMapping
System.Xml (42)
System\Xml\Serialization\Mappings.cs (11)
471
mapping = mapping.
BaseMapping
;
503
if (
BaseMapping
!= null) {
504
MemberMapping baseMember =
BaseMapping
.FindDeclaringMapping(member, out declaringMapping, parent);
528
if (
BaseMapping
== null ||
BaseMapping
.TypeDesc.IsRoot) {
531
else if (
BaseMapping
.HasSimpleContent) {
534
throw new InvalidOperationException(Res.GetString(Res.XmlIllegalSimpleContentExtension, TypeDesc.FullName,
BaseMapping
.TypeDesc.FullName));
570
while (!start.
BaseMapping
.IsSequence && start.
BaseMapping
!= null && !start.
BaseMapping
.TypeDesc.IsRoot)
571
start = start.
BaseMapping
;
System\Xml\Serialization\SoapCodeExporter.cs (2)
163
if (mapping.
BaseMapping
!= null)
164
ExportType(mapping.
BaseMapping
);
System\Xml\Serialization\SoapReflectionImporter.cs (4)
354
int baseIndex = limiter.DeferredWorkItems.IndexOf(mapping.
BaseMapping
);
390
if (mapping.
BaseMapping
!= null) {
391
if (mapping.
BaseMapping
.Declares(member, mapping.TypeName)) continue;
396
if (mapping.
BaseMapping
== null) mapping.BaseMapping = GetRootMapping();
System\Xml\Serialization\SoapSchemaExporter.cs (3)
288
if (mapping.
BaseMapping
!= null && mapping.
BaseMapping
.IncludeInSchema) {
290
extension.BaseTypeName = ExportStructMapping(mapping.
BaseMapping
, mapping.Namespace);
System\Xml\Serialization\Types.cs (5)
928
if (mapping.
BaseMapping
== null)
936
if (mapping.
BaseMapping
!= null) {
937
GetAllMembers(mapping.
BaseMapping
, list);
957
if (mapping.
BaseMapping
!= null) {
958
GetSettableMembers(mapping.
BaseMapping
, list);
System\Xml\Serialization\XmlCodeExporter.cs (2)
551
if (mapping.
BaseMapping
!= null)
552
ExportType(mapping.
BaseMapping
, null, mapping.Namespace, null, false);
System\Xml\Serialization\XmlReflectionImporter.cs (7)
715
ICollection values = mapping.
BaseMapping
.LocalAttributes.Values;
719
if (!mapping.
BaseMapping
.HasExplicitSequence()) {
720
values = mapping.
BaseMapping
.LocalElements.Values;
756
if (mapping.
BaseMapping
!= null) {
757
if (mapping.
BaseMapping
.Declares(member, mapping.TypeName)) continue;
809
if (mapping.
BaseMapping
== null) mapping.BaseMapping = GetRootMapping();
811
if (mapping.XmlnsMember != null && mapping.
BaseMapping
.HasXmlnsMember)
System\Xml\Serialization\XmlSchemaExporter.cs (7)
879
if (mapping.
BaseMapping
!= null && mapping.
BaseMapping
.IncludeInSchema) {
880
if (mapping.
BaseMapping
.IsAnonymousType) {
881
throw new InvalidOperationException(Res.GetString(Res.XmlAnonymousBaseType, mapping.TypeDesc.Name, mapping.
BaseMapping
.TypeDesc.Name, "AnonymousType", "false"));
886
extension.BaseTypeName = ExportStructMapping(mapping.
BaseMapping
, mapping.Namespace, null);
892
extension.BaseTypeName = ExportStructMapping(mapping.
BaseMapping
, mapping.Namespace, null);
895
model.IsMixed = XmlSchemaImporter.IsMixed((XmlSchemaComplexType)types[mapping.
BaseMapping
]);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
588
CodeIdentifiers membersScope = structMapping.
BaseMapping
.Scope.Clone();