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