1 write to modelScope
System.Xml (1)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
83this.modelScope = new ModelScope(this.typeScope);
16 references to modelScope
System.Xml (16)
System\Xml\Serialization\XmlReflectionImporter.cs (16)
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); 704TypeModel baseModel = modelScope.GetTypeModel(model.Type.BaseType, false); 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); 1515ArrayMapping arrayMapping = ImportArrayLikeMapping(modelScope.GetArrayModel(accessorType), ns, limiter); 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);