21 references to GetTypeModel
System.Xml (21)
System\Xml\Serialization\Models.cs (2)
72model = GetTypeModel(type); 111get { return ModelScope.GetTypeModel(TypeScope.GetArrayElementType(Type, null)); }
System\Xml\Serialization\SoapReflectionImporter.cs (5)
92ImportTypeMapping(modelScope.GetTypeModel(type), limiter); 110element.Mapping = ImportTypeMapping(modelScope.GetTypeModel(type), new RecursionLimiter()); 224baseMapping = ImportTypeMapping(modelScope.GetTypeModel(baseTypeDesc.Type), dataType, limiter); 652attribute.Mapping = ImportTypeMapping(modelScope.GetTypeModel(accessorType), (a.SoapAttribute == null ? String.Empty : a.SoapAttribute.DataType), limiter); 666element.Mapping = ImportTypeMapping(modelScope.GetTypeModel(accessorType), (a.SoapElement == null ? String.Empty : a.SoapElement.DataType), limiter);
System\Xml\Serialization\XmlReflectionImporter.cs (14)
118TypeMapping mapping = ImportTypeMapping(modelScope.GetTypeModel(type), defaultNs, ImportContext.Element, string.Empty, null, limiter); 159XmlTypeMapping xmlMapping = new XmlTypeMapping(typeScope, ImportElement(modelScope.GetTypeModel(type), root, defaultNamespace, new RecursionLimiter())); 394baseMapping = ImportTypeMapping(modelScope.GetTypeModel(model.TypeDesc.BaseTypeDesc.Type), ns, context, dataType, null, repeats, openModel, limiter); 1307arrayItemElement.Mapping = ImportTypeMapping(modelScope.GetTypeModel(targetType), arrayItemElement.Namespace, ImportContext.Element, xmlArrayItem.DataType, null, limiter); 1352accessor.ChoiceIdentifier.Mapping = ImportTypeMapping(modelScope.GetTypeModel(choiceIdentifierType), ns, ImportContext.Element, String.Empty, null, limiter); 1390attribute.Mapping = ImportTypeMapping(modelScope.GetTypeModel(targetType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, isList, false, limiter); 1411text.Mapping = ImportTypeMapping(modelScope.GetTypeModel(targetType), ns, ImportContext.Text, a.XmlText.DataType, null, true, false, limiter); 1424TypeModel typeModel = modelScope.GetTypeModel(targetType); 1477TypeModel typeModel = modelScope.GetTypeModel(targetType); 1552attribute.Mapping = ImportTypeMapping(modelScope.GetTypeModel(accessorType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, limiter); 1568text.Mapping = ImportTypeMapping(modelScope.GetTypeModel(accessorType), ns, ImportContext.Text, a.XmlText.DataType, null, limiter); 1584TypeModel typeModel = modelScope.GetTypeModel(accessorType); 1637TypeModel typeModel = modelScope.GetTypeModel(targetType); 1692TypeModel typeModel = modelScope.GetTypeModel(targetType);