51 references to ConvertValue
System.Private.DataContractSerialization (51)
System\Runtime\Serialization\CodeGenerator.cs (5)
292
ConvertValue
(elementType, GetVariableType(local));
323
ConvertValue
(type, Globals.TypeOfObject);
325
ConvertValue
(type, Globals.TypeOfObject);
558
ConvertValue
(GetVariableType(value), objType);
1117
ConvertValue
(GetVariableType(arg), methodInfo.GetParameters()[oneBasedArgIndex - 1].ParameterType);
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (15)
107
_ilg.
ConvertValue
(_objectLocal.LocalType, Globals.TypeOfDateTimeOffsetAdapter);
109
_ilg.
ConvertValue
(Globals.TypeOfDateTimeOffset, _ilg.CurrentMethod.ReturnType);
113
_ilg.
ConvertValue
(_objectLocal.LocalType, Globals.TypeOfMemoryStreamAdapter);
115
_ilg.
ConvertValue
(Globals.TypeOfMemoryStream, _ilg.CurrentMethod.ReturnType);
119
_ilg.
ConvertValue
(_objectLocal.LocalType, _ilg.CurrentMethod.ReturnType);
132
_ilg.
ConvertValue
(_objectLocal.LocalType, _ilg.CurrentMethod.ReturnType);
227
_ilg.
ConvertValue
(Globals.TypeOfObject, type);
274
_ilg.
ConvertValue
(Globals.TypeOfObject, _ilg.CurrentMethod.ReturnType);
347
_ilg.
ConvertValue
(_objectLocal.LocalType, Globals.TypeOfObject);
536
_ilg.
ConvertValue
(Globals.TypeOfObject, type);
576
_ilg.
ConvertValue
(Globals.TypeOfObject, type);
796
_ilg.
ConvertValue
(Globals.TypeOfObject, keyType);
830
_ilg.
ConvertValue
(Globals.TypeOfObject, type);
946
_ilg.
ConvertValue
(typeof(XmlReaderDelegator), typeof(JsonReaderDelegator));
974
_ilg.
ConvertValue
(Globals.TypeOfObject, itemType);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (9)
142
_ilg.
ConvertValue
(objectArg.ArgType, Globals.TypeOfDateTimeOffset);
147
_ilg.
ConvertValue
(objectArg.ArgType, Globals.TypeOfMemoryStream);
152
_ilg.
ConvertValue
(objectArg.ArgType, objType);
215
_ilg.
ConvertValue
(_objectLocal.LocalType, Globals.TypeOfIExtensibleDataObject);
421
_ilg.
ConvertValue
(collectionContract.GetEnumeratorMethod.ReturnType, Globals.TypeOfIDictionaryEnumerator);
429
_ilg.
ConvertValue
(collectionContract.GetEnumeratorMethod.ReturnType, ctorParam);
485
_ilg.
ConvertValue
(currentValue.LocalType, Globals.TypeOfObject);
680
_ilg.
ConvertValue
(memberValue.LocalType, Globals.TypeOfObject);
703
_ilg.
ConvertValue
(memberValue.LocalType, Globals.TypeOfObject);
System\Runtime\Serialization\XmlDataContract.cs (1)
327
ilg.
ConvertValue
(this.UnderlyingType, Globals.TypeOfIXmlSerializable);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (12)
144
_ilg.
ConvertValue
(_objectLocal.LocalType, Globals.TypeOfDateTimeOffsetAdapter);
146
_ilg.
ConvertValue
(Globals.TypeOfDateTimeOffset, _ilg.CurrentMethod.ReturnType);
150
_ilg.
ConvertValue
(_objectLocal.LocalType, Globals.TypeOfMemoryStreamAdapter);
152
_ilg.
ConvertValue
(Globals.TypeOfMemoryStream, _ilg.CurrentMethod.ReturnType);
156
_ilg.
ConvertValue
(_objectLocal.LocalType, _ilg.CurrentMethod.ReturnType);
183
_ilg.
ConvertValue
(_objectLocal.LocalType, _ilg.CurrentMethod.ReturnType);
283
_ilg.
ConvertValue
(Globals.TypeOfObject, type);
340
_ilg.
ConvertValue
(Globals.TypeOfObject, _ilg.CurrentMethod.ReturnType);
573
_ilg.
ConvertValue
(Globals.TypeOfObject, type);
609
_ilg.
ConvertValue
(Globals.TypeOfObject, type);
786
_ilg.
ConvertValue
(Globals.TypeOfObject, type);
901
_ilg.
ConvertValue
(Globals.TypeOfObject, itemType);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (9)
170
_ilg.
ConvertValue
(objectArg.ArgType, Globals.TypeOfDateTimeOffset);
175
_ilg.
ConvertValue
(objectArg.ArgType, Globals.TypeOfMemoryStream);
180
_ilg.
ConvertValue
(objectArg.ArgType, objType);
273
_ilg.
ConvertValue
(_objectLocal.LocalType, Globals.TypeOfIExtensibleDataObject);
499
_ilg.
ConvertValue
(collectionContract.GetEnumeratorMethod.ReturnType, Globals.TypeOfIDictionaryEnumerator);
506
_ilg.
ConvertValue
(collectionContract.GetEnumeratorMethod.ReturnType, ctorParam);
525
_ilg.
ConvertValue
(currentValue.LocalType, Globals.TypeOfObject);
693
_ilg.
ConvertValue
(memberValue.LocalType, Globals.TypeOfObject);
716
_ilg.
ConvertValue
(memberValue.LocalType, Globals.TypeOfObject);