19 references to GetVariableType
System.Private.Xml (19)
System\Xml\Serialization\CodeGenerator.cs (5)
291Type varType = GetVariableType(forState.End); 444Type objType = GetVariableType(obj).GetElementType()!; 458Type arrayType = GetVariableType(obj); 472ConvertValue(GetVariableType(value), objType); 488if (GetVariableType(obj).IsValueType)
System\Xml\Serialization\SourceInfo.cs (3)
74Type varType = CodeGenerator.GetVariableType(varA); 148varType = CodeGenerator.GetVariableType(var); 157varType = CodeGenerator.GetVariableType(var);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (6)
394ilg.ConvertValue(CodeGenerator.GetVariableType(pVar), typeof(object)); 2809Type varType = CodeGenerator.GetVariableType(variable); 2873System.Diagnostics.Debug.Assert(CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)).IsArray); 2890Type varType = CodeGenerator.GetVariableType(variable); 2918Type arrayElementType = CodeGenerator.GetVariableType(oVar).GetElementType()!; 2953Type varType = CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups["a"].Value));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
330ilg.ConvertValue(CodeGenerator.GetVariableType(oVar), typeof(object)); 758Type oType = CodeGenerator.GetVariableType(oVar); 841ilg.ConvertValue(CodeGenerator.GetVariableType(oVar), mapping.TypeDesc.Type!); 2556PropertyInfo propInfo = CodeGenerator.GetVariableType(fixup).GetProperty(vars[1])!; 2564initValue.ILG.ConvertValue(CodeGenerator.GetVariableType(sVar), localA.LocalType);