31 references to ItemType
System.Runtime.Serialization (31)
System\Runtime\Serialization\CollectionDataContract.cs (7)
284
XmlDictionaryString tempChildElementNamespace = ClassDataContract.GetChildNamespaceToDeclare(this,
ItemType
, new XmlDictionary());
1320
if (
ItemType
!= null && !IsTypeVisible(
ItemType
))
1327
DataContract.GetClrTypeFullName(
ItemType
)),
1379
if (
ItemType
!= null && !IsTypeVisible(
ItemType
))
1386
DataContract.GetClrTypeFullName(
ItemType
)),
System\Runtime\Serialization\DataContractSet.cs (2)
285
if (collectionContract.
ItemType
!= null)
286
return GetDataContract(collectionContract.
ItemType
);
System\Runtime\Serialization\Json\JsonDataContract.cs (3)
320
if (collectionDataContract.
ItemType
.IsGenericType
321
&& collectionDataContract.
ItemType
.GetGenericTypeDefinition() == typeof(KeyValue<,>))
323
DataContract itemDataContract = DataContract.GetDataContract(Globals.TypeOfKeyValuePair.MakeGenericType(collectionDataContract.
ItemType
.GetGenericArguments()));
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
644
Type itemType = collectionContract.
ItemType
;
860
Type itemType = collectionContract.
ItemType
;
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (5)
359
Type itemType = collectionContract.
ItemType
;
392
incrementCollectionCountMethod = XmlFormatGeneratorStatics.IncrementCollectionCountGenericMethod.MakeGenericMethod(collectionContract.
ItemType
);
395
incrementCollectionCountMethod = XmlFormatGeneratorStatics.IncrementCollectionCountGenericMethod.MakeGenericMethod(Globals.TypeOfKeyValuePair.MakeGenericType(collectionContract.
ItemType
.GetGenericArguments()));
409
keyValueTypes = collectionContract.
ItemType
.GetGenericArguments();
444
&& interfaceType.GetGenericArguments()[0] == collectionContract.
ItemType
)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (4)
395
if (collectionContract.
ItemType
.IsGenericType
396
&& collectionContract.
ItemType
.GetGenericTypeDefinition() == typeof(KeyValue<,>))
398
itemContract = context.GetDataContract(Globals.TypeOfKeyValuePair.MakeGenericType(collectionContract.
ItemType
.GetGenericArguments()));
402
itemContract = context.GetDataContract(context.GetSurrogatedType(collectionContract.
ItemType
));
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
599
Type itemType = collectionContract.
ItemType
;
738
Type itemType = collectionContract.
ItemType
;
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (5)
396
Type itemType = collectionContract.
ItemType
;
428
incrementCollectionCountMethod = XmlFormatGeneratorStatics.IncrementCollectionCountGenericMethod.MakeGenericMethod(collectionContract.
ItemType
);
431
incrementCollectionCountMethod = XmlFormatGeneratorStatics.IncrementCollectionCountGenericMethod.MakeGenericMethod(Globals.TypeOfKeyValuePair.MakeGenericType(collectionContract.
ItemType
.GetGenericArguments()));
445
keyValueTypes = collectionContract.
ItemType
.GetGenericArguments();
480
&& interfaceType.GetGenericArguments()[0] == collectionContract.
ItemType
)
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
357
DataContract itemContract = GetDataContract(GetSurrogatedType(collectionContract.
ItemType
));