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