Boo.Lang.Compiler.Steps.EmitAssembly.EmitBoxIfNeeded C# (CSharp) Method

EmitBoxIfNeeded() private method

private EmitBoxIfNeeded ( IType expectedType, IType actualType ) : void
expectedType IType
actualType IType
return void
        private void EmitBoxIfNeeded(IType expectedType, IType actualType)
        {
            if ((actualType.IsValueType && !expectedType.IsValueType)
                || (actualType is IGenericParameter && !(expectedType is IGenericParameter)))
                EmitBox(actualType);
        }
EmitAssembly