20 references to GetVariableType
System.Xml (20)
System\Xml\Serialization\CodeGenerator.cs (5)
312Type varType = GetVariableType(forState.End); 652Type objType = GetVariableType(obj).GetElementType(); 664Type arrayType = GetVariableType(obj); 676ConvertValue(GetVariableType(value), objType); 689if (GetVariableType(obj).IsValueType)
System\Xml\Serialization\SourceInfo.cs (3)
66Type varType = ILG.GetVariableType(varA); 130varType = ILG.GetVariableType(var); 138varType = ILG.GetVariableType(var);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (7)
317ilg.ConvertValue(ilg.GetVariableType(pVar), typeof(object)); 2719Type varType = ilg.GetVariableType(variable); 2781System.Diagnostics.Debug.Assert(ilg.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)).IsArray); 2795Type varType = ilg.GetVariableType(variable); 2820Type arrayElementType = ilg.GetVariableType(oVar).GetElementType(); 2854Type varType = ilg.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)); 3576ilg.ConvertValue(ilg.GetVariableType(idVar), typeof(string));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
309ilg.ConvertValue(ilg.GetVariableType(oVar), typeof(Object)); 712Type oType = ilg.GetVariableType(oVar); 798ilg.ConvertValue(ilg.GetVariableType(oVar), mapping.TypeDesc.Type); 2387PropertyInfo propInfo = initValue.ILG.GetVariableType(fixup).GetProperty(vars[1]); 2394initValue.ILG.ConvertValue(initValue.ILG.GetVariableType(sVar), localA.LocalType);