public void EmitLoadTarget(ILBuilder il)
 {
     this.Place.EmitLoad(il);
     il.EmitOpCode(ILOpCode.Ldfld);
     il.EmitSymbolToken(_factory._cg.Module, _factory._cg.Diagnostics, _target, null);
 }
Beispiel #2
0
 /// <summary>
 /// Emits load of PhpValue representing void.
 /// </summary>
 static TypeSymbol Emit_PhpValue_Void(ILBuilder il, Emit.PEModuleBuilder module, DiagnosticBag diagnostic)
 {
     il.EmitOpCode(ILOpCode.Ldsfld);
     il.EmitSymbolToken(module, diagnostic, module.Compilation.CoreMethods.PhpValue.Void, null);
     return module.Compilation.CoreTypes.PhpValue;
 }