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