1 write to ILG
System.Private.Xml (1)
System\Xml\Serialization\SourceInfo.cs (1)
47
this.
ILG
= ilg;
45 references to ILG
System.Private.Xml (45)
System\Xml\Serialization\SourceInfo.cs (32)
52
return new SourceInfo($"(({td.CSharpName}){Source})", Arg, MemberInfo, td.Type!,
ILG
);
73
object varA =
ILG
.GetVariable(match.Groups["a"].Value);
75
object varIA =
ILG
.GetVariable(match.Groups["ia"].Value);
78
ILG
.Load(varA);
79
ILG
.Load(varIA);
83
ILG
.Ldelema(eType);
90
ILG
.Ldelema(eType);
93
ILG
.Ldobj(eType);
97
ILG
.Ldelem(eType);
99
ILG
.ConvertValue(eType, elementType);
104
ILG
.LoadAddress(varA);
105
ILG
.Load(varIA);
118
ILG
.Call(get_Item);
122
LocalBuilder localTmp =
ILG
.GetTempLocal(eType);
123
ILG
.Stloc(localTmp);
124
ILG
.Ldloca(localTmp);
139
ILG
.Load(null);
147
var =
ILG
.GetVariable(Arg.StartsWith("o.@", StringComparison.Ordinal) ? "o" : Arg);
150
ILG
.LoadAddress(var);
152
ILG
.Load(var);
156
var =
ILG
.GetVariable(Arg);
162
ILG
.LoadAddress(var);
168
ILG
.LoadAddress(var);
170
ILG
.Load(var);
180
ILG
.LoadMemberAddress(MemberInfo);
185
ILG
.LoadMember(MemberInfo);
197
ILG
.ConvertAddress(varType, Type!);
199
ILG
.ConvertValue(varType, Type!);
212
ILG
.ConvertAddress(sourceType, targetType);
214
ILG
.ConvertValue(sourceType, targetType);
230
ILG
.Call(Nullable_get_Value);
233
ILG
.ConvertValue(Nullable_get_Value.ReturnType, targetType);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (13)
2490
LocalBuilder localA = initValue.
ILG
.DeclareOrGetLocal(localType, variableName);
2495
initValue.
ILG
.Load(null);
2503
initValue.
ILG
.LoadMember(initValue.
ILG
.GetLocal("o"), initValue.MemberInfo);
2512
object fixup = initValue.
ILG
.GetVariable(vars[0]);
2514
initValue.
ILG
.LoadMember(fixup, propInfo);
2515
initValue.
ILG
.ConvertValue(propInfo.PropertyType, localA.LocalType);
2519
object sVar = initValue.
ILG
.GetVariable(initValue.Arg);
2520
initValue.
ILG
.Load(sVar);
2521
initValue.
ILG
.ConvertValue(CodeGenerator.GetVariableType(sVar), localA.LocalType);
2524
initValue.
ILG
.Stloc(localA);
2552
LocalBuilder local = initValue.
ILG
.DeclareOrGetLocal(localType, variableName);
2554
initValue.
ILG
.Stloc(local);