12 writes to XmlName
System.Private.DataContractSerialization (12)
System\Runtime\Serialization\ClassDataContract.cs (3)
624
XmlName
= xmlName;
681
XmlName
= xmlName;
727
XmlName
= new XmlQualifiedName(GetXmlNameAndSetHasDataContract(type).Name, ns.Value);
System\Runtime\Serialization\CollectionDataContract.cs (4)
508
XmlName
= DataContract.GetXmlName(type);
519
XmlName
= DataContract.GetXmlName(type);
533
XmlName
= CreateQualifiedName(Globals.ArrayPrefix + itemContract.XmlName.Name, itemContract.XmlName.Namespace);
553
XmlName
= DataContract.GetCollectionXmlName(type, itemType, out collectionContractAttribute);
System\Runtime\Serialization\DataContract.cs (3)
208
internal set => _helper.
XmlName
= value;
1068
XmlName
= xmlName;
1075
XmlName
= CreateQualifiedName(name.Value, ns.Value);
System\Runtime\Serialization\EnumDataContract.cs (1)
128
XmlName
= DataContract.GetXmlName(type, out _hasDataContract);
System\Runtime\Serialization\XmlDataContract.cs (1)
148
XmlName
= xmlName;
18 references to XmlName
System.Private.DataContractSerialization (18)
System\Runtime\Serialization\ClassDataContract.cs (8)
627
Name = dictionary.Add(
XmlName
.Name);
628
Namespace = dictionary.Add(
XmlName
.Namespace);
684
Name = dictionary.Add(
XmlName
.Name);
685
Namespace = dictionary.Add(
XmlName
.Namespace);
730
Name = dictionary.Add(
XmlName
.Name);
982
membersInHierarchy.Add(new Member(member,
XmlName
!.Namespace, baseTypeIndex));
1151
ThrowInvalidDataContractException(SR.Format(SR.ValueTypeCannotHaveBaseType,
XmlName
!.Name,
XmlName
.Namespace, _baseContract.XmlName!.Name, _baseContract.XmlName.Namespace));
System\Runtime\Serialization\CollectionDataContract.cs (2)
482
Name = dictionary.Add(
XmlName
.Name);
483
Namespace = dictionary.Add(
XmlName
.Namespace);
System\Runtime\Serialization\DataContract.cs (1)
207
get => _helper.
XmlName
;
System\Runtime\Serialization\EnumDataContract.cs (4)
139
Name = dictionary.Add(
XmlName
.Name);
140
Namespace = dictionary.Add(
XmlName
.Namespace);
171
SR.Format(SR.InvalidEnumBaseType, value.Name, value.Namespace,
XmlName
.Name,
XmlName
.Namespace));
System\Runtime\Serialization\XmlDataContract.cs (3)
152
Name = dictionary.Add(
XmlName
.Name);
153
Namespace = dictionary.Add(
XmlName
.Namespace);
160
_topLevelElementNamespace = (this.
XmlName
.Namespace == Globals.SchemaNamespace) ? DictionaryGlobals.EmptyString : Namespace;