51 references to ConvertValue
System.Private.DataContractSerialization (51)
System\Runtime\Serialization\CodeGenerator.cs (5)
292ConvertValue(elementType, GetVariableType(local)); 323ConvertValue(type, Globals.TypeOfObject); 325ConvertValue(type, Globals.TypeOfObject); 558ConvertValue(GetVariableType(value), objType); 1117ConvertValue(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)
327ilg.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);