1 write to ILG
System.Xml (1)
System\Xml\Serialization\SourceInfo.cs (1)
47
this.
ILG
= ilg;
50 references to ILG
System.Xml (50)
System\Xml\Serialization\SourceInfo.cs (35)
51
return new SourceInfo("((" + td.CSharpName + ")" + Source + ")", Arg, MemberInfo, td.Type,
ILG
);
65
object varA =
ILG
.GetVariable(match.Groups["a"].Value);
66
Type varType =
ILG
.GetVariableType(varA);
67
object varIA =
ILG
.GetVariable(match.Groups["ia"].Value);
69
ILG
.Load(varA);
70
ILG
.Load(varIA);
73
ILG
.Ldelema(eType);
78
ILG
.Ldelema(eType);
80
ILG
.Ldobj(eType);
84
ILG
.Ldelem(eType);
86
ILG
.ConvertValue(eType, elementType);
90
ILG
.Load(varA);
91
ILG
.Load(varIA);
106
ILG
.Call(get_Item);
109
LocalBuilder localTmp =
ILG
.GetTempLocal(eType);
110
ILG
.Stloc(localTmp);
111
ILG
.Ldloca(localTmp);
123
ILG
.Load(null);
129
var =
ILG
.GetVariable(Arg.StartsWith("o.@", StringComparison.Ordinal) ? "o" : Arg);
130
varType =
ILG
.GetVariableType(var);
132
ILG
.LoadAddress(var);
134
ILG
.Load(var);
137
var =
ILG
.GetVariable(Arg);
138
varType =
ILG
.GetVariableType(var);
143
ILG
.LoadAddress(var);
148
ILG
.LoadAddress(var);
150
ILG
.Load(var);
158
ILG
.LoadMemberAddress(MemberInfo);
162
ILG
.LoadMember(MemberInfo);
172
ILG
.ConvertAddress(varType, Type);
174
ILG
.ConvertValue(varType, Type);
185
ILG
.ConvertAddress(sourceType, targetType);
187
ILG
.ConvertValue(sourceType, targetType);
201
ILG
.Call(Nullable_get_Value);
203
ILG
.ConvertValue(Nullable_get_Value.ReturnType, targetType);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (15)
2370
LocalBuilder localA = initValue.
ILG
.DeclareOrGetLocal(localType, variableName);
2373
initValue.
ILG
.Load(null);
2379
initValue.
ILG
.LoadMember(initValue.
ILG
.GetLocal("o"), initValue.MemberInfo);
2386
object fixup = initValue.
ILG
.GetVariable(vars[0]);
2387
PropertyInfo propInfo = initValue.
ILG
.GetVariableType(fixup).GetProperty(vars[1]);
2388
initValue.
ILG
.LoadMember(fixup, propInfo);
2389
initValue.
ILG
.ConvertValue(propInfo.PropertyType, localA.LocalType);
2392
object sVar = initValue.
ILG
.GetVariable(initValue.Arg);
2393
initValue.
ILG
.Load(sVar);
2394
initValue.
ILG
.ConvertValue(initValue.
ILG
.GetVariableType(sVar), localA.LocalType);
2397
initValue.
ILG
.Stloc(localA);
2421
LocalBuilder local = initValue.
ILG
.DeclareOrGetLocal(localType, variableName);
2424
initValue.
ILG
.Stloc(local);