28 references to Scope
System.Private.Xml (28)
System\Xml\Serialization\SchemaImporter.cs (2)
84
baseTypeDesc =
Scope
.GetTypeDesc(baseType);
111
TypeDesc typeDesc =
Scope
.GetTypeDesc(typeof(object));
System\Xml\Serialization\XmlSchemaImporter.cs (26)
70
return new XmlTypeMapping(
Scope
, element);
120
return new XmlTypeMapping(
Scope
, accessor);
132
return new XmlMembersMapping(
Scope
, ImportElement(name, typeof(MembersMapping), null), XmlMappingAccess.Read | XmlMappingAccess.Write);
171
XmlMembersMapping members = new XmlMembersMapping(
Scope
, accessor, XmlMappingAccess.Read | XmlMappingAccess.Write);
203
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(object[]));
207
return new XmlMembersMapping(
Scope
, element, XmlMappingAccess.Read | XmlMappingAccess.Write);
231
return new XmlMembersMapping(
Scope
, accessor, XmlMappingAccess.Read | XmlMappingAccess.Write);
468
mappings.TypeDesc =
Scope
.GetTypeDesc(typeof(object[]));
500
baseTypeDesc =
Scope
.GetTypeDesc(baseType);
573
Scope
.AddTypeMapping(structMapping);
591
TypeDesc baseTypeDesc =
Scope
.GetTypeDesc(baseType);
601
Scope
.AddTypeMapping(structMapping);
790
member.TypeDesc =
Scope
.GetTypeDesc(typeof(object));
803
Scope
.GetTypeDesc(typeof(object));
1152
textMapping.TypeDesc =
Scope
.GetTypeDesc(typeof(XmlNode));
1174
mapping.TypeDesc =
Scope
.GetTypeDesc(makeElement ? typeof(XmlElement) : typeof(XmlNode));
1288
Scope
.AddTypeMapping(arrayMapping);
1351
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(XmlElement));
1360
mapping.TypeDesc =
Scope
.GetTypeDesc(mixed ? typeof(XmlNode) : typeof(XmlElement));
1456
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(XmlAttribute));
1514
TypeDesc xmlnsTypeDesc =
Scope
.GetTypeDesc(typeof(System.Xml.Serialization.XmlSerializerNamespaces));
1555
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(string));
1743
Scope
.AddTypeMapping(enumMapping);
1782
Scope
.AddTypeMapping(enumMapping);
1875
return (XmlSchemaSimpleType?)
Scope
.GetTypeDesc(typeof(string)).DataType;
1910
return
Scope
.GetTypeDesc(typeof(string)).DataType;