21 references to GetTypeModel
System.Private.Xml (21)
System\Xml\Serialization\Models.cs (2)
82
model =
GetTypeModel
(type);
136
get { return ModelScope.
GetTypeModel
(TypeScope.GetArrayElementType(Type, null)!); }
System\Xml\Serialization\SoapReflectionImporter.cs (5)
73
ImportTypeMapping(_modelScope.
GetTypeModel
(type), limiter);
87
element.Mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(type), new RecursionLimiter());
211
ImportTypeMapping(_modelScope.
GetTypeModel
(baseTypeDesc.Type!), dataType, limiter);
706
attribute.Mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(accessorType), (a.SoapAttribute == null ? string.Empty : a.SoapAttribute.DataType), limiter);
721
element.Mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(accessorType), (a.SoapElement == null ? string.Empty : a.SoapElement.DataType), limiter);
System\Xml\Serialization\XmlReflectionImporter.cs (14)
126
TypeMapping mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(type), _defaultNs, ImportContext.Element, string.Empty, null, limiter);
176
XmlTypeMapping xmlMapping = new XmlTypeMapping(_typeScope, ImportElement(_modelScope.
GetTypeModel
(type), root, defaultNamespace, new RecursionLimiter()));
451
ImportTypeMapping(_modelScope.
GetTypeModel
(model.TypeDesc.BaseTypeDesc!.Type!), ns, context, dataType, null, repeats, openModel, limiter);
1516
arrayItemElement.Mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(targetType), arrayItemElement.Namespace, ImportContext.Element, xmlArrayItem.DataType, null, limiter);
1565
accessor.ChoiceIdentifier.Mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(choiceIdentifierType!), ns, ImportContext.Element, string.Empty, null, limiter);
1609
attribute.Mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(targetType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, isList, false, limiter);
1631
text.Mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(targetType), ns, ImportContext.Text, a.XmlText.DataType, null, true, false, limiter);
1645
TypeModel typeModel = _modelScope.
GetTypeModel
(targetType);
1705
TypeModel typeModel = _modelScope.
GetTypeModel
(targetType);
1788
attribute.Mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(accessorType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, limiter);
1806
text.Mapping = ImportTypeMapping(_modelScope.
GetTypeModel
(accessorType), ns, ImportContext.Text, a.XmlText.DataType, null, limiter);
1825
TypeModel typeModel = _modelScope.
GetTypeModel
(accessorType);
1888
TypeModel typeModel = _modelScope.
GetTypeModel
(targetType);
1947
TypeModel typeModel = _modelScope.
GetTypeModel
(targetType);