1 write to _modelScope
System.Private.Xml (1)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
80_modelScope = new ModelScope(_typeScope);
16 references to _modelScope
System.Private.Xml (16)
System\Xml\Serialization\XmlReflectionImporter.cs (16)
126TypeMapping mapping = ImportTypeMapping(_modelScope.GetTypeModel(type), _defaultNs, ImportContext.Element, string.Empty, null, limiter); 176XmlTypeMapping xmlMapping = new XmlTypeMapping(_typeScope, ImportElement(_modelScope.GetTypeModel(type), root, defaultNamespace, new RecursionLimiter())); 451ImportTypeMapping(_modelScope.GetTypeModel(model.TypeDesc.BaseTypeDesc!.Type!), ns, context, dataType, null, repeats, openModel, limiter); 801TypeModel baseModel = _modelScope.GetTypeModel(model.Type.BaseType!, false); 1520arrayItemElement.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(targetType), arrayItemElement.Namespace, ImportContext.Element, xmlArrayItem.DataType, null, limiter); 1569accessor.ChoiceIdentifier.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(choiceIdentifierType!), ns, ImportContext.Element, string.Empty, null, limiter); 1613attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(targetType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, isList, false, limiter); 1635text.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(targetType), ns, ImportContext.Text, a.XmlText.DataType, null, true, false, limiter); 1649TypeModel typeModel = _modelScope.GetTypeModel(targetType); 1709TypeModel typeModel = _modelScope.GetTypeModel(targetType); 1750ArrayMapping arrayMapping = ImportArrayLikeMapping(_modelScope.GetArrayModel(accessorType), ns, limiter); 1792attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(accessorType), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, limiter); 1810text.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(accessorType), ns, ImportContext.Text, a.XmlText.DataType, null, limiter); 1829TypeModel typeModel = _modelScope.GetTypeModel(accessorType); 1892TypeModel typeModel = _modelScope.GetTypeModel(targetType); 1951TypeModel typeModel = _modelScope.GetTypeModel(targetType);