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