EmitStindHelper() 보호된 메소드

protected EmitStindHelper ( Type type, Operand value, bool allowExplicitConversion ) : void
type IKVM.Reflection.Type
value Operand
allowExplicitConversion bool
리턴 void
예제 #1
0
 internal override void EmitSet(CodeGen g, Operand value, bool allowExplicitConversion)
 {
     if (IsReference)
     {
         g.EmitLdargHelper(index);
         g.EmitStindHelper(Type, value, allowExplicitConversion);
     }
     else
     {
         g.EmitGetHelper(value, Type, allowExplicitConversion);
         g.EmitStargHelper(index);
     }
 }
예제 #2
0
 internal override void EmitSet(CodeGen g, Operand value, bool allowExplicitConversion)
 {
     if (IsReference)
     {
         g.EmitLdargHelper(_index);
         g.EmitStindHelper(GetReturnType(g.TypeMapper), value, allowExplicitConversion);
     }
     else
     {
         g.EmitGetHelper(value, GetReturnType(g.TypeMapper), allowExplicitConversion);
         g.EmitStargHelper(_index);
     }
 }
예제 #3
0
 protected internal override void EmitSet(CodeGen g, Operand value, bool allowExplicitConversion)
 {
     OperandExtensions.SetLeakedState(this, false);
     if (IsReference)
     {
         g.EmitLdargHelper(_index);
         g.EmitStindHelper(GetReturnType(g.TypeMapper), value, allowExplicitConversion);
     }
     else
     {
         g.EmitGetHelper(value, GetReturnType(g.TypeMapper), allowExplicitConversion);
         g.EmitStargHelper(_index);
     }
 }
			internal override void EmitSet(CodeGen g, Operand value, bool allowExplicitConversion)
			{
				if (IsReference)
				{
					g.EmitLdargHelper(index);
					g.EmitStindHelper(Type, value, allowExplicitConversion);
				}
				else
				{
					g.EmitGetHelper(value, Type, allowExplicitConversion);
					g.EmitStargHelper(index);
				}
			}
예제 #5
0
		    protected internal override void EmitSet(CodeGen g, Operand value, bool allowExplicitConversion)
		    {
		        OperandExtensions.SetLeakedState(this, false); 
				if (IsReference)
				{
					g.EmitLdargHelper(_index);
					g.EmitStindHelper(GetReturnType(g.TypeMapper), value, allowExplicitConversion);
				}
				else
				{
					g.EmitGetHelper(value, GetReturnType(g.TypeMapper), allowExplicitConversion);
					g.EmitStargHelper(_index);
				}
			}