2 instantiations of ChoiceIdentifierAccessor
System.Private.Xml (2)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1567accessor.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)
689private ChoiceIdentifierAccessor? _choiceIdentifier; 786internal ChoiceIdentifierAccessor? ChoiceIdentifier
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1750ChoiceIdentifierAccessor? choice = mapping.ChoiceIdentifier;
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (4)
117private void WriteMember(object? o, object? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc memberTypeDesc, bool writeAccessors) 130private void WriteArray(object o, object? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc arrayTypeDesc) 153private void WriteArrayItems(ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, object o, object? choiceSources) 185private void WriteElements(object? o, object? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, bool writeAccessors, bool isNullable)
System\Xml\Serialization\XmlSerializationReader.cs (2)
4231ChoiceIdentifierAccessor? choice = member.Mapping.ChoiceIdentifier; 4644private 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)
2467ChoiceIdentifierAccessor? choice = member.Mapping.ChoiceIdentifier; 2962private 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)
3531private void WriteMember(string source, string? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc memberTypeDesc, bool writeAccessors) 3541private void WriteArray(string source, string? choiceSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc arrayTypeDesc) 3581private void WriteArrayItems(ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, TypeDesc arrayTypeDesc, string arrayName, string? choiceName) 3683private void WriteElements(string source, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, string arrayName, bool writeAccessors, bool isNullable) 3689private void WriteElements(string source, string? enumSource, ElementAccessor[] elements, TextAccessor? text, ChoiceIdentifierAccessor? choice, string arrayName, bool writeAccessors, bool isNullable) 4277private 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)