1 write to typeScope
System.Xml (1)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
82this.typeScope = new TypeScope();
31 references to typeScope
System.Xml (31)
System\Xml\Serialization\XmlReflectionImporter.cs (31)
83this.modelScope = new ModelScope(this.typeScope); 159XmlTypeMapping xmlMapping = new XmlTypeMapping(typeScope, ImportElement(modelScope.GetTypeModel(type), root, defaultNamespace, new RecursionLimiter())); 214XmlMembersMapping xmlMapping = new XmlMembersMapping(typeScope, element, access); 355TypeDesc td = typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 390TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.BaseTypeDesc : typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 506typeScope.AddTypeMapping(mapping); 561TypeDesc typeDesc = typeScope.GetTypeDesc(typeof(object)); 615typeScope.AddTypeMapping(mapping); 622typeScope.AddTypeMapping(root); 815typeScope.AddTypeMapping(mapping); 837TypeDesc typeDesc = typeScope.GetTypeDesc(type); 958savedArrayItemAttributes.Add(CreateArrayItemAttribute(typeScope.GetTypeDesc(model.Element.Type), arrayNestingLevel)); 987typeScope.AddTypeMapping(mapping); 1016mapping.TypeDesc = typeScope.GetTypeDesc(dataType, XmlSchema.Namespace); 1019mapping.TypeDesc = typeScope.GetTypeDesc(dataType, UrtTypes.Namespace); 1068typeScope.AddTypeMapping(mapping); 1090members.TypeDesc = typeScope.GetTypeDesc(typeof(object[])); 1153TypeDesc typeDesc = typeScope.GetTypeDesc(xmlReflectionMember.MemberType); 1197FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType, typeScope.GetTypeDesc(xmlReflectionMember.MemberType), checkSpecified, false); 1304TypeDesc targetTypeDesc = typeScope.GetTypeDesc(targetType); 1331accessor.TypeDesc = typeScope.GetTypeDesc(accessorType); 1346accessor.TypeDesc = typeScope.GetArrayTypeDesc(accessorType); 1381TypeDesc targetTypeDesc = typeScope.GetTypeDesc(targetType); 1409TypeDesc targetTypeDesc = typeScope.GetTypeDesc(targetType); 1412if (!(text.Mapping is SpecialMapping) && targetTypeDesc != typeScope.GetTypeDesc(typeof(string))) 1423TypeDesc targetTypeDesc = typeScope.GetTypeDesc(targetType); 1476TypeDesc targetTypeDesc = typeScope.GetTypeDesc(targetType); 1505TypeDesc arrayElementTypeDesc = typeScope.GetTypeDesc(arrayElementType); 1578if (typeScope.GetTypeDesc(xmlElement.Type) != accessor.TypeDesc) 1635TypeDesc targetTypeDesc = typeScope.GetTypeDesc(targetType); 1691TypeDesc targetTypeDesc = typeScope.GetTypeDesc(targetType);