5 writes to ItemContract
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1400
boundCollectionContract.
ItemContract
= ItemContract.BindGenericParameters(paramContracts, boundContracts);
System\Runtime\Serialization\SchemaImporter.cs (4)
1084
dataContract.
ItemContract
= ImportAnonymousElement(element, shortName);
1089
dataContract.
ItemContract
= ImportAnonymousElement(element, fullName);
1095
dataContract.
ItemContract
= ImportType(SchemaExporter.AnytypeQualifiedName);
1099
dataContract.
ItemContract
= ImportType(element.SchemaTypeName);
26 references to ItemContract
System.Private.DataContractSerialization (26)
System\Runtime\Serialization\CollectionDataContract.cs (12)
203
get =>
ItemContract
;
1400
boundCollectionContract.ItemContract =
ItemContract
.BindGenericParameters(paramContracts, boundContracts);
1401
boundCollectionContract.IsItemTypeNullable = !boundCollectionContract.
ItemContract
.IsValueType;
1402
boundCollectionContract.ItemName = ItemNameSetExplicit ? ItemName : boundCollectionContract.
ItemContract
.XmlName.Name;
1406
IsCollectionDataContract(UnderlyingType) ? XmlName.Namespace : DataContract.GetCollectionNamespace(boundCollectionContract.
ItemContract
.XmlName.Namespace));
1542
bool thisItemTypeIsNullable = (
ItemContract
== null) ? false : !
ItemContract
.IsValueType;
1543
bool otherItemTypeIsNullable = (dataContract.
ItemContract
== null) ? false : !dataContract.
ItemContract
.IsValueType;
1546
ItemContract
!= null &&
ItemContract
.Equals(dataContract.
ItemContract
, checkedContracts);
System\Runtime\Serialization\DataContractSet.cs (2)
181
ClassDataContract keyValueContract = (collectionDataContract.
ItemContract
as ClassDataContract)!;
297
return collectionContract.
ItemContract
;
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
290
DataContract itemContract = collectionDataContract.
ItemContract
;
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
740
ClassDataContract keyValueDataContract = (ClassDataContract)collectionContract.
ItemContract
;
System\Runtime\Serialization\Json\ReflectionJsonFormatReader.cs (2)
124
var itemContract = XmlObjectSerializerWriteContextComplexJson.GetRevisedItemContract(collectionContract.
ItemContract
);
160
ClassDataContract keyValueDataContract = (ClassDataContract)collectionContract.
ItemContract
;
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (1)
108
itemContract = XmlObjectSerializerWriteContextComplexJson.GetRevisedItemContract(collectionContract.
ItemContract
);
System\Runtime\Serialization\ReflectionXmlFormatReader.cs (1)
128
return collectionContract.
ItemContract
.ReadXmlValue(xmlReader, context);
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (1)
81
collectionDataContract.
ItemContract
.WriteXmlValue(xmlWriter, current, context);
System\Runtime\Serialization\SchemaExporter.cs (1)
381
ClassDataContract keyValueContract = (collectionDataContract.
ItemContract
as ClassDataContract)!;
System\Runtime\Serialization\SchemaImporter.cs (4)
192
dataContract = ((CollectionDataContract)dataContract).
ItemContract
;
199
dataContract = ((CollectionDataContract)dataContract).
ItemContract
;
1104
ClassDataContract? keyValueContract = dataContract.
ItemContract
as ClassDataContract;
1126
dataContract.
ItemContract
.XmlName = new XmlQualifiedName(genericInfo.GetExpandedXmlName().Name, typeName.Namespace);