HI,
Applying "this." qualifier is not correct when accessing an inherited property.
This is the sample code:
C#public class TestClass : TestClassBase
{
public void TestMethod()
{
Console.WriteLine(this.MyProperty);
Console.WriteLine(TestProperty);
Console.WriteLine(this.MyProperty * TestProperty);
}
public int MyProperty { get; set; }
}
public class TestClassBase
{
public int TestProperty { get; set; }
}
The CR settings are also attached.
Thanks,
Zvonko
Hi Zvonko,
Thank you for sharing the issue with us. I managed to reproduce it on my side and passed this ticket to our R&D for further research.
We'll notify you in this thread if we have any news.