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