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)
318ilg.ConvertValue(CodeGenerator.GetVariableType(pVar), typeof(object)); 2693Type varType = CodeGenerator.GetVariableType(variable); 2757System.Diagnostics.Debug.Assert(CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)).IsArray); 2774Type varType = CodeGenerator.GetVariableType(variable); 2802Type arrayElementType = CodeGenerator.GetVariableType(oVar).GetElementType()!; 2837Type 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!); 2513PropertyInfo propInfo = CodeGenerator.GetVariableType(fixup).GetProperty(vars[1])!; 2521initValue.ILG.ConvertValue(CodeGenerator.GetVariableType(sVar), localA.LocalType);