False positive for S1939 in C#

C#, S1939, VS2022 17.4.4, SonarLint 6.12.0.59751, connected or not

using System;

namespace SomeNamespace
{
	internal class SomeTest
	{
	}

	internal interface ISomeInterface
	{
		public int test();
	}

	internal class S1939Test : SomeTest, ISomeInterface
	{
// until you implement the method(s) from the interface, SL will show the S1939 warning for ISomeInterface although the SomeTest class does really not implement it.
	}
}

Hello @Hefaistos68,

Thank you for reporting this issue. Your feedback helps us improve our products.

I confirm this is an FP - I added an issue to our backlog which you can follow it here.

Best Regards
Mary

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.