// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using Xunit;
public class Padre
{
    private double _x = 10;
    public virtual void Incrementa(double a)
    {
        _x = _x + a;
    }
    public void print() { Console.WriteLine(_x); }
}

public class Hijo : Padre
{
    public override void Incrementa(double a)
    {
        double b = a + (a * 0.1);

        Console.WriteLine(b);
        base.Incrementa(b);
    }
}
public class Test_b64579
{
    [Fact]
    public static void TestEntryPoint()
    {
        Hijo h = new Hijo();
        h.Incrementa(1.0);
        h.print();
    }
}
