1 write to Members
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1203
dataContract.
Members
= new List<DataMember>();
15 references to Members
System.Private.DataContractSerialization (15)
System\Runtime\Serialization\EnumDataContract.cs (12)
56
public override ReadOnlyCollection<DataMember> DataMembers => (
Members
== null) ? ReadOnlyCollection<DataMember>.Empty :
Members
.AsReadOnly();
378
for (int i = 0; i <
Members
.Count; i++)
380
string memberName =
Members
[i].Name;
422
if (
Members
.Count != enumContract.
Members
.Count || Values?.Count != enumContract.Values?.Count)
424
string[] memberNames1 = new string[
Members
.Count], memberNames2 = new string[
Members
.Count];
425
for (int i = 0; i <
Members
.Count; i++)
427
memberNames1[i] =
Members
[i].Name;
428
memberNames2[i] = enumContract.
Members
[i].Name;
432
for (int i = 0; i <
Members
.Count; i++)
System\Runtime\Serialization\SchemaExporter.cs (1)
439
facet.Value = enumDataContract.
Members
[i].Name;
System\Runtime\Serialization\SchemaImporter.cs (2)
1213
long enumValue = (valueInnerText == null) ? SchemaExporter.GetDefaultEnumValue(isFlags, dataContract.
Members
.Count)
1217
dataContract.
Members
.Add(dataMember);