10 writes to Name
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\ClassDataContract.cs (6)
737
Members[i].
Name
= memberNames[i];
858
memberContract.
Name
= memberAttribute.Name;
861
memberContract.
Name
= member.Name;
863
memberContract.
Name
= DataContract.EncodeLocalName(memberContract.Name);
918
memberContract.
Name
= DataContract.EncodeLocalName(member.Name);
932
memberContract.
Name
= DataContract.EncodeLocalName(member.Name);
System\Runtime\Serialization\EnumDataContract.cs (3)
241
memberContract.
Name
= memberAttribute.Value;
244
memberContract.
Name
= field.Name;
259
DataMember memberContract = new DataMember(field) {
Name
= field.Name };
System\Runtime\Serialization\SchemaImporter.cs (1)
1216
DataMember dataMember = new DataMember(Globals.SchemaMemberInfoPlaceholder) {
Name
= enumFacet.Value, Order = enumValue };
44 references to Name
System.Private.DataContractSerialization (42)
System\Runtime\Serialization\ClassDataContract.cs (15)
258
if (memberNamesTable.TryGetValue(memberContract.
Name
, out DataMember? existingMemberContract))
266
memberContract.
Name
),
269
memberNamesTable.Add(memberContract.
Name
, memberContract);
713
MemberNames[i + baseMemberCount] = dictionary.Add(Members[i].
Name
);
738
MemberNames[i] = dictionary.Add(Members[i].
Name
);
863
memberContract.Name = DataContract.EncodeLocalName(memberContract.
Name
);
1005
&& membersInHierarchy[endIndex]._member.
Name
== membersInHierarchy[endIndex + 1]._member.
Name
1301
int nameCompare = string.CompareOrdinal(x._member.
Name
, y._member.
Name
);
1425
membersDictionary.Add(Members[i].
Name
, Members[i]);
1431
if (membersDictionary.TryGetValue(dataContract.Members[i].
Name
, out DataMember? dataMember))
1435
membersDictionary.Remove(dataMember.
Name
);
1491
return string.CompareOrdinal(x.
Name
, y.
Name
);
System\Runtime\Serialization\DataMember.cs (3)
297
Name
,
317
return (
Name
== dataMember.
Name
System\Runtime\Serialization\EnumDataContract.cs (4)
143
_childElementNames[i] = dictionary.Add(Members[i].
Name
);
380
string memberName = Members[i].
Name
;
427
memberNames1[i] = Members[i].
Name
;
428
memberNames2[i] = enumContract.Members[i].
Name
;
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
380
ReadValue(memberType, dataMember.
Name
);
385
value = ReadValue(memberType, dataMember.
Name
);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (1)
286
_ilg.Call(thisObj: null, XmlFormatGeneratorStatics.ThrowRequiredMemberMustBeEmittedMethod, member.
Name
, classContract.UnderlyingType);
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (1)
239
XmlObjectSerializerWriteContext.ThrowRequiredMemberMustBeEmitted(member.
Name
, classContract.UnderlyingType);
System\Runtime\Serialization\ReflectionReader.cs (1)
386
string name = dataMember.
Name
;
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (4)
173
XmlObjectSerializerWriteContext.ThrowRequiredMemberMustBeEmitted(member.
Name
, classContract.UnderlyingType);
186
ReflectionWriteStartElement(xmlWriter, memberType, ns, ns.Value, member.
Name
);
237
string? name = member.
Name
;
247
if (name == members[j].
Name
)
System\Runtime\Serialization\SchemaExporter.cs (3)
134
element.Name = dataMember.
Name
;
387
keyValueElement.Name = dataMember.
Name
;
439
facet.Value = enumDataContract.Members[i].
Name
;
System\Runtime\Serialization\SchemaImporter.cs (2)
1116
dataContract.KeyName = key.
Name
;
1117
dataContract.ValueName = value.
Name
;
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
446
ReadValue(memberType, dataMember.
Name
, classContract.XmlName.Namespace);
451
value = ReadValue(memberType, dataMember.
Name
, classContract.XmlName.Namespace);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (3)
352
_ilg.Call(thisObj: null, XmlFormatGeneratorStatics.ThrowRequiredMemberMustBeEmittedMethod, member.
Name
, classContract.UnderlyingType);
797
string name = member.
Name
;
807
if (name == members[j].
Name
)
System\Runtime\Serialization\XPathQueryGenerator.cs (1)
125
_xPathBuilder.Append(XPathQueryGenerator.XPathSeparator + prefix + XPathQueryGenerator.NsSeparator + contextMember.
Name
);
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
849
string dataMemberName = GetNameForAttribute(dataMember.
Name
);
1089
string stringValue = enumDataContract.DataMembers[i].
Name
;