9 writes to Name
System.Runtime.Serialization (9)
System\Runtime\Serialization\ClassDataContract.cs (6)
789
Members[i].
Name
= memberNames[i];
908
memberContract.
Name
= memberAttribute.Name;
911
memberContract.
Name
= member.Name;
913
memberContract.
Name
= DataContract.EncodeLocalName(memberContract.Name);
969
memberContract.
Name
= DataContract.EncodeLocalName(member.Name);
980
memberContract.
Name
= DataContract.EncodeLocalName(member.Name);
System\Runtime\Serialization\EnumDataContract.cs (3)
295
memberContract.
Name
= memberAttribute.Value;
298
memberContract.
Name
= field.Name;
312
memberContract.
Name
= field.Name;
48 references to Name
System.Runtime.Serialization (48)
System\Runtime\Serialization\ClassDataContract.cs (15)
326
if (memberNamesTable.TryGetValue(memberContract.
Name
, out existingMemberContract))
334
memberContract.
Name
),
337
memberNamesTable.Add(memberContract.
Name
, memberContract);
769
MemberNames[i + baseMemberCount] = dictionary.Add(Members[i].
Name
);
790
MemberNames[i] = dictionary.Add(Members[i].
Name
);
913
memberContract.Name = DataContract.EncodeLocalName(memberContract.
Name
);
1049
&& String.CompareOrdinal(membersInHierarchy[endIndex].member.
Name
, membersInHierarchy[endIndex + 1].member.
Name
) == 0
1381
int nameCompare = String.CompareOrdinal(x.member.
Name
, y.member.
Name
);
1489
membersDictionary.Add(Members[i].
Name
, Members[i]);
1496
if (membersDictionary.TryGetValue(dataContract.Members[i].
Name
, out dataMember))
1500
membersDictionary.Remove(dataMember.
Name
);
1557
return String.CompareOrdinal(x.
Name
, y.
Name
);
System\Runtime\Serialization\CodeExporter.cs (2)
874
string dataMemberName = GetNameForAttribute(dataMember.
Name
);
1101
string stringValue = enumDataContract.Members[i].
Name
;
System\Runtime\Serialization\DataMember.cs (3)
312
this.
Name
,
331
return (
Name
== dataMember.
Name
System\Runtime\Serialization\EnumDataContract.cs (4)
203
childElementNames[i] = dictionary.Add(Members[i].
Name
);
431
string memberName = Members[i].
Name
;
471
memberNames1[i] = Members[i].
Name
;
472
memberNames2[i] = dataContract.Members[i].
Name
;
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (6)
423
ilg.Case(memberLabels[memberCount], dataMember.
Name
);
432
value = ilg.DeclareLocal(memberType, dataMember.
Name
+ "Value");
435
ReadValue(memberType, dataMember.
Name
);
439
value = ReadValue(memberType, dataMember.
Name
);
1025
LocalBuilder pairKey = ilg.DeclareLocal(keyMember.MemberType, keyMember.
Name
);
1026
LocalBuilder pairValue = ilg.DeclareLocal(valueMember.MemberType, valueMember.
Name
);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
330
ilg.Call(null, XmlFormatGeneratorStatics.ThrowRequiredMemberMustBeEmittedMethod, member.
Name
, classContract.UnderlyingType);
345
LocalBuilder memberValue = ilg.DeclareLocal(member.MemberType, member.
Name
+ "Value");
System\Runtime\Serialization\SchemaExporter.cs (3)
140
element.Name = dataMember.
Name
;
386
keyValueElement.Name = dataMember.
Name
;
436
facet.Value = enumDataContract.Members[i].
Name
;
System\Runtime\Serialization\SchemaImporter.cs (2)
1125
dataContract.KeyName = key.
Name
;
1126
dataContract.ValueName = value.
Name
;
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (6)
406
ilg.Case(memberLabels[memberCount], dataMember.
Name
);
422
value = ilg.DeclareLocal(memberType, dataMember.
Name
+ "Value");
425
ReadValue(memberType, dataMember.
Name
, classContract.StableName.Namespace);
429
value = ReadValue(memberType, dataMember.
Name
, classContract.StableName.Namespace);
876
LocalBuilder pairKey = ilg.DeclareLocal(keyMember.MemberType, keyMember.
Name
);
877
LocalBuilder pairValue = ilg.DeclareLocal(valueMember.MemberType, valueMember.
Name
);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (4)
353
ilg.Call(null, XmlFormatGeneratorStatics.ThrowRequiredMemberMustBeEmittedMethod, member.
Name
, classContract.UnderlyingType);
369
LocalBuilder memberValue = ilg.DeclareLocal(member.MemberType, member.
Name
+ "Value");
790
string name = member.
Name
;
800
if (name == members[j].
Name
)
System\Runtime\Serialization\XPathQueryGenerator.cs (1)
119
this.xPathBuilder.Append(XPathQueryGenerator.XPathSeparator + prefix + XPathQueryGenerator.NsSeparator + contextMember.
Name
);