2 writes to BaseTypeDesc
System.Xml (2)
System\Xml\Serialization\SchemaImporter.cs (1)
153
typeDescToChange.
BaseTypeDesc
= baseTypeDesc;
System\Xml\Serialization\Types.cs (1)
851
typeDesc.
BaseTypeDesc
= GetTypeDesc(baseType, memberInfo, false, false);
32 references to BaseTypeDesc
System.Xml (32)
System\Xml\Serialization\Models.cs (1)
173
CheckSupportedMember(typeDesc.
BaseTypeDesc
, member, type);
System\Xml\Serialization\SchemaImporter.cs (6)
148
while (typeDescToChange.
BaseTypeDesc
!= null && typeDescToChange.
BaseTypeDesc
!= baseTypeDesc)
149
typeDescToChange = typeDescToChange.
BaseTypeDesc
;
151
if (typeDescToChange.
BaseTypeDesc
!= null && typeDescToChange.
BaseTypeDesc
!= baseTypeDesc)
152
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidBaseType, structMapping.TypeDesc.FullName, baseType.FullName, typeDescToChange.
BaseTypeDesc
.FullName));
System\Xml\Serialization\SoapCodeExporter.cs (2)
129
string baseName = mapping.TypeDesc.
BaseTypeDesc
== null ? string.Empty : mapping.TypeDesc.
BaseTypeDesc
.Name;
System\Xml\Serialization\SoapReflectionImporter.cs (4)
215
TypeDesc baseTypeDesc = model.TypeDesc.
BaseTypeDesc
;
220
TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.
BaseTypeDesc
: typeScope.GetTypeDesc(dataType, XmlSchema.Namespace);
221
string xsdTypeName = string.IsNullOrEmpty(dataType) ? model.TypeDesc.
BaseTypeDesc
.Name : dataType;
350
if (model.TypeDesc.
BaseTypeDesc
!= null) {
System\Xml\Serialization\Types.cs (2)
389
typeDesc = typeDesc.
BaseTypeDesc
;
412
leastDerivedTypeDesc = leastDerivedTypeDesc.
BaseTypeDesc
;
System\Xml\Serialization\XmlCodeExporter.cs (3)
495
string baseName = mapping.TypeDesc.
BaseTypeDesc
== null || mapping.TypeDesc.
BaseTypeDesc
.IsRoot ? string.Empty : mapping.TypeDesc.
BaseTypeDesc
.FullName;
System\Xml\Serialization\XmlReflectionImporter.cs (8)
253
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidNotNullable, model.TypeDesc.
BaseTypeDesc
.FullName, "XmlRoot"));
351
TypeDesc modelTypeDesc = TypeScope.IsOptionalValue(model.Type) ? model.TypeDesc.
BaseTypeDesc
: model.TypeDesc;
390
TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.
BaseTypeDesc
: typeScope.GetTypeDesc(dataType, XmlSchema.Namespace);
394
baseMapping = ImportTypeMapping(modelScope.GetTypeModel(model.TypeDesc.
BaseTypeDesc
.Type), ns, context, dataType, null, repeats, openModel, limiter);
703
if (model.TypeDesc.
BaseTypeDesc
!= null) {
1438
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidNotNullable, typeModel.TypeDesc.
BaseTypeDesc
.FullName, "XmlElement"));
1592
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidNotNullable, typeModel.TypeDesc.
BaseTypeDesc
.FullName, "XmlElement"));
1649
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidNotNullable, typeModel.TypeDesc.
BaseTypeDesc
.FullName, "XmlElement"));
System\Xml\Serialization\XmlSerializationReader.cs (1)
2478
if (mappings[i].TypeDesc.IsOptionalValue && mappings[i].TypeDesc.
BaseTypeDesc
.UseReflection) {
System\Xml\Serialization\XmlSerializationWriter.cs (3)
2754
string fullTypeName = element.Mapping.TypeDesc.
BaseTypeDesc
.CSharpName;
2756
if (!element.Mapping.TypeDesc.
BaseTypeDesc
.UseReflection)
3638
typeDesc = typeDesc.
BaseTypeDesc
;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
1866
string fullTypeName = element.Mapping.TypeDesc.
BaseTypeDesc
.CSharpName;
1867
SourceInfo castedSource = source.CastTo(element.Mapping.TypeDesc.
BaseTypeDesc
);