51 references to GetTypeDesc
System.Private.Xml (51)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
24internal static TypeDesc StringTypeDesc { get; set; } = (new TypeScope()).GetTypeDesc(typeof(string)); 25internal static TypeDesc QnameTypeDesc { get; set; } = (new TypeScope()).GetTypeDesc(typeof(XmlQualifiedName));
System\Xml\Serialization\SchemaImporter.cs (2)
85baseTypeDesc = Scope.GetTypeDesc(baseType); 112TypeDesc typeDesc = Scope.GetTypeDesc(typeof(object));
System\Xml\Serialization\SoapReflectionImporter.cs (6)
226TypeDesc typeDesc = _typeScope.GetTypeDesc(typeof(object)); 609members.TypeDesc = _typeScope.GetTypeDesc(typeof(object[])); 655FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType!, _typeScope.GetTypeDesc(xmlReflectionMember.MemberType!), checkSpecified, false); 687accessor.TypeDesc = _typeScope.GetTypeDesc(accessorType); 750if (fieldTypeDesc != _typeScope.GetTypeDesc(a.SoapDefaultValue.GetType())) 765TypeDesc typeDesc = _typeScope.GetTypeDesc(type);
System\Xml\Serialization\Types.cs (1)
722typeDesc = GetTypeDesc(type);
System\Xml\Serialization\XmlReflectionImporter.cs (17)
636TypeDesc typeDesc = _typeScope.GetTypeDesc(typeof(object)); 964TypeDesc typeDesc = _typeScope.GetTypeDesc(type); 1254members.TypeDesc = _typeScope.GetTypeDesc(typeof(object[])); 1334TypeDesc typeDesc = _typeScope.GetTypeDesc(xmlReflectionMember.MemberType!); 1386FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType!, _typeScope.GetTypeDesc(xmlReflectionMember.MemberType!), checkSpecified, false); 1517TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1547accessor.TypeDesc = _typeScope.GetTypeDesc(accessorType); 1603TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1633TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1636if (!(text.Mapping is SpecialMapping) && targetTypeDesc != _typeScope.GetTypeDesc(typeof(string))) 1648TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1708TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1741TypeDesc arrayElementTypeDesc = _typeScope.GetTypeDesc(arrayElementType); 1823if (_typeScope.GetTypeDesc(xmlElement.Type) != accessor.TypeDesc) 1890TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1950TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 2297TypeDesc typeDesc = new TypeScope().GetTypeDesc(type);
System\Xml\Serialization\XmlSchemaImporter.cs (15)
215mapping.TypeDesc = Scope.GetTypeDesc(typeof(object[])); 488mappings.TypeDesc = Scope.GetTypeDesc(typeof(object[])); 521baseTypeDesc = Scope.GetTypeDesc(baseType); 613TypeDesc baseTypeDesc = Scope.GetTypeDesc(baseType); 815member.TypeDesc = Scope.GetTypeDesc(typeof(object)); 828Scope.GetTypeDesc(typeof(object)); 1183textMapping.TypeDesc = Scope.GetTypeDesc(typeof(XmlNode)); 1205mapping.TypeDesc = Scope.GetTypeDesc(makeElement ? typeof(XmlElement) : typeof(XmlNode)); 1384mapping.TypeDesc = Scope.GetTypeDesc(typeof(XmlElement)); 1393mapping.TypeDesc = Scope.GetTypeDesc(mixed ? typeof(XmlNode) : typeof(XmlElement)); 1491mapping.TypeDesc = Scope.GetTypeDesc(typeof(XmlAttribute)); 1549TypeDesc xmlnsTypeDesc = Scope.GetTypeDesc(typeof(System.Xml.Serialization.XmlSerializerNamespaces)); 1591mapping.TypeDesc = Scope.GetTypeDesc(typeof(string)); 1915return (XmlSchemaSimpleType?)Scope.GetTypeDesc(typeof(string)).DataType; 1950return 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)
821TypeDesc typeDesc = new TypeScope().GetTypeDesc(type); 1612TypeDesc typeDesc = scope.GetTypeDesc(type); 1651string parameterTypeVariable = WriteTypeInfo(scope, scope.GetTypeDesc(parameterType), parameterType);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2312scope.GetTypeDesc(type);