45 references to ConvertValue
System.Runtime.Serialization (45)
System\Runtime\Serialization\CodeGenerator.cs (5)
407
ConvertValue
(elementType, GetVariableType(local));
438
ConvertValue
(type, Globals.TypeOfObject);
440
ConvertValue
(type, Globals.TypeOfObject);
723
ConvertValue
(GetVariableType(value), objType);
1596
ConvertValue
(GetVariableType(arg), methodInfo.GetParameters()[oneBasedArgIndex - 1].ParameterType);
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (13)
160
ilg.
ConvertValue
(objectLocal.LocalType, Globals.TypeOfDateTimeOffsetAdapter);
162
ilg.
ConvertValue
(Globals.TypeOfDateTimeOffset, ilg.CurrentMethod.ReturnType);
166
ilg.
ConvertValue
(objectLocal.LocalType, ilg.CurrentMethod.ReturnType);
177
ilg.
ConvertValue
(objectLocal.LocalType, ilg.CurrentMethod.ReturnType);
291
ilg.
ConvertValue
(Globals.TypeOfObject, type);
338
ilg.
ConvertValue
(Globals.TypeOfObject, ilg.CurrentMethod.ReturnType);
404
ilg.
ConvertValue
(objectLocal.LocalType, Globals.TypeOfObject);
587
ilg.
ConvertValue
(Globals.TypeOfObject, type);
623
ilg.
ConvertValue
(Globals.TypeOfObject, type);
835
ilg.
ConvertValue
(Globals.TypeOfObject, keyType);
867
ilg.
ConvertValue
(Globals.TypeOfObject, type);
978
ilg.
ConvertValue
(typeof(XmlReaderDelegator), typeof(JsonReaderDelegator));
1004
ilg.
ConvertValue
(Globals.TypeOfObject, itemType);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (8)
181
ilg.
ConvertValue
(objectArg.ArgType, Globals.TypeOfDateTimeOffset);
186
ilg.
ConvertValue
(objectArg.ArgType, objType);
270
ilg.
ConvertValue
(objectLocal.LocalType, Globals.TypeOfIExtensibleDataObject);
465
ilg.
ConvertValue
(collectionContract.GetEnumeratorMethod.ReturnType, Globals.TypeOfIDictionaryEnumerator);
472
ilg.
ConvertValue
(collectionContract.GetEnumeratorMethod.ReturnType, ctorParam);
527
ilg.
ConvertValue
(currentValue.LocalType, Globals.TypeOfObject);
711
ilg.
ConvertValue
(memberValue.LocalType, Globals.TypeOfObject);
734
ilg.
ConvertValue
(memberValue.LocalType, Globals.TypeOfObject);
System\Runtime\Serialization\XmlDataContract.cs (1)
369
ilg.
ConvertValue
(this.UnderlyingType, Globals.TypeOfIXmlSerializable);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (10)
171
ilg.
ConvertValue
(objectLocal.LocalType, Globals.TypeOfDateTimeOffsetAdapter);
173
ilg.
ConvertValue
(Globals.TypeOfDateTimeOffset, ilg.CurrentMethod.ReturnType);
177
ilg.
ConvertValue
(objectLocal.LocalType, ilg.CurrentMethod.ReturnType);
188
ilg.
ConvertValue
(objectLocal.LocalType, ilg.CurrentMethod.ReturnType);
284
ilg.
ConvertValue
(Globals.TypeOfObject, type);
331
ilg.
ConvertValue
(Globals.TypeOfObject, ilg.CurrentMethod.ReturnType);
543
ilg.
ConvertValue
(Globals.TypeOfObject, type);
578
ilg.
ConvertValue
(Globals.TypeOfObject, type);
746
ilg.
ConvertValue
(Globals.TypeOfObject, type);
855
ilg.
ConvertValue
(Globals.TypeOfObject, itemType);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (8)
177
ilg.
ConvertValue
(objectArg.ArgType, Globals.TypeOfDateTimeOffset);
182
ilg.
ConvertValue
(objectArg.ArgType, objType);
287
ilg.
ConvertValue
(objectLocal.LocalType, Globals.TypeOfIExtensibleDataObject);
500
ilg.
ConvertValue
(collectionContract.GetEnumeratorMethod.ReturnType, Globals.TypeOfIDictionaryEnumerator);
507
ilg.
ConvertValue
(collectionContract.GetEnumeratorMethod.ReturnType, ctorParam);
526
ilg.
ConvertValue
(currentValue.LocalType, Globals.TypeOfObject);
688
ilg.
ConvertValue
(memberValue.LocalType, Globals.TypeOfObject);
711
ilg.
ConvertValue
(memberValue.LocalType, Globals.TypeOfObject);