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