1 write to _typeScope
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
86
_typeScope
= new TypeScope();
31 references to _typeScope
dotnet-svcutil-lib (31)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (31)
87
_modelScope = new ModelScope(
_typeScope
);
172
XmlTypeMapping xmlMapping = new XmlTypeMapping(
_typeScope
, ImportElement(_modelScope.GetTypeModel(type), root, defaultNamespace, new RecursionLimiter()));
235
XmlMembersMapping xmlMapping = new XmlMembersMapping(
_typeScope
, element, access);
399
TypeDesc td =
_typeScope
.GetTypeDesc(dataType, XmlSchema.Namespace);
438
TypeDesc valueTypeDesc = string.IsNullOrEmpty(dataType) ? model.TypeDesc.BaseTypeDesc :
_typeScope
.GetTypeDesc(dataType, XmlSchema.Namespace);
574
_typeScope
.AddTypeMapping(mapping);
638
TypeDesc typeDesc =
_typeScope
.GetTypeDesc(typeof(object));
698
_typeScope
.AddTypeMapping(mapping);
707
_typeScope
.AddTypeMapping(_root);
931
_typeScope
.AddTypeMapping(mapping);
956
TypeDesc typeDesc =
_typeScope
.GetTypeDesc(type);
1097
_savedArrayItemAttributes.Add(CreateArrayItemAttribute(
_typeScope
.GetTypeDesc(model.Element.Type), _arrayNestingLevel));
1129
_typeScope
.AddTypeMapping(mapping);
1162
mapping.TypeDesc =
_typeScope
.GetTypeDesc(dataType, XmlSchema.Namespace);
1166
mapping.TypeDesc =
_typeScope
.GetTypeDesc(dataType, UrtTypes.Namespace);
1221
_typeScope
.AddTypeMapping(mapping);
1245
members.TypeDesc =
_typeScope
.GetTypeDesc(typeof(object[]));
1323
TypeDesc typeDesc =
_typeScope
.GetTypeDesc(xmlReflectionMember.MemberType);
1375
FieldModel model = new FieldModel(xmlReflectionMember.MemberName, xmlReflectionMember.MemberType,
_typeScope
.GetTypeDesc(xmlReflectionMember.MemberType), checkSpecified, false);
1501
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1529
accessor.TypeDesc =
_typeScope
.GetTypeDesc(accessorType);
1544
accessor.TypeDesc =
_typeScope
.GetArrayTypeDesc(accessorType);
1585
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1616
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1619
if (!(text.Mapping is SpecialMapping) && targetTypeDesc !=
_typeScope
.GetTypeDesc(typeof(string)))
1631
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1691
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1724
TypeDesc arrayElementTypeDesc =
_typeScope
.GetTypeDesc(arrayElementType);
1808
if (
_typeScope
.GetTypeDesc(xmlElement.Type) != accessor.TypeDesc)
1875
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);
1935
TypeDesc targetTypeDesc =
_typeScope
.GetTypeDesc(targetType);