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
);
176
XmlTypeMapping xmlMapping = new XmlTypeMapping(
_typeScope
, ImportElement(_modelScope.GetTypeModel(type), root, defaultNamespace, new RecursionLimiter()));
243
XmlMembersMapping xmlMapping = new XmlMembersMapping(
_typeScope
, element, access);
581
_typeScope
.AddTypeMapping(mapping);
636
TypeDesc typeDesc =
_typeScope
.GetTypeDesc(typeof(object));
697
_typeScope
.AddTypeMapping(mapping);
707
_typeScope
.AddTypeMapping(_root);
938
_typeScope
.AddTypeMapping(mapping);
964
TypeDesc typeDesc =
_typeScope
.GetTypeDesc(type);
1136
_typeScope
.AddTypeMapping(mapping);
1230
_typeScope
.AddTypeMapping(mapping);
1255
members.TypeDesc =
_typeScope
.GetTypeDesc(typeof(object[]));
1335
TypeDesc typeDesc =
_typeScope
.GetTypeDesc(xmlReflectionMember.MemberType!);
1387
FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType!,
_typeScope
.GetTypeDesc(xmlReflectionMember.MemberType!), checkSpecified, false);
1518
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1548
accessor.TypeDesc =
_typeScope
.GetTypeDesc(accessorType);
1563
accessor.TypeDesc =
_typeScope
.GetArrayTypeDesc(accessorType);
1604
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1634
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1637
if (!(text.Mapping is SpecialMapping) && targetTypeDesc !=
_typeScope
.GetTypeDesc(typeof(string)))
1649
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1709
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1742
TypeDesc arrayElementTypeDesc =
_typeScope
.GetTypeDesc(arrayElementType);
1824
if (
_typeScope
.GetTypeDesc(xmlElement.Type) != accessor.TypeDesc)
1891
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1951
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);