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