public virtual void WriteThis()
 {
     this.Write(AbstractEmitterBlock.GetThisAlias(this.Emitter));
     this.Emitter.ThisRefCounter++;
 }
示例#2
0
 public override string VisitThisResolveResult(ThisResolveResult rr, object data)
 {
     return(CompileFactoryCall("Constant", new[] { typeof(object), typeof(Type) }, new[] { AbstractEmitterBlock.GetThisAlias(_emitter), ExpressionTreeBuilder.GetTypeName(rr.Type, this._emitter) }));
 }