Hello @Corniel,
Thank you for reporting this issue!
This is a known limitation of our analyzer, as we rely on Roslyn compilation we only see what’s built for the current target thus we are not able to take into account that for a different target the partial
is relevant.
I think you know this limitation as you mentioned it here.
Anyway, I have open a ticket in our backlog to tackle it in the future.
I will also raise this point to the rest of the team as I am seeing this coming up often recently for several rules.
Have a nice day!