2 instantiations of ChoiceIdentifierAccessor
System.Private.Xml (2)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1568
accessor.ChoiceIdentifier = new
ChoiceIdentifierAccessor
();
System\Xml\Serialization\XmlSchemaImporter.cs (1)
842
member.ChoiceIdentifier = new
ChoiceIdentifierAccessor
();
23 references to ChoiceIdentifierAccessor
System.Private.Xml (23)
System\Xml\Serialization\Mappings.cs (2)
704
private
ChoiceIdentifierAccessor
? _choiceIdentifier;
801
internal
ChoiceIdentifierAccessor
? ChoiceIdentifier
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1844
ChoiceIdentifierAccessor
? choice = mapping.ChoiceIdentifier;
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (5)
118
private void WriteMember(object? o, object? choiceSource, ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, TypeDesc memberTypeDesc, bool writeAccessors)
131
private void WriteArray(object o, object? choiceSource, ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, TypeDesc arrayTypeDesc)
154
private void WriteArrayItems(ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, object o, object? choiceSources)
217
private bool TryWritePrimitiveItems(ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, object o)
343
private void WriteElements(object? o, object? choiceSource, ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, bool writeAccessors, bool isNullable)
System\Xml\Serialization\XmlSerializationReader.cs (2)
4300
ChoiceIdentifierAccessor
? choice = member.Mapping.ChoiceIdentifier;
4737
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)
2584
ChoiceIdentifierAccessor
? choice = member.Mapping.ChoiceIdentifier;
3169
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)
3531
private void WriteMember(string source, string? choiceSource, ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, TypeDesc memberTypeDesc, bool writeAccessors)
3541
private void WriteArray(string source, string? choiceSource, ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, TypeDesc arrayTypeDesc)
3581
private void WriteArrayItems(ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, TypeDesc arrayTypeDesc, string arrayName, string? choiceName)
3701
private void WriteElements(string source, ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, string arrayName, bool writeAccessors, bool isNullable)
3707
private void WriteElements(string source, string? enumSource, ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, string arrayName, bool writeAccessors, bool isNullable)
4295
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)
1607
private void WriteElements(SourceInfo source, string? enumSource, ElementAccessor[] elements, TextAccessor? text,
ChoiceIdentifierAccessor
? choice, string arrayName, bool writeAccessors, bool isNullable)
2194
private void WriteChoiceTypeCheck(SourceInfo source,
ChoiceIdentifierAccessor
choice, string enumName, TypeDesc typeDesc)