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