2 overrides of DataMembers
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ClassDataContract.cs (1)
76public override ReadOnlyCollection<DataMember> DataMembers => (Members == null) ? ReadOnlyCollection<DataMember>.Empty : Members.AsReadOnly();
System\Runtime\Serialization\EnumDataContract.cs (1)
56public override ReadOnlyCollection<DataMember> DataMembers => (Members == null) ? ReadOnlyCollection<DataMember>.Empty : Members.AsReadOnly();
9 references to DataMembers
System.Runtime.Serialization.Schema (9)
System\Runtime\Serialization\Schema\CodeExporter.cs (9)
662Debug.Assert(itemContract.DataMembers.Count >= 2); 664DataMember keyMember = itemContract.DataMembers[0]; 665DataMember valueMember = itemContract.DataMembers[1]; 842for (int i = 0; i < classDataContract.DataMembers.Count; i++) 844DataMember dataMember = classDataContract.DataMembers[i]; 942foreach (DataMember dataMember in classDataContract.DataMembers) 1087for (int i = 0; i < enumDataContract.DataMembers.Count; i++) 1089string stringValue = enumDataContract.DataMembers[i].Name; 1090long longValue = enumDataContract.DataMembers[i].Order; // Members[] and Values[] go hand in hand.