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