2 writes to BaseTypeDesc
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (1)
169
typeDescToChange.
BaseTypeDesc
= baseTypeDesc;
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
985
typeDesc.
BaseTypeDesc
= GetTypeDesc(baseType, memberInfo, false, false);
31 references to BaseTypeDesc
dotnet-svcutil-lib (31)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (1)
197
CheckSupportedMember(typeDesc.
BaseTypeDesc
, member, type);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (6)
164
while (typeDescToChange.
BaseTypeDesc
!= null && typeDescToChange.
BaseTypeDesc
!= baseTypeDesc)
165
typeDescToChange = typeDescToChange.
BaseTypeDesc
;
167
if (typeDescToChange.
BaseTypeDesc
!= null && typeDescToChange.
BaseTypeDesc
!= baseTypeDesc)
168
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidBaseType, structMapping.TypeDesc.FullName, baseType.FullName, typeDescToChange.
BaseTypeDesc
.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (2)
133
string baseName = mapping.TypeDesc.
BaseTypeDesc
== null ? string.Empty : mapping.TypeDesc.
BaseTypeDesc
.Name;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (4)
235
TypeDesc baseTypeDesc = model.TypeDesc.
BaseTypeDesc
;
240
TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.
BaseTypeDesc
: _typeScope.GetTypeDesc(dataType, XmlSchema.Namespace);
241
string xsdTypeName = string.IsNullOrEmpty(dataType) ? model.TypeDesc.
BaseTypeDesc
.Name : dataType;
387
if (model.TypeDesc.
BaseTypeDesc
!= null)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (2)
455
typeDesc = typeDesc.
BaseTypeDesc
;
483
leastDerivedTypeDesc = leastDerivedTypeDesc.
BaseTypeDesc
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (3)
569
string baseName = mapping.TypeDesc.
BaseTypeDesc
== null || mapping.TypeDesc.
BaseTypeDesc
.IsRoot ? string.Empty : mapping.TypeDesc.
BaseTypeDesc
.FullName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (8)
280
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidNotNullable, model.TypeDesc.
BaseTypeDesc
.FullName, "XmlRoot"));
394
TypeDesc modelTypeDesc = TypeScope.IsOptionalValue(model.Type) ? model.TypeDesc.
BaseTypeDesc
: model.TypeDesc;
438
TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.
BaseTypeDesc
: _typeScope.GetTypeDesc(dataType, XmlSchema.Namespace);
442
baseMapping = ImportTypeMapping(_modelScope.GetTypeModel(model.TypeDesc.
BaseTypeDesc
.Type), ns, context, dataType, null, repeats, openModel, limiter);
796
if (model.TypeDesc.
BaseTypeDesc
!= null)
1648
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidNotNullable, typeModel.TypeDesc.
BaseTypeDesc
.FullName, "XmlElement"));
1823
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidNotNullable, typeModel.TypeDesc.
BaseTypeDesc
.FullName, "XmlElement"));
1891
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidNotNullable, typeModel.TypeDesc.
BaseTypeDesc
.FullName, "XmlElement"));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (3)
3179
string fullTypeName = element.Mapping.TypeDesc.
BaseTypeDesc
.CSharpName;
3181
if (!element.Mapping.TypeDesc.
BaseTypeDesc
.UseReflection)
4163
typeDesc = typeDesc.
BaseTypeDesc
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
2033
string fullTypeName = element.Mapping.TypeDesc.
BaseTypeDesc
.CSharpName;
2034
SourceInfo castedSource = source.CastTo(element.Mapping.TypeDesc.
BaseTypeDesc
);