58 references to GetTypeDesc
System.Xml (58)
System\Xml\Serialization\SchemaImporter.cs (2)
142
baseTypeDesc = Scope.
GetTypeDesc
(baseType);
164
TypeDesc typeDesc = Scope.
GetTypeDesc
(typeof(object));
System\Xml\Serialization\SoapReflectionImporter.cs (6)
236
TypeDesc typeDesc = typeScope.
GetTypeDesc
(typeof(object));
569
members.TypeDesc = typeScope.
GetTypeDesc
(typeof(object[]));
607
FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType, typeScope.
GetTypeDesc
(xmlReflectionMember.MemberType), checkSpecified, false);
635
accessor.TypeDesc = typeScope.
GetTypeDesc
(accessorType);
690
if (fieldTypeDesc != typeScope.
GetTypeDesc
(a.SoapDefaultValue.GetType()))
703
TypeDesc typeDesc = typeScope.
GetTypeDesc
(type);
System\Xml\Serialization\SoapSchemaImporter.cs (7)
89
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(object[]));
138
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(object[]));
539
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(string));
553
if (sourceTypeDesc != null && sourceTypeDesc != Scope.
GetTypeDesc
(typeof(string)))
584
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(string));
624
return Scope.
GetTypeDesc
(typeof(string));
636
return (XmlSchemaSimpleType)Scope.
GetTypeDesc
(typeof(string)).DataType;
System\Xml\Serialization\Types.cs (1)
661
typeDesc =
GetTypeDesc
(type);
System\Xml\Serialization\XmlCodeExporter.cs (1)
663
else if (mapping.TypeDesc.ArrayElementTypeDesc == new TypeScope().
GetTypeDesc
(typeof(byte))) {
System\Xml\Serialization\XmlReflectionImporter.cs (18)
561
TypeDesc typeDesc = typeScope.
GetTypeDesc
(typeof(object));
837
TypeDesc typeDesc = typeScope.
GetTypeDesc
(type);
958
savedArrayItemAttributes.Add(CreateArrayItemAttribute(typeScope.
GetTypeDesc
(model.Element.Type), arrayNestingLevel));
1090
members.TypeDesc = typeScope.
GetTypeDesc
(typeof(object[]));
1153
TypeDesc typeDesc = typeScope.
GetTypeDesc
(xmlReflectionMember.MemberType);
1197
FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType, typeScope.
GetTypeDesc
(xmlReflectionMember.MemberType), checkSpecified, false);
1304
TypeDesc targetTypeDesc = typeScope.
GetTypeDesc
(targetType);
1331
accessor.TypeDesc = typeScope.
GetTypeDesc
(accessorType);
1381
TypeDesc targetTypeDesc = typeScope.
GetTypeDesc
(targetType);
1409
TypeDesc targetTypeDesc = typeScope.
GetTypeDesc
(targetType);
1412
if (!(text.Mapping is SpecialMapping) && targetTypeDesc != typeScope.
GetTypeDesc
(typeof(string)))
1423
TypeDesc targetTypeDesc = typeScope.
GetTypeDesc
(targetType);
1476
TypeDesc targetTypeDesc = typeScope.
GetTypeDesc
(targetType);
1505
TypeDesc arrayElementTypeDesc = typeScope.
GetTypeDesc
(arrayElementType);
1578
if (typeScope.
GetTypeDesc
(xmlElement.Type) != accessor.TypeDesc)
1635
TypeDesc targetTypeDesc = typeScope.
GetTypeDesc
(targetType);
1691
TypeDesc targetTypeDesc = typeScope.
GetTypeDesc
(targetType);
1953
TypeDesc typeDesc = new TypeScope().
GetTypeDesc
(type);
System\Xml\Serialization\XmlSchemaImporter.cs (15)
246
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(object[]));
523
mappings.TypeDesc = Scope.
GetTypeDesc
(typeof(object[]));
550
baseTypeDesc = Scope.
GetTypeDesc
(baseType);
628
TypeDesc baseTypeDesc = Scope.
GetTypeDesc
(baseType);
797
member.TypeDesc = Scope.
GetTypeDesc
(typeof(object));
809
if (member.TypeDesc == null) member.TypeDesc = Scope.
GetTypeDesc
(typeof(object));
1108
textMapping.TypeDesc = Scope.
GetTypeDesc
(typeof(XmlNode));
1126
mapping.TypeDesc = Scope.
GetTypeDesc
(makeElement ? typeof(XmlElement) : typeof(XmlNode));
1297
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(XmlElement));
1304
mapping.TypeDesc = Scope.
GetTypeDesc
(mixed ? typeof(XmlNode) : typeof(XmlElement));
1391
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(XmlAttribute));
1440
TypeDesc xmlnsTypeDesc = Scope.
GetTypeDesc
(typeof(XmlSerializerNamespaces));
1476
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(string));
1752
return (XmlSchemaSimpleType)Scope.
GetTypeDesc
(typeof(string)).DataType;
1775
return Scope.
GetTypeDesc
(typeof(string)).DataType;
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (2)
68
stringTypeDesc = scopes[0].
GetTypeDesc
(typeof(string));
69
qnameTypeDesc = scopes[0].
GetTypeDesc
(typeof(XmlQualifiedName));
System\Xml\Serialization\XmlSerializationILGen.cs (2)
41
stringTypeDesc = scopes[0].
GetTypeDesc
(typeof(string));
42
qnameTypeDesc = scopes[0].
GetTypeDesc
(typeof(XmlQualifiedName));
System\Xml\Serialization\XmlSerializationWriter.cs (3)
714
TypeDesc typeDesc = new TypeScope().
GetTypeDesc
(type);
3353
TypeDesc typeDesc = scope.
GetTypeDesc
(type);
3390
string parameterTypeVariable = WriteTypeInfo(scope, scope.
GetTypeDesc
(parameterType), parameterType);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2234
TypeDesc typeDesc = scope.
GetTypeDesc
(type);