2 instantiations of ChoiceIdentifierAccessor
System.Private.Xml (2)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1562accessor.ChoiceIdentifier = new ChoiceIdentifierAccessor();
System\Xml\Serialization\XmlSchemaImporter.cs (1)
842member.ChoiceIdentifier = new ChoiceIdentifierAccessor();
22 references to ChoiceIdentifierAccessor
System.Private.Xml (22)
System\Xml\Serialization\Mappings.cs (2)
690private ChoiceIdentifierAccessor? _choiceIdentifier; 787internal ChoiceIdentifierAccessor? ChoiceIdentifier
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1695ChoiceIdentifierAccessor? choice = mapping.ChoiceIdentifier;
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (4)
116private void WriteMember(object? o, object? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc memberTypeDesc, bool writeAccessors) 129private void WriteArray(object o, object? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc arrayTypeDesc) 152private void WriteArrayItems(ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, object o) 181private void WriteElements(object? o, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, bool writeAccessors, bool isNullable)
System\Xml\Serialization\XmlSerializationReader.cs (2)
4205ChoiceIdentifierAccessor? choice = member.Mapping.ChoiceIdentifier; 4618private void WriteElement(string source, string? arrayName, string? choiceSource, ElementAccessor element, ChoiceIdentifierAccessor? choice, string? checkSpecified, bool checkForNull, bool readOnly, int fixupIndex, int elementIndex)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
2468ChoiceIdentifierAccessor? choice = member.Mapping.ChoiceIdentifier; 2963private void WriteElement(string source, string? arrayName, string? choiceSource, ElementAccessor element, ChoiceIdentifierAccessor? choice, string? checkSpecified, bool checkForNull, bool readOnly, int fixupIndex, int elementIndex)
System\Xml\Serialization\XmlSerializationWriter.cs (6)
3484private void WriteMember(string source, string? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc memberTypeDesc, bool writeAccessors) 3494private void WriteArray(string source, string? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc arrayTypeDesc) 3534private void WriteArrayItems(ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc arrayTypeDesc, string arrayName, string? choiceName) 3636private void WriteElements(string source, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, string arrayName, bool writeAccessors, bool isNullable) 3642private void WriteElements(string source, string? enumSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, string arrayName, bool writeAccessors, bool isNullable) 4230private void WriteChoiceTypeCheck(string source, string fullTypeName, bool useReflection, ChoiceIdentifierAccessor choice, string enumName, TypeDesc typeDesc)
System\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
1404private void WriteMember(SourceInfo source, string? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc memberTypeDesc, bool writeAccessors) 1414private void WriteArray(SourceInfo source, string? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc arrayTypeDesc) 1475private void WriteArrayItems(ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc arrayTypeDesc, string arrayName, string? choiceName) 1564private void WriteElements(SourceInfo source, string? enumSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, string arrayName, bool writeAccessors, bool isNullable) 2151private void WriteChoiceTypeCheck(SourceInfo source, ChoiceIdentifierAccessor choice, string enumName, TypeDesc typeDesc)