6 writes to BaseMapping
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (2)
395
mapping.
BaseMapping
= baseMapping;
441
if (mapping.BaseMapping == null) mapping.
BaseMapping
= GetRootMapping();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
330
structMapping.
BaseMapping
= (StructMapping)baseMapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (2)
809
mapping.
BaseMapping
= baseMapping;
925
if (mapping.BaseMapping == null) mapping.
BaseMapping
= GetRootMapping();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
666
structMapping.
BaseMapping
= (StructMapping)baseMapping;
42 references to BaseMapping
dotnet-svcutil-lib (42)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (11)
560
mapping = mapping.
BaseMapping
;
598
if (
BaseMapping
!= null)
600
MemberMapping baseMember =
BaseMapping
.FindDeclaringMapping(member, out declaringMapping, parent);
629
if (
BaseMapping
== null ||
BaseMapping
.TypeDesc.IsRoot)
633
else if (
BaseMapping
.HasSimpleContent)
638
throw new InvalidOperationException(string.Format(ResXml.XmlIllegalSimpleContentExtension, TypeDesc.FullName,
BaseMapping
.TypeDesc.FullName));
683
while (!start.
BaseMapping
.IsSequence && start.
BaseMapping
!= null && !start.
BaseMapping
.TypeDesc.IsRoot)
684
start = start.
BaseMapping
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (2)
173
if (mapping.
BaseMapping
!= null)
174
ExportType(mapping.
BaseMapping
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (4)
392
int baseIndex = limiter.DeferredWorkItems.IndexOf(mapping.
BaseMapping
);
434
if (mapping.
BaseMapping
!= null)
436
if (mapping.
BaseMapping
.Declares(member, mapping.TypeName)) continue;
441
if (mapping.
BaseMapping
== null) mapping.BaseMapping = GetRootMapping();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
331
if (mapping.
BaseMapping
!= null && mapping.
BaseMapping
.IncludeInSchema)
334
extension.BaseTypeName = ExportStructMapping(mapping.
BaseMapping
, mapping.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (5)
1076
if (mapping.
BaseMapping
== null)
1085
if (mapping.
BaseMapping
!= null)
1087
GetAllMembers(mapping.
BaseMapping
, list);
1111
if (mapping.
BaseMapping
!= null)
1113
GetSettableMembers(mapping.
BaseMapping
, list);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (2)
635
if (mapping.
BaseMapping
!= null)
636
ExportType(mapping.
BaseMapping
, null, mapping.Namespace, null, false);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (7)
811
ICollection values = mapping.
BaseMapping
.LocalAttributes.Values;
816
if (!mapping.
BaseMapping
.HasExplicitSequence())
818
values = mapping.
BaseMapping
.LocalElements.Values;
860
if (mapping.
BaseMapping
!= null)
862
if (mapping.
BaseMapping
.Declares(member, mapping.TypeName)) continue;
925
if (mapping.
BaseMapping
== null) mapping.BaseMapping = GetRootMapping();
927
if (mapping.XmlnsMember != null && mapping.
BaseMapping
.HasXmlnsMember)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (7)
1029
if (mapping.
BaseMapping
!= null && mapping.
BaseMapping
.IncludeInSchema)
1031
if (mapping.
BaseMapping
.IsAnonymousType)
1033
throw new InvalidOperationException(string.Format(ResXml.XmlAnonymousBaseType, mapping.TypeDesc.Name, mapping.
BaseMapping
.TypeDesc.Name, "AnonymousType", "false"));
1039
extension.BaseTypeName = ExportStructMapping(mapping.
BaseMapping
, mapping.Namespace, null);
1046
extension.BaseTypeName = ExportStructMapping(mapping.
BaseMapping
, mapping.Namespace, null);
1049
model.IsMixed = XmlSchemaImporter.IsMixed((XmlSchemaComplexType)_types[mapping.
BaseMapping
]);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
670
CodeIdentifiers membersScope = structMapping.
BaseMapping
.Scope.Clone();