21 references to GetTypeModel
dotnet-svcutil-lib (21)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (2)
77model = GetTypeModel(type); 124get { return ModelScope.GetTypeModel(TypeScope.GetArrayElementType(Type, null)); }
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (5)
95ImportTypeMapping(_modelScope.GetTypeModel(type), limiter); 115element.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(type), new RecursionLimiter()); 244baseMapping = ImportTypeMapping(_modelScope.GetTypeModel(baseTypeDesc.Type), dataType, limiter); 732attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(accessorType), (a.SoapAttribute == null ? String.Empty : a.SoapAttribute.DataType), limiter); 747element.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(accessorType), (a.SoapElement == null ? String.Empty : a.SoapElement.DataType), limiter);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (14)
126TypeMapping mapping = ImportTypeMapping(_modelScope.GetTypeModel(type), _defaultNs, ImportContext.Element, string.Empty, null, limiter); 172XmlTypeMapping xmlMapping = new XmlTypeMapping(_typeScope, ImportElement(_modelScope.GetTypeModel(type), root, defaultNamespace, new RecursionLimiter())); 442baseMapping = ImportTypeMapping(_modelScope.GetTypeModel(model.TypeDesc.BaseTypeDesc.Type), ns, context, dataType, null, repeats, openModel, limiter); 1504arrayItemElement.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(targetType), arrayItemElement.Namespace, ImportContext.Element, xmlArrayItem.DataType, null, limiter); 1551accessor.ChoiceIdentifier.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(choiceIdentifierType), ns, ImportContext.Element, String.Empty, null, limiter); 1595attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(targetType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, isList, false, limiter); 1618text.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(targetType), ns, ImportContext.Text, a.XmlText.DataType, null, true, false, limiter); 1632TypeModel typeModel = _modelScope.GetTypeModel(targetType); 1692TypeModel typeModel = _modelScope.GetTypeModel(targetType); 1776attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(accessorType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, limiter); 1795text.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(accessorType), ns, ImportContext.Text, a.XmlText.DataType, null, limiter); 1814TypeModel typeModel = _modelScope.GetTypeModel(accessorType); 1877TypeModel typeModel = _modelScope.GetTypeModel(targetType); 1936TypeModel typeModel = _modelScope.GetTypeModel(targetType);