51 references to Scope
System.Xml (51)
System\Xml\Serialization\SchemaImporter.cs (2)
142
baseTypeDesc =
Scope
.GetTypeDesc(baseType);
164
TypeDesc typeDesc =
Scope
.GetTypeDesc(typeof(object));
System\Xml\Serialization\SoapSchemaImporter.cs (17)
76
return new XmlTypeMapping(
Scope
, accessor);
89
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(object[]));
101
return new XmlMembersMapping(
Scope
, accessor, XmlMappingAccess.Read | XmlMappingAccess.Write);
138
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(object[]));
157
return new XmlMembersMapping(
Scope
, accessor, XmlMappingAccess.Read | XmlMappingAccess.Write);
309
Scope
.AddTypeMapping(structMapping);
447
TypeDesc td =
Scope
.GetTypeDesc(typeName.Name, typeName.Namespace);
539
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(string));
552
TypeDesc sourceTypeDesc =
Scope
.GetTypeDesc(sourceDataType);
553
if (sourceTypeDesc != null && sourceTypeDesc !=
Scope
.GetTypeDesc(typeof(string)))
584
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(string));
590
Scope
.AddTypeMapping(enumMapping);
606
typeDesc =
Scope
.GetTypeDesc(dataType.Name, ns);
618
TypeDesc typeDesc =
Scope
.GetTypeDesc(dataType);
624
return
Scope
.GetTypeDesc(typeof(string));
628
TypeDesc typeDesc =
Scope
.GetTypeDesc(name.Name, name.Namespace);
636
return (XmlSchemaSimpleType)
Scope
.GetTypeDesc(typeof(string)).DataType;
System\Xml\Serialization\XmlSchemaImporter.cs (32)
80
mapping.TypeDesc =
Scope
.GetTypeDesc("string", XmlSchema.Namespace, flags);
107
return new XmlTypeMapping(
Scope
, element);
160
return new XmlTypeMapping(
Scope
, accessor);
176
return new XmlMembersMapping(
Scope
, ImportElement(name, typeof(MembersMapping), null), XmlMappingAccess.Read | XmlMappingAccess.Write);
211
XmlMembersMapping members = new XmlMembersMapping(
Scope
, accessor, XmlMappingAccess.Read | XmlMappingAccess.Write);
246
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(object[]));
250
return new XmlMembersMapping(
Scope
, element, XmlMappingAccess.Read | XmlMappingAccess.Write);
271
return new XmlMembersMapping(
Scope
, accessor, XmlMappingAccess.Read | XmlMappingAccess.Write);
523
mappings.TypeDesc =
Scope
.GetTypeDesc(typeof(object[]));
550
baseTypeDesc =
Scope
.GetTypeDesc(baseType);
613
Scope
.AddTypeMapping(structMapping);
628
TypeDesc baseTypeDesc =
Scope
.GetTypeDesc(baseType);
638
Scope
.AddTypeMapping(structMapping);
797
member.TypeDesc =
Scope
.GetTypeDesc(typeof(object));
809
if (member.TypeDesc == null) member.TypeDesc =
Scope
.GetTypeDesc(typeof(object));
1108
textMapping.TypeDesc =
Scope
.GetTypeDesc(typeof(XmlNode));
1126
mapping.TypeDesc =
Scope
.GetTypeDesc(makeElement ? typeof(XmlElement) : typeof(XmlNode));
1237
Scope
.AddTypeMapping(arrayMapping);
1297
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(XmlElement));
1304
mapping.TypeDesc =
Scope
.GetTypeDesc(mixed ? typeof(XmlNode) : typeof(XmlElement));
1391
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(XmlAttribute));
1440
TypeDesc xmlnsTypeDesc =
Scope
.GetTypeDesc(typeof(XmlSerializerNamespaces));
1476
mapping.TypeDesc =
Scope
.GetTypeDesc(typeof(string));
1600
TypeDesc sourceTypeDesc =
Scope
.GetTypeDesc((XmlSchemaSimpleType)sourceType);
1641
Scope
.AddTypeMapping(enumMapping);
1675
Scope
.AddTypeMapping(enumMapping);
1692
typeDesc =
Scope
.GetTypeDesc(dataType.Name, ns, flags);
1738
typeDesc =
Scope
.GetTypeDesc(dataType);
1752
return (XmlSchemaSimpleType)
Scope
.GetTypeDesc(typeof(string)).DataType;
1754
TypeDesc typeDesc =
Scope
.GetTypeDesc(name.Name, name.Namespace, flags);
1762
return (XmlSchemaSimpleType)
Scope
.GetTypeDesc("string", XmlSchema.Namespace, flags).DataType;
1775
return
Scope
.GetTypeDesc(typeof(string)).DataType;