1 write to MemberNames
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\ClassDataContract.cs (1)
53
MemberNames
= _helper.MemberNames;
18 references to MemberNames
System.Private.DataContractSerialization (18)
System\Runtime\Serialization\ClassDataContract.cs (3)
394
object? o = XmlFormatReaderDelegate(xmlReader, context,
MemberNames
, MemberNamespaces);
701
baseMemberCount = BaseClassContract.
MemberNames
!.Length;
703
Array.Copy(BaseClassContract.
MemberNames
, MemberNames, baseMemberCount);
System\Runtime\Serialization\Json\JsonClassDataContract.cs (6)
155
if (_traditionalClassDataContract.
MemberNames
!= null)
157
int memberCount = _traditionalClassDataContract.
MemberNames
.Length;
162
if (memberTable.ContainsKey(_traditionalClassDataContract.
MemberNames
[i].Value))
164
throw new SerializationException(SR.Format(SR.JsonDuplicateMemberNames, DataContract.GetClrTypeFullName(_traditionalClassDataContract.UnderlyingType), _traditionalClassDataContract.
MemberNames
[i].Value));
168
memberTable.Add(_traditionalClassDataContract.
MemberNames
[i].Value, null);
169
decodedMemberNames[i] = DataContractJsonSerializer.ConvertXmlNameToJsonName(_traditionalClassDataContract.
MemberNames
[i]);
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
311
int memberCount = classContract.
MemberNames
!.Length;
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (1)
257
bool requiresNameAttribute = DataContractJsonSerializer.CheckIfXmlNameRequiresMapping(classContract.
MemberNames
![i]);
System\Runtime\Serialization\Json\ReflectionJsonFormatReader.cs (1)
67
int memberCount = classContract.
MemberNames
!.Length;
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (1)
247
bool requiresNameAttribute = DataContractJsonSerializer.CheckIfXmlNameRequiresMapping(classContract.
MemberNames
![i]);
System\Runtime\Serialization\ReflectionXmlFormatReader.cs (2)
65
int memberCount = classContract.
MemberNames
!.Length;
133
int memberCount = contract.
MemberNames
!.Length;
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (1)
144
XmlDictionaryString[] memberNames = classContract.
MemberNames
!;
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
377
int memberCount = classContract.
MemberNames
!.Length;
467
int memberCount = contract.
MemberNames
!.Length;