44 references to Accessor
System.Private.Xml (44)
System\Xml\Serialization\Compilation.cs (4)
455
VerifyLoadContext(mapping.
Accessor
.Mapping?.TypeDesc?.Type, mainAssembly);
554
if (mapping.
Accessor
.Any)
621
throw new InvalidOperationException(SR.Format(SR.XmlNotSerializable, mapping.
Accessor
.Name));
648
throw new InvalidOperationException(SR.Format(SR.XmlNotSerializable, mapping.
Accessor
.Name));
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (4)
80
if (xmlMembersMapping.
Accessor
.IsSoap)
92
ElementAccessor element = xmlMembersMapping.
Accessor
;
310
ElementAccessor element = xmlMembersMapping.
Accessor
;
450
ElementAccessor element = xmlTypeMapping.
Accessor
;
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (2)
78
ElementAccessor element = xmlMapping.
Accessor
;
1181
ElementAccessor element = xmlMembersMapping.
Accessor
;
System\Xml\Serialization\XmlMapping.cs (2)
61
get { return System.Xml.Serialization.Accessor.UnescapeName(
Accessor
.Name); }
69
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)
36
ExportElement(xmlTypeMapping.
Accessor
);
44
MembersMapping mapping = (MembersMapping)xmlMembersMapping.
Accessor
.Mapping!;
48
XmlSchemaType? type = ExportSpecialMapping(special, xmlMembersMapping.
Accessor
.Namespace, false, null);
51
type.Name = xmlMembersMapping.
Accessor
.Name;
52
AddSchemaItem(type, xmlMembersMapping.
Accessor
.Namespace, null);
55
return (new XmlQualifiedName(xmlMembersMapping.
Accessor
.Name, xmlMembersMapping.
Accessor
.Namespace));
68
MembersMapping mapping = (MembersMapping)xmlMembersMapping.
Accessor
.Mapping!;
72
ExportElement(xmlMembersMapping.
Accessor
);
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (5)
241
string serializerName = CodeIdentifier.MakeValid(Accessor.UnescapeName(mapping.
Accessor
.Mapping!.TypeDesc!.Name));
260
if (mapping.
Accessor
.Any)
267
WriteQuotedCSharpString(mapping.
Accessor
.Name);
269
WriteQuotedCSharpString(mapping.
Accessor
.Namespace);
346
Type? type = xmlMappings[i].
Accessor
.Mapping!.TypeDesc!.Type;
System\Xml\Serialization\XmlSerializationILGen.cs (5)
314
string serializerName = CodeIdentifier.MakeValid(Accessor.UnescapeName(mapping.
Accessor
.Mapping!.TypeDesc!.Name));
334
if (mapping.
Accessor
.Any)
348
ilg.Ldstr(GetCSharpString(mapping.
Accessor
.Name));
349
ilg.Ldstr(GetCSharpString(mapping.
Accessor
.Namespace));
448
Type? type = xmlMappings[i].
Accessor
.Mapping!.TypeDesc!.Type;
System\Xml\Serialization\XmlSerializationReader.cs (4)
2438
if (xmlMembersMapping.
Accessor
.IsSoap)
2475
ElementAccessor element = xmlMembersMapping.
Accessor
;
2652
ElementAccessor element = xmlMembersMapping.
Accessor
;
2787
ElementAccessor element = xmlTypeMapping.
Accessor
;
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
385
ElementAccessor element = xmlMembersMapping.
Accessor
;
629
ElementAccessor element = xmlTypeMapping.
Accessor
;
System\Xml\Serialization\XmlSerializationWriter.cs (2)
2604
ElementAccessor element = xmlMembersMapping.
Accessor
;
2814
ElementAccessor element = xmlTypeMapping.
Accessor
;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
351
ElementAccessor element = xmlMembersMapping.
Accessor
;
544
ElementAccessor element = xmlTypeMapping.
Accessor
;
System\Xml\Serialization\XmlTypeMapping.cs (1)
20
get { return
Accessor
.Mapping; }