8 references to TypeOfKeyValuePair
dotnet-svcutil-lib (8)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (1)
1354
_keyValuePairCtorInfo = type.GetConstructor(Globals.ScanAllMembers, new Type[] { Globals.
TypeOfKeyValuePair
.MakeGenericType(_keyValuePairGenericArguments) });
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
1041
getEnumeratorMethod = Globals.TypeOfIEnumerableGeneric.MakeGenericType(Globals.
TypeOfKeyValuePair
.MakeGenericType(genericArgs)).GetMethod(Globals.GetEnumeratorMethodName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (2)
791
if (type.GetTypeInfo().IsGenericType && type.GetGenericTypeDefinition() == Globals.
TypeOfKeyValuePair
)
2144
DataContract itemDataContract = DataContract.GetDataContract(Globals.
TypeOfKeyValuePair
.MakeGenericType(collectionDataContract.ItemType.GetGenericArguments()));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
135
_ilg.ConvertValue(Globals.
TypeOfKeyValuePair
.MakeGenericType(classContract.KeyValuePairGenericArguments), _ilg.CurrentMethod.ReturnType);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatWriterGenerator.cs (3)
151
_ilg.ConvertValue(objectArg.ArgType, Globals.
TypeOfKeyValuePair
.MakeGenericType(dc.KeyValuePairGenericArguments));
351
incrementCollectionCountMethod = XmlFormatGeneratorStatics.IncrementCollectionCountGenericMethod.MakeGenericMethod(Globals.
TypeOfKeyValuePair
.MakeGenericType(collectionContract.ItemType.GetGenericArguments()));
425
Type ctorParam = Globals.TypeOfIEnumeratorGeneric.MakeGenericType(Globals.
TypeOfKeyValuePair
.MakeGenericType(keyValueTypes));