46 references to ConvertValue
System.Xml (46)
System\Xml\Serialization\CodeGenerator.cs (1)
676
ConvertValue
(GetVariableType(value), objType);
System\Xml\Serialization\SourceInfo.cs (4)
86
ILG.
ConvertValue
(eType, elementType);
174
ILG.
ConvertValue
(varType, Type);
187
ILG.
ConvertValue
(sourceType, targetType);
203
ILG.
ConvertValue
(Nullable_get_Value.ReturnType, targetType);
System\Xml\Serialization\XmlSerializationILGen.cs (2)
359
ilg.
ConvertValue
(typeof(object), typeof(object[]));
572
ilg.
ConvertValue
(memType, type);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (26)
317
ilg.
ConvertValue
(ilg.GetVariableType(pVar), typeof(object));
637
ilg.
ConvertValue
(mappings[i].TypeDesc.Type, typeof(object));
1023
ilg.
ConvertValue
(mapping.TypeDesc.Type, typeof(long));
1024
ilg.
ConvertValue
(typeof(long), typeof(Object));
1086
ilg.
ConvertValue
(typeof(long), underlyingType);
1188
ilg.
ConvertValue
(methodBuilder.ReturnType, ilg.ReturnLocal.LocalType);
1254
ilg.
ConvertValue
(methodBuilder.ReturnType, eLoc.LocalType);
2037
ilg.
ConvertValue
(XmlDocument_ReadNode.ReturnType, localAttr.LocalType);
2056
ilg.
ConvertValue
(firstParam.LocalType, typeof(object));
2116
ilg.
ConvertValue
(attrLoc.LocalType, typeof(XmlAttribute));
2683
ilg.
ConvertValue
(XmlSerializationReader_ShrinkArray.ReturnType, typeDesc.Type);
2697
ilg.
ConvertValue
(XmlSerializationReader_ShrinkArray.ReturnType, member.Mapping.ChoiceIdentifier.Mapping.TypeDesc.Type.MakeArrayType());
2801
ilg.
ConvertValue
(stackType, elementType);
2802
ilg.
ConvertValue
(elementType, varType);
2811
ilg.
ConvertValue
(stackType, memInfo.MemberType == MemberTypes.Field ? ((FieldInfo)memInfo).FieldType : ((PropertyInfo)memInfo).PropertyType);
2821
ilg.
ConvertValue
(elementType, arrayElementType);
2844
ilg.
ConvertValue
(stackType, addParameterType);
2857
ilg.
ConvertValue
(stackType, varElementType);
3264
ilg.
ConvertValue
(typeof(object), typeof(IXmlSerializable));
3270
ilg.
ConvertValue
(typeof(IXmlSerializable), sm.TypeDesc.Type);
3330
ilg.
ConvertValue
(typeof(object), typeof(IXmlSerializable));
3336
ilg.
ConvertValue
(typeof(IXmlSerializable), head.TypeDesc.Type);
3576
ilg.
ConvertValue
(ilg.GetVariableType(idVar), typeof(string));
3623
ilg.
ConvertValue
(localO.LocalType, typeof(object));
3635
ilg.
ConvertValue
(localO.LocalType, typeof(object));
3647
ilg.
ConvertValue
(localO.LocalType, typeof(object));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (13)
309
ilg.
ConvertValue
(ilg.GetVariableType(oVar), typeof(Object));
675
ilg.
ConvertValue
(mapping.TypeDesc.Type, typeof(Int64));
714
ilg.
ConvertValue
(oType, derived.TypeDesc.Type);
798
ilg.
ConvertValue
(ilg.GetVariableType(oVar), mapping.TypeDesc.Type);
968
ilg.
ConvertValue
(oArg.ArgType, typeof(Object));
1003
ilg.
ConvertValue
(argO.ArgType, typeof(Object));
1338
ilg.
ConvertValue
(ilg.GetArg(parent).ArgType, typeof(Object));
1465
ilg.
ConvertValue
(arrayTypeDesc.Type, typeIEnumerable);
1469
ilg.
ConvertValue
(getEnumeratorMethod.ReturnType, typeof(IEnumerator));
2241
ilg.
ConvertValue
(argV.ArgType, typeof(long));
2365
ilg.
ConvertValue
(Activator_CreateInstance.ReturnType, cast);
2389
initValue.ILG.
ConvertValue
(propInfo.PropertyType, localA.LocalType);
2394
initValue.ILG.
ConvertValue
(initValue.ILG.GetVariableType(sVar), localA.LocalType);