58 references to GetTypeDesc
dotnet-svcutil-lib (58)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (2)
156baseTypeDesc = Scope.GetTypeDesc(baseType); 182TypeDesc typeDesc = Scope.GetTypeDesc(typeof(object));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (6)
258TypeDesc typeDesc = _typeScope.GetTypeDesc(typeof(object)); 638members.TypeDesc = _typeScope.GetTypeDesc(typeof(object[])); 683FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType, _typeScope.GetTypeDesc(xmlReflectionMember.MemberType), checkSpecified, false); 713accessor.TypeDesc = _typeScope.GetTypeDesc(accessorType); 775if (fieldTypeDesc != _typeScope.GetTypeDesc(a.SoapDefaultValue.GetType())) 789TypeDesc typeDesc = _typeScope.GetTypeDesc(type);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (7)
88mapping.TypeDesc = Scope.GetTypeDesc(typeof(object[])); 141mapping.TypeDesc = Scope.GetTypeDesc(typeof(object[])); 610mapping.TypeDesc = Scope.GetTypeDesc(typeof(string)); 625if (sourceTypeDesc != null && sourceTypeDesc != Scope.GetTypeDesc(typeof(string))) 658mapping.TypeDesc = Scope.GetTypeDesc(typeof(string)); 705return Scope.GetTypeDesc(typeof(string)); 719return (XmlSchemaSimpleType)Scope.GetTypeDesc(typeof(string)).DataType;
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
752typeDesc = GetTypeDesc(type);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
761else if (mapping.TypeDesc.ArrayElementTypeDesc == new TypeScope().GetTypeDesc(typeof(byte)))
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (18)
638TypeDesc typeDesc = _typeScope.GetTypeDesc(typeof(object)); 956TypeDesc typeDesc = _typeScope.GetTypeDesc(type); 1097_savedArrayItemAttributes.Add(CreateArrayItemAttribute(_typeScope.GetTypeDesc(model.Element.Type), _arrayNestingLevel)); 1245members.TypeDesc = _typeScope.GetTypeDesc(typeof(object[])); 1323TypeDesc typeDesc = _typeScope.GetTypeDesc(xmlReflectionMember.MemberType); 1375FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType, _typeScope.GetTypeDesc(xmlReflectionMember.MemberType), checkSpecified, false); 1501TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1529accessor.TypeDesc = _typeScope.GetTypeDesc(accessorType); 1585TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1616TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1619if (!(text.Mapping is SpecialMapping) && targetTypeDesc != _typeScope.GetTypeDesc(typeof(string))) 1631TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1691TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1724TypeDesc arrayElementTypeDesc = _typeScope.GetTypeDesc(arrayElementType); 1808if (_typeScope.GetTypeDesc(xmlElement.Type) != accessor.TypeDesc) 1875TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1935TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 2250TypeDesc typeDesc = new TypeScope().GetTypeDesc(type);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (15)
268mapping.TypeDesc = Scope.GetTypeDesc(typeof(object[])); 595mappings.TypeDesc = Scope.GetTypeDesc(typeof(object[])); 626baseTypeDesc = Scope.GetTypeDesc(baseType); 716TypeDesc baseTypeDesc = Scope.GetTypeDesc(baseType); 915member.TypeDesc = Scope.GetTypeDesc(typeof(object)); 927if (member.TypeDesc == null) member.TypeDesc = Scope.GetTypeDesc(typeof(object)); 1283textMapping.TypeDesc = Scope.GetTypeDesc(typeof(XmlNode)); 1303mapping.TypeDesc = Scope.GetTypeDesc(makeElement ? typeof(XmlElement) : typeof(XmlNode)); 1486mapping.TypeDesc = Scope.GetTypeDesc(typeof(XmlElement)); 1495mapping.TypeDesc = Scope.GetTypeDesc(mixed ? typeof(XmlNode) : typeof(XmlElement)); 1595mapping.TypeDesc = Scope.GetTypeDesc(typeof(XmlAttribute)); 1653TypeDesc xmlnsTypeDesc = Scope.GetTypeDesc(typeof(XmlSerializerNamespaces)); 1692mapping.TypeDesc = Scope.GetTypeDesc(typeof(string)); 2014return (XmlSchemaSimpleType)Scope.GetTypeDesc(typeof(string)).DataType; 2043return Scope.GetTypeDesc(typeof(string)).DataType;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (2)
56_stringTypeDesc = scopes[0].GetTypeDesc(typeof(string)); 57_qnameTypeDesc = scopes[0].GetTypeDesc(typeof(XmlQualifiedName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (2)
42_stringTypeDesc = scopes[0].GetTypeDesc(typeof(string)); 43_qnameTypeDesc = scopes[0].GetTypeDesc(typeof(XmlQualifiedName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (3)
817TypeDesc typeDesc = new TypeScope().GetTypeDesc(type); 3836TypeDesc typeDesc = scope.GetTypeDesc(type); 3874string parameterTypeVariable = WriteTypeInfo(scope, scope.GetTypeDesc(parameterType), parameterType);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2448TypeDesc typeDesc = scope.GetTypeDesc(type);