5 writes to ItemContract
System.Runtime.Serialization (5)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1242
boundCollectionContract.
ItemContract
= this.ItemContract.BindGenericParameters(paramContracts, boundContracts);
System\Runtime\Serialization\SchemaImporter.cs (4)
1093
dataContract.
ItemContract
= ImportAnonymousElement(element, shortName);
1098
dataContract.
ItemContract
= ImportAnonymousElement(element, fullName);
1104
dataContract.
ItemContract
= ImportType(SchemaExporter.AnytypeQualifiedName);
1108
dataContract.
ItemContract
= ImportType(element.SchemaTypeName);
24 references to ItemContract
System.Runtime.Serialization (24)
System\Runtime\Serialization\CodeExporter.cs (5)
606
DataContract itemContract = collectionContract.
ItemContract
;
622
DataContract itemContract = collectionContract.
ItemContract
;
643
ClassDataContract itemContract = collectionContract.
ItemContract
as ClassDataContract;
1201
DataContract itemContract = collectionContract.
ItemContract
;
1210
GenerateKeyValueType(collectionContract.
ItemContract
as ClassDataContract);
System\Runtime\Serialization\CollectionDataContract.cs (10)
1242
boundCollectionContract.ItemContract = this.
ItemContract
.BindGenericParameters(paramContracts, boundContracts);
1243
boundCollectionContract.IsItemTypeNullable = !boundCollectionContract.
ItemContract
.IsValueType;
1244
boundCollectionContract.ItemName = ItemNameSetExplicit ? this.ItemName : boundCollectionContract.
ItemContract
.StableName.Name;
1248
IsCollectionDataContract(UnderlyingType) ? this.StableName.Namespace : DataContract.GetCollectionNamespace(boundCollectionContract.
ItemContract
.StableName.Namespace));
1405
bool thisItemTypeIsNullable = (
ItemContract
== null) ? false : !
ItemContract
.IsValueType;
1406
bool otherItemTypeIsNullable = (dataContract.
ItemContract
== null) ? false : !dataContract.
ItemContract
.IsValueType;
1409
ItemContract
.Equals(dataContract.
ItemContract
, checkedContracts);
System\Runtime\Serialization\DataContractSet.cs (2)
195
ClassDataContract keyValueContract = collectionDataContract.
ItemContract
as ClassDataContract;
287
return collectionContract.
ItemContract
;
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
309
DataContract itemContract = collectionDataContract.
ItemContract
;
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
779
ClassDataContract keyValueDataContract = (ClassDataContract)collectionContract.
ItemContract
;
System\Runtime\Serialization\SchemaExporter.cs (1)
380
ClassDataContract keyValueContract = collectionDataContract.
ItemContract
as ClassDataContract;
System\Runtime\Serialization\SchemaImporter.cs (4)
194
dataContract = ((CollectionDataContract)dataContract).
ItemContract
;
201
dataContract = ((CollectionDataContract)dataContract).
ItemContract
;
1113
ClassDataContract keyValueContract = dataContract.
ItemContract
as ClassDataContract;
1135
dataContract.
ItemContract
.StableName = new XmlQualifiedName(genericInfo.GetExpandedStableName().Name, typeName.Namespace);