2 writes to BaseClassContract
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ClassDataContract.cs (1)
1367boundClassContract.BaseClassContract = (ClassDataContract)BaseClassContract.BindGenericParameters(paramContracts, boundContracts);
System\Runtime\Serialization\SchemaImporter.cs (1)
917dataContract.BaseClassContract = baseContract;
83 references to BaseClassContract
System.Private.DataContractSerialization (83)
System\Runtime\Serialization\ClassDataContract.cs (15)
61get => BaseClassContract; 360if (BaseClassContract != null) 361baseChildElementNamespaces = BaseClassContract.ChildElementNamespaces; 418if (BaseClassContract != null && BaseClassContract.RequiresMemberAccessForRead(securityException)) 525if (BaseClassContract != null && BaseClassContract.RequiresMemberAccessForWrite(securityException)) 993currContract = currContract.BaseClassContract; 1366if (BaseClassContract != null) 1367boundClassContract.BaseClassContract = (ClassDataContract)BaseClassContract.BindGenericParameters(paramContracts, boundContracts); 1457if (BaseClassContract == null) 1458return (dataContract.BaseClassContract == null); 1459else if (dataContract.BaseClassContract == null) 1462return BaseClassContract.Equals(dataContract.BaseClassContract, checkedContracts);
System\Runtime\Serialization\DataContractSet.cs (3)
143if (classDataContract.BaseClassContract != null) 145Add(classDataContract.BaseClassContract.XmlName, classDataContract.BaseClassContract);
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (9)
234if (classContract.BaseClassContract != null) 235InvokeOnDeserializing(classContract.BaseClassContract); 248if (classContract.BaseClassContract != null) 249InvokeOnDeserialized(classContract.BaseClassContract); 298currentContract = currentContract.BaseClassContract; 361int memberCount = (classContract.BaseClassContract == null) ? 0 : 362ReadMembers(classContract.BaseClassContract, expectedElements, memberLabels, throwDuplicateMemberLabel, memberIndexLocal); 424int memberCount = (contract.BaseClassContract == null) ? 0 : 425SetRequiredElements(contract.BaseClassContract, requiredElements);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (6)
176if (classContract.BaseClassContract != null) 177InvokeOnSerializing(classContract.BaseClassContract); 189if (classContract.BaseClassContract != null) 190InvokeOnSerialized(classContract.BaseClassContract); 234int memberCount = (classContract.BaseClassContract == null) ? 0 : 235WriteMembers(classContract.BaseClassContract, extensionDataLocal, derivedMostClassContract);
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (2)
206int memberCount = (classContract.BaseClassContract == null) ? 0 : 207ReflectionWriteMembers(xmlWriter, obj, context, classContract.BaseClassContract, derivedMostClassContract, childElementIndex, memberNames);
System\Runtime\Serialization\ReflectionClassWriter.cs (4)
132if (classContract.BaseClassContract != null) 133InvokeOnSerializing(obj, context, classContract.BaseClassContract); 143if (classContract.BaseClassContract != null) 144InvokeOnSerialized(obj, context, classContract.BaseClassContract);
System\Runtime\Serialization\ReflectionReader.cs (6)
213int memberCount = (classContract.BaseClassContract == null) ? 0 : ReflectionGetMembers(classContract.BaseClassContract, members); 400if (classContract.BaseClassContract != null) 401InvokeOnDeserializing(context, classContract.BaseClassContract, obj); 411if (classContract.BaseClassContract != null) 412InvokeOnDeserialized(context, classContract.BaseClassContract, obj);
System\Runtime\Serialization\ReflectionXmlFormatReader.cs (2)
144int memberCount = (contract.BaseClassContract == null) ? 0 : GetRequiredMembers(contract.BaseClassContract, requiredMembers);
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (3)
139int memberCount = (classContract.BaseClassContract == null) ? 0 : 140ReflectionWriteMembers(xmlWriter, obj, context, classContract.BaseClassContract, derivedMostClassContract, childElementIndex, emptyStringArray); 251currentContract = currentContract.BaseClassContract;
System\Runtime\Serialization\SchemaExporter.cs (5)
156if (classDataContract.BaseClassContract != null) 158XmlSchemaComplexContentExtension extension = CreateTypeContent(type, classDataContract.BaseClassContract.XmlName, schema); 160if (classDataContract.IsReference && !classDataContract.BaseClassContract.IsReference) 474if (dataContract.BaseClassContract != null) 476_ = CreateTypeContent(type, dataContract.BaseClassContract.XmlName, schema);
System\Runtime\Serialization\SchemaImporter.cs (8)
530ClassDataContract? ancestorDataContract = oldContract.BaseClassContract; 534ancestorDataContract = ancestorDataContract.BaseClassContract; 664Debug.Assert(dataContract.BaseClassContract != null); // ImportBaseContract will always set this... or throw. 665if (dataContract.BaseClassContract.IsISerializable) 672if (dataContract.BaseClassContract.IsReference) 836Debug.Assert(dataContract.BaseClassContract != null); // ImportBaseContract will always set this... or throw. 837if (!dataContract.BaseClassContract.IsISerializable) 914ancestorDataContract = ancestorDataContract.BaseClassContract;
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (9)
295if (classContract.BaseClassContract != null) 296InvokeOnDeserializing(classContract.BaseClassContract); 312if (classContract.BaseClassContract != null) 313InvokeOnDeserialized(classContract.BaseClassContract); 364currentContract = currentContract.BaseClassContract; 420int memberCount = (classContract.BaseClassContract == null) ? 0 : ReadMembers(classContract.BaseClassContract, requiredMembers, 478int memberCount = (contract.BaseClassContract == null) ? 0 : GetRequiredMembers(contract.BaseClassContract, requiredMembers);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (7)
209if (classContract.BaseClassContract != null) 210InvokeOnSerializing(classContract.BaseClassContract); 222if (classContract.BaseClassContract != null) 223InvokeOnSerialized(classContract.BaseClassContract); 291int memberCount = (classContract.BaseClassContract == null) ? 0 : 292WriteMembers(classContract.BaseClassContract, extensionDataLocal, derivedMostClassContract); 811currentContract = currentContract.BaseClassContract;
System\Runtime\Serialization\XmlObjectSerializer.cs (2)
417classContract = classContract.BaseClassContract; 422classContract = classContract.BaseClassContract;
System\Runtime\Serialization\XPathQueryGenerator.cs (2)
88if (contract.BaseClassContract != null) 90foreach (DataMember baseClassMember in GetDataMembers(contract.BaseClassContract))