1 write to _typeScope
System.Private.Xml (1)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
79_typeScope = new TypeScope();
26 references to _typeScope
System.Private.Xml (26)
System\Xml\Serialization\XmlReflectionImporter.cs (26)
80_modelScope = new ModelScope(_typeScope); 176XmlTypeMapping xmlMapping = new XmlTypeMapping(_typeScope, ImportElement(_modelScope.GetTypeModel(type), root, defaultNamespace, new RecursionLimiter())); 243XmlMembersMapping xmlMapping = new XmlMembersMapping(_typeScope, element, access); 581_typeScope.AddTypeMapping(mapping); 636TypeDesc typeDesc = _typeScope.GetTypeDesc(typeof(object)); 697_typeScope.AddTypeMapping(mapping); 707_typeScope.AddTypeMapping(_root); 939_typeScope.AddTypeMapping(mapping); 965TypeDesc typeDesc = _typeScope.GetTypeDesc(type); 1137_typeScope.AddTypeMapping(mapping); 1231_typeScope.AddTypeMapping(mapping); 1256members.TypeDesc = _typeScope.GetTypeDesc(typeof(object[])); 1336TypeDesc typeDesc = _typeScope.GetTypeDesc(xmlReflectionMember.MemberType!); 1388FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType!, _typeScope.GetTypeDesc(xmlReflectionMember.MemberType!), checkSpecified, false); 1519TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1549accessor.TypeDesc = _typeScope.GetTypeDesc(accessorType); 1564accessor.TypeDesc = _typeScope.GetArrayTypeDesc(accessorType); 1605TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1635TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1638if (!(text.Mapping is SpecialMapping) && targetTypeDesc != _typeScope.GetTypeDesc(typeof(string))) 1664TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1724TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1757TypeDesc arrayElementTypeDesc = _typeScope.GetTypeDesc(arrayElementType); 1839if (_typeScope.GetTypeDesc(xmlElement.Type) != accessor.TypeDesc) 1906TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType); 1966TypeDesc targetTypeDesc = _typeScope.GetTypeDesc(targetType);