TranslateToILSet() private method

private TranslateToILSet ( ILGenerator il, AST rhvalue ) : void
il System.Reflection.Emit.ILGenerator
rhvalue AST
return void
 internal override void TranslateToIL(ILGenerator il, Type rtype)
 {
     if (this.initializer != null)
     {
         if (base.context.document.debugOn && (this.initializer.context != null))
         {
             base.context.EmitLineInfo(il);
         }
         Lookup identifier = this.identifier;
         identifier.TranslateToILPreSet(il, true);
         identifier.TranslateToILSet(il, true, this.initializer);
     }
 }
        internal override void TranslateToIL(ILGenerator il, Type rtype)
        {
            //This assumes that rtype == Void.class

            //If the initializer is missing. Do nothing, we're done.
            if (this.initializer == null)
            {
                return;
            }

            // this.initializer.context can be null when a default initializer is forced in the variable (i.e. for_in case)
            if (this.context.document.debugOn && this.initializer.context != null)
            {
                this.context.EmitLineInfo(il);
            }

            Lookup id = (Lookup)this.identifier;

            id.TranslateToILPreSet(il, true);
            id.TranslateToILSet(il, true, this.initializer);
        }