19 references to GetVariableType
System.Private.Xml (19)
System\Xml\Serialization\CodeGenerator.cs (5)
291Type varType = GetVariableType(forState.End); 443Type objType = GetVariableType(obj).GetElementType()!; 457Type arrayType = GetVariableType(obj); 471ConvertValue(GetVariableType(value), objType); 487if (GetVariableType(obj).IsValueType)
System\Xml\Serialization\SourceInfo.cs (3)
76Type varType = CodeGenerator.GetVariableType(varA); 150varType = CodeGenerator.GetVariableType(var); 159varType = CodeGenerator.GetVariableType(var);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (6)
321ilg.ConvertValue(CodeGenerator.GetVariableType(pVar), typeof(object)); 2721Type varType = CodeGenerator.GetVariableType(variable); 2785System.Diagnostics.Debug.Assert(CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)).IsArray); 2804Type varType = CodeGenerator.GetVariableType(variable); 2832Type arrayElementType = CodeGenerator.GetVariableType(oVar).GetElementType()!; 2867Type varType = CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups["a"].Value));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
340ilg.ConvertValue(CodeGenerator.GetVariableType(oVar), typeof(object)); 772Type oType = CodeGenerator.GetVariableType(oVar); 856ilg.ConvertValue(CodeGenerator.GetVariableType(oVar), mapping.TypeDesc.Type!); 2545PropertyInfo propInfo = CodeGenerator.GetVariableType(fixup).GetProperty(vars[1])!; 2553initValue.ILG.ConvertValue(CodeGenerator.GetVariableType(sVar), localA.LocalType);