2 writes to BaseContract
System.Runtime.Serialization (2)
System\Runtime\Serialization\ClassDataContract.cs (1)
1434
boundClassContract.
BaseContract
= (ClassDataContract)BaseContract.BindGenericParameters(paramContracts, boundContracts);
System\Runtime\Serialization\SchemaImporter.cs (1)
941
dataContract.
BaseContract
= baseContract;
69 references to BaseContract
System.Runtime.Serialization (69)
System\Runtime\Serialization\ClassDataContract.cs (14)
415
if (this.
BaseContract
!= null)
416
baseChildElementNamespaces = this.
BaseContract
.ChildElementNamespaces;
472
if (this.
BaseContract
!= null && this.
BaseContract
.RequiresMemberAccessForRead(securityException))
586
if (this.
BaseContract
!= null && this.
BaseContract
.RequiresMemberAccessForWrite(securityException))
1037
currContract = currContract.
BaseContract
;
1433
if (
BaseContract
!= null)
1434
boundClassContract.BaseContract = (ClassDataContract)
BaseContract
.BindGenericParameters(paramContracts, boundContracts);
1523
if (
BaseContract
== null)
1524
return (dataContract.
BaseContract
== null);
1525
else if (dataContract.
BaseContract
== null)
1528
return
BaseContract
.Equals(dataContract.
BaseContract
, checkedContracts);
System\Runtime\Serialization\CodeExporter.cs (6)
315
ClassDataContract baseContract = classContract.
BaseContract
;
835
if (classDataContract.
BaseContract
== null)
844
ContractCodeDomInfo baseContractCodeDomInfo = GetContractCodeDomInfo(classDataContract.
BaseContract
);
1145
if (dataContract.
BaseContract
== null)
1158
ContractCodeDomInfo baseContractCodeDomInfo = GetContractCodeDomInfo(dataContract.
BaseContract
);
1159
GenerateType(dataContract.
BaseContract
, baseContractCodeDomInfo);
System\Runtime\Serialization\DataContractSet.cs (3)
163
if (classDataContract.
BaseContract
!= null)
165
Add(classDataContract.
BaseContract
.StableName, classDataContract.
BaseContract
);
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (9)
298
if (classContract.
BaseContract
!= null)
299
InvokeOnDeserializing(classContract.
BaseContract
);
312
if (classContract.
BaseContract
!= null)
313
InvokeOnDeserialized(classContract.
BaseContract
);
359
currentContract = currentContract.
BaseContract
;
416
int memberCount = (classContract.
BaseContract
== null) ? 0 :
417
ReadMembers(classContract.
BaseContract
, expectedElements, memberLabels, throwDuplicateMemberLabel, memberIndexLocal);
478
int memberCount = (contract.
BaseContract
== null) ? 0 :
479
SetRequiredElements(contract.
BaseContract
, requiredElements);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (6)
232
if (classContract.
BaseContract
!= null)
233
InvokeOnSerializing(classContract.
BaseContract
);
245
if (classContract.
BaseContract
!= null)
246
InvokeOnSerialized(classContract.
BaseContract
);
284
int memberCount = (classContract.
BaseContract
== null) ? 0 :
285
WriteMembers(classContract.
BaseContract
, extensionDataLocal, derivedMostClassContract);
System\Runtime\Serialization\SchemaExporter.cs (5)
162
if (classDataContract.
BaseContract
!= null)
164
XmlSchemaComplexContentExtension extension = CreateTypeContent(type, classDataContract.
BaseContract
.StableName, schema);
166
if (classDataContract.IsReference && !classDataContract.
BaseContract
.IsReference)
469
if (dataContract.
BaseContract
!= null)
471
XmlSchemaComplexContentExtension extension = CreateTypeContent(type, dataContract.
BaseContract
.StableName, schema);
System\Runtime\Serialization\SchemaImporter.cs (6)
535
ClassDataContract ancestorDataContract = oldContract.
BaseContract
;
539
ancestorDataContract = ancestorDataContract.
BaseContract
;
673
if (dataContract.
BaseContract
.IsISerializable)
680
if (dataContract.
BaseContract
.IsReference)
855
if (!dataContract.
BaseContract
.IsISerializable)
938
ancestorDataContract = ancestorDataContract.
BaseContract
;
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (9)
291
if (classContract.
BaseContract
!= null)
292
InvokeOnDeserializing(classContract.
BaseContract
);
305
if (classContract.
BaseContract
!= null)
306
InvokeOnDeserialized(classContract.
BaseContract
);
352
currentContract = currentContract.
BaseContract
;
399
int memberCount = (classContract.
BaseContract
== null) ? 0 : ReadMembers(classContract.
BaseContract
, requiredMembers,
454
int memberCount = (contract.
BaseContract
== null) ? 0 : GetRequiredMembers(contract.
BaseContract
, requiredMembers);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (7)
227
if (classContract.
BaseContract
!= null)
228
InvokeOnSerializing(classContract.
BaseContract
);
240
if (classContract.
BaseContract
!= null)
241
InvokeOnSerialized(classContract.
BaseContract
);
301
int memberCount = (classContract.
BaseContract
== null) ? 0 :
302
WriteMembers(classContract.
BaseContract
, extensionDataLocal, derivedMostClassContract);
804
currentContract = currentContract.
BaseContract
;
System\Runtime\Serialization\XmlObjectSerializer.cs (2)
370
classContract = classContract.
BaseContract
;
375
classContract = classContract.
BaseContract
;
System\Runtime\Serialization\XPathQueryGenerator.cs (2)
82
if (contract.
BaseContract
!= null)
84
foreach (DataMember baseClassMember in GetDataMembers(contract.
BaseContract
))