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