51 references to GetTypeDesc
System.Private.Xml (51)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
24
internal static TypeDesc StringTypeDesc { get; set; } = (new TypeScope()).
GetTypeDesc
(typeof(string));
25
internal static TypeDesc QnameTypeDesc { get; set; } = (new TypeScope()).
GetTypeDesc
(typeof(XmlQualifiedName));
System\Xml\Serialization\SchemaImporter.cs (2)
85
baseTypeDesc = Scope.
GetTypeDesc
(baseType);
112
TypeDesc typeDesc = Scope.
GetTypeDesc
(typeof(object));
System\Xml\Serialization\SoapReflectionImporter.cs (6)
226
TypeDesc typeDesc = _typeScope.
GetTypeDesc
(typeof(object));
609
members.TypeDesc = _typeScope.
GetTypeDesc
(typeof(object[]));
655
FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType!, _typeScope.
GetTypeDesc
(xmlReflectionMember.MemberType!), checkSpecified, false);
687
accessor.TypeDesc = _typeScope.
GetTypeDesc
(accessorType);
750
if (fieldTypeDesc != _typeScope.
GetTypeDesc
(a.SoapDefaultValue.GetType()))
765
TypeDesc typeDesc = _typeScope.
GetTypeDesc
(type);
System\Xml\Serialization\Types.cs (1)
722
typeDesc =
GetTypeDesc
(type);
System\Xml\Serialization\XmlReflectionImporter.cs (17)
636
TypeDesc typeDesc = _typeScope.
GetTypeDesc
(typeof(object));
960
TypeDesc typeDesc = _typeScope.
GetTypeDesc
(type);
1250
members.TypeDesc = _typeScope.
GetTypeDesc
(typeof(object[]));
1330
TypeDesc typeDesc = _typeScope.
GetTypeDesc
(xmlReflectionMember.MemberType!);
1382
FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType!, _typeScope.
GetTypeDesc
(xmlReflectionMember.MemberType!), checkSpecified, false);
1513
TypeDesc targetTypeDesc = _typeScope.
GetTypeDesc
(targetType);
1543
accessor.TypeDesc = _typeScope.
GetTypeDesc
(accessorType);
1599
TypeDesc targetTypeDesc = _typeScope.
GetTypeDesc
(targetType);
1629
TypeDesc targetTypeDesc = _typeScope.
GetTypeDesc
(targetType);
1632
if (!(text.Mapping is SpecialMapping) && targetTypeDesc != _typeScope.
GetTypeDesc
(typeof(string)))
1644
TypeDesc targetTypeDesc = _typeScope.
GetTypeDesc
(targetType);
1704
TypeDesc targetTypeDesc = _typeScope.
GetTypeDesc
(targetType);
1737
TypeDesc arrayElementTypeDesc = _typeScope.
GetTypeDesc
(arrayElementType);
1819
if (_typeScope.
GetTypeDesc
(xmlElement.Type) != accessor.TypeDesc)
1886
TypeDesc targetTypeDesc = _typeScope.
GetTypeDesc
(targetType);
1946
TypeDesc targetTypeDesc = _typeScope.
GetTypeDesc
(targetType);
2263
TypeDesc typeDesc = new TypeScope().
GetTypeDesc
(type);
System\Xml\Serialization\XmlSchemaImporter.cs (15)
215
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(object[]));
488
mappings.TypeDesc = Scope.
GetTypeDesc
(typeof(object[]));
521
baseTypeDesc = Scope.
GetTypeDesc
(baseType);
613
TypeDesc baseTypeDesc = Scope.
GetTypeDesc
(baseType);
815
member.TypeDesc = Scope.
GetTypeDesc
(typeof(object));
828
Scope.
GetTypeDesc
(typeof(object));
1183
textMapping.TypeDesc = Scope.
GetTypeDesc
(typeof(XmlNode));
1205
mapping.TypeDesc = Scope.
GetTypeDesc
(makeElement ? typeof(XmlElement) : typeof(XmlNode));
1384
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(XmlElement));
1393
mapping.TypeDesc = Scope.
GetTypeDesc
(mixed ? typeof(XmlNode) : typeof(XmlElement));
1491
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(XmlAttribute));
1549
TypeDesc xmlnsTypeDesc = Scope.
GetTypeDesc
(typeof(System.Xml.Serialization.XmlSerializerNamespaces));
1591
mapping.TypeDesc = Scope.
GetTypeDesc
(typeof(string));
1915
return (XmlSchemaSimpleType?)Scope.
GetTypeDesc
(typeof(string)).DataType;
1950
return Scope.
GetTypeDesc
(typeof(string)).DataType;
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (2)
42
_stringTypeDesc = scopes[0].
GetTypeDesc
(typeof(string));
43
_qnameTypeDesc = scopes[0].
GetTypeDesc
(typeof(XmlQualifiedName));
System\Xml\Serialization\XmlSerializationILGen.cs (2)
44
_stringTypeDesc = scopes[0].
GetTypeDesc
(typeof(string));
45
_qnameTypeDesc = scopes[0].
GetTypeDesc
(typeof(XmlQualifiedName));
System\Xml\Serialization\XmlSerializationWriter.cs (3)
821
TypeDesc typeDesc = new TypeScope().
GetTypeDesc
(type);
1612
TypeDesc typeDesc = scope.
GetTypeDesc
(type);
1651
string parameterTypeVariable = WriteTypeInfo(scope, scope.
GetTypeDesc
(parameterType), parameterType);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2312
scope.
GetTypeDesc
(type);