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);
934
_typeScope
.AddTypeMapping(mapping);
960
TypeDesc typeDesc =
_typeScope
.GetTypeDesc(type);
1132
_typeScope
.AddTypeMapping(mapping);
1225
_typeScope
.AddTypeMapping(mapping);
1250
members.TypeDesc =
_typeScope
.GetTypeDesc(typeof(object[]));
1330
TypeDesc typeDesc =
_typeScope
.GetTypeDesc(xmlReflectionMember.MemberType!);
1382
FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType!,
_typeScope
.GetTypeDesc(xmlReflectionMember.MemberType!), checkSpecified, false);
1513
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1543
accessor.TypeDesc =
_typeScope
.GetTypeDesc(accessorType);
1558
accessor.TypeDesc =
_typeScope
.GetArrayTypeDesc(accessorType);
1599
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1629
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1632
if (!(text.Mapping is SpecialMapping) && targetTypeDesc !=
_typeScope
.GetTypeDesc(typeof(string)))
1644
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1704
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1737
TypeDesc arrayElementTypeDesc =
_typeScope
.GetTypeDesc(arrayElementType);
1819
if (
_typeScope
.GetTypeDesc(xmlElement.Type) != accessor.TypeDesc)
1886
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1946
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);