Pvs studio V3125假阳性

Pvs studio V3125假阳性,pvs-studio,Pvs Studio,PVS Studio抛出V3125:“control.Parent”对象在针对null进行验证后被使用。检查行:11、9 using System.Windows.Forms; namespace V3125_False_Positive { static class Program { static void Main() { if (new Control() is Control control &&

PVS Studio抛出V3125:“control.Parent”对象在针对null进行验证后被使用。检查行:11、9

using System.Windows.Forms;

namespace V3125_False_Positive
{
    static class Program
    {
        static void Main()
        {
            if (new Control() is Control control && control.Parent != null)
            {
                string parentname = control.Parent.Name;
            }
        }
    }
}

这是假阳性吗?

事实上,这是假阳性。我们将研究它,并尝试在下一个版本中修复它(实际上,在下一个版本之后的版本中,因为我们计划在大约一周后发布一个新版本,所以修复将无法实现)

谢谢你的提示