27 references to AddUnique
System.Private.Xml (27)
System\Xml\Serialization\Compilation.cs (8)
372
classes.
AddUnique
("XmlSerializationWriter", "XmlSerializationWriter");
373
classes.
AddUnique
("XmlSerializationReader", "XmlSerializationReader");
390
writerClass = classes.
AddUnique
(writerClass, writerClass);
404
readerClass = classes.
AddUnique
(readerClass, readerClass);
469
classes.
AddUnique
("XmlSerializationWriter", "XmlSerializationWriter");
470
classes.
AddUnique
("XmlSerializationReader", "XmlSerializationReader");
484
writerClass = classes.
AddUnique
(writerClass, writerClass);
498
readerClass = classes.
AddUnique
(readerClass, readerClass);
System\Xml\Serialization\SchemaImporter.cs (1)
106
return TypeIdentifiers.
AddUnique
(typeName, typeName);
System\Xml\Serialization\XmlSchemaImporter.cs (14)
208
member.Name = memberScope.
AddUnique
(member.Name, member);
388
return TypeIdentifiers.
AddUnique
(typeName, typeName);
836
member.Name = membersScope.
AddUnique
(groupRepeats ? "Items" : "Item", member);
874
choiceAccessor.Name = choiceIdentifier.Name = member.ChoiceIdentifier.MemberName = membersScope.
AddUnique
(member.ChoiceIdentifier.MemberName, choiceIdentifier);
1162
member.Name = membersScope.
AddUnique
(member.Name, member);
1174
member.Name = membersScope.
AddUnique
(member.Name, member);
1421
member.Name = membersScope.
AddUnique
(name, member);
1426
member.Name = membersScope.
AddUnique
(member.Name, member);
1471
member.Name = membersScope.
AddUnique
(member.Name, member);
1475
member.Name = membersScope.
AddUnique
(member.Name, member);
1502
member.Name = membersScope.
AddUnique
(member.Name, member);
1564
member.Name = membersScope.
AddUnique
(member.Name, member);
1767
constant.Name = constants.
AddUnique
(constantName, constant);
1817
constant.Name = constants.
AddUnique
(constantName, constant);
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (2)
203
baseSerializer = classes.
AddUnique
(baseSerializer, baseSerializer);
242
serializerName = classes.
AddUnique
($"{serializerName}Serializer", mapping);
System\Xml\Serialization\XmlSerializationILGen.cs (2)
270
baseSerializer = classes.
AddUnique
(baseSerializer, baseSerializer);
315
serializerName = classes.
AddUnique
($"{serializerName}Serializer", mapping);