28 references to Scope
System.Private.Xml (28)
System\Xml\Serialization\SchemaImporter.cs (2)
85
baseTypeDesc =
Scope
.GetTypeDesc(baseType);
112
TypeDesc typeDesc =
Scope
.GetTypeDesc(typeof(object));
System\Xml\Serialization\XmlSchemaImporter.cs (26)
74
return new XmlTypeMapping(
Scope
, element);
127
return new XmlTypeMapping(
Scope
, accessor);
141
return new XmlMembersMapping(
Scope
, ImportElement(name, typeof(MembersMapping), null), XmlMappingAccess.Read | XmlMappingAccess.Write);
181
XmlMembersMapping members = new XmlMembersMapping(
Scope
, accessor, XmlMappingAccess.Read | XmlMappingAccess.Write);
215
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(object[]));
219
return new XmlMembersMapping(
Scope
, element, XmlMappingAccess.Read | XmlMappingAccess.Write);
244
return new XmlMembersMapping(
Scope
, accessor, XmlMappingAccess.Read | XmlMappingAccess.Write);
488
mappings.TypeDesc =
Scope
.GetTypeDesc(typeof(object[]));
521
baseTypeDesc =
Scope
.GetTypeDesc(baseType);
594
Scope
.AddTypeMapping(structMapping);
613
TypeDesc baseTypeDesc =
Scope
.GetTypeDesc(baseType);
623
Scope
.AddTypeMapping(structMapping);
815
member.TypeDesc =
Scope
.GetTypeDesc(typeof(object));
828
Scope
.GetTypeDesc(typeof(object));
1183
textMapping.TypeDesc =
Scope
.GetTypeDesc(typeof(XmlNode));
1205
mapping.TypeDesc =
Scope
.GetTypeDesc(makeElement ? typeof(XmlElement) : typeof(XmlNode));
1321
Scope
.AddTypeMapping(arrayMapping);
1384
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(XmlElement));
1393
mapping.TypeDesc =
Scope
.GetTypeDesc(mixed ? typeof(XmlNode) : typeof(XmlElement));
1491
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(XmlAttribute));
1549
TypeDesc xmlnsTypeDesc =
Scope
.GetTypeDesc(typeof(System.Xml.Serialization.XmlSerializerNamespaces));
1591
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(string));
1782
Scope
.AddTypeMapping(enumMapping);
1822
Scope
.AddTypeMapping(enumMapping);
1915
return (XmlSchemaSimpleType?)
Scope
.GetTypeDesc(typeof(string)).DataType;
1950
return
Scope
.GetTypeDesc(typeof(string)).DataType;