44 references to Accessor
System.Xml (44)
System\Xml\Serialization\Compilation.cs (3)
542
if (mapping.
Accessor
.Any) {
588
throw new InvalidOperationException(Res.GetString(Res.XmlNotSerializable, mapping.
Accessor
.Name));
615
throw new InvalidOperationException(Res.GetString(Res.XmlNotSerializable, mapping.
Accessor
.Name));
System\Xml\Serialization\SoapCodeExporter.cs (1)
67
ExportElement(xmlTypeMapping.
Accessor
);
System\Xml\Serialization\SoapSchemaExporter.cs (1)
61
MembersMapping membersMapping = (MembersMapping)xmlMembersMapping.
Accessor
.Mapping;
System\Xml\Serialization\XmlCodeExporter.cs (5)
69
if (xmlTypeMapping.
Accessor
.Any) throw new InvalidOperationException(Res.GetString(Res.XmlIllegalWildcard));
71
ExportElement(xmlTypeMapping.
Accessor
);
577
AddRootMetadata(metadata, mapping.Mapping, Accessor.UnescapeName(mapping.
Accessor
.Name), mapping.
Accessor
.Namespace, mapping.
Accessor
);
System\Xml\Serialization\XmlMapping.cs (2)
57
get { return System.Xml.Serialization.Accessor.UnescapeName(
Accessor
.Name); }
65
get { return
Accessor
.Name; }
System\Xml\Serialization\XmlMembersMapping.cs (2)
41
get { return
Accessor
.Mapping.TypeName; }
49
get { return
Accessor
.Mapping.Namespace; }
System\Xml\Serialization\XmlSchemaExporter.cs (9)
49
ExportElement(xmlTypeMapping.
Accessor
);
57
MembersMapping mapping = (MembersMapping)xmlMembersMapping.
Accessor
.Mapping;
60
XmlSchemaType type = ExportSpecialMapping(special, xmlMembersMapping.
Accessor
.Namespace, false, null);
62
type.Name = xmlMembersMapping.
Accessor
.Name;
63
AddSchemaItem(type, xmlMembersMapping.
Accessor
.Namespace, null);
66
return (new XmlQualifiedName(xmlMembersMapping.
Accessor
.Name, xmlMembersMapping.
Accessor
.Namespace));
85
MembersMapping mapping = (MembersMapping)xmlMembersMapping.
Accessor
.Mapping;
88
ExportElement(xmlMembersMapping.
Accessor
);
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (5)
250
string serializerName = CodeIdentifier.MakeValid(Accessor.UnescapeName(mapping.
Accessor
.Mapping.TypeDesc.Name));
269
if (mapping.
Accessor
.Any) {
274
WriteQuotedCSharpString(mapping.
Accessor
.Name);
276
WriteQuotedCSharpString(mapping.
Accessor
.Namespace);
345
Type type = xmlMappings[i].
Accessor
.Mapping.TypeDesc.Type;
System\Xml\Serialization\XmlSerializationILGen.cs (5)
296
string serializerName = CodeIdentifier.MakeValid(Accessor.UnescapeName(mapping.
Accessor
.Mapping.TypeDesc.Name));
316
if (mapping.
Accessor
.Any) {
330
ilg.Ldstr(mapping.
Accessor
.Name);
331
ilg.Ldstr(mapping.
Accessor
.Namespace);
430
Type type = xmlMappings[i].
Accessor
.Mapping.TypeDesc.Type;
System\Xml\Serialization\XmlSerializationReader.cs (4)
2300
if (xmlMembersMapping.
Accessor
.IsSoap)
2331
ElementAccessor element = xmlMembersMapping.
Accessor
;
2489
ElementAccessor element = xmlMembersMapping.
Accessor
;
2616
ElementAccessor element = xmlTypeMapping.
Accessor
;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
401
ElementAccessor element = xmlMembersMapping.
Accessor
;
643
ElementAccessor element = xmlTypeMapping.
Accessor
;
System\Xml\Serialization\XmlSerializationWriter.cs (2)
1604
ElementAccessor element = xmlMembersMapping.
Accessor
;
1789
ElementAccessor element = xmlTypeMapping.
Accessor
;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
322
ElementAccessor element = xmlMembersMapping.
Accessor
;
501
ElementAccessor element = xmlTypeMapping.
Accessor
;
System\Xml\Serialization\XmlTypeMapping.cs (1)
23
get { return
Accessor
.Mapping; }