Product and Version Used:
Roslynator 2.9.0, Visual Studio 2019 16.4.4
Steps to Reproduce:
Demo on SharpLab
Details: icsharpcode/ILSpy#1959 (F(G<A,B>(7)); grammar ambiguity on MSDN)
Actual Behavior:
RCS1032 Remove redundant parentheses. shown for (num < num2)
Expected Behavior:
The parentheses are necessary to avoid ambiguity.
Product and Version Used:
Roslynator 2.9.0, Visual Studio 2019 16.4.4
Steps to Reproduce:
Demo on SharpLab
Details: icsharpcode/ILSpy#1959 (
F(G<A,B>(7));grammar ambiguity on MSDN)Actual Behavior:
RCS1032 Remove redundant parentheses.shown for(num < num2)Expected Behavior:
The parentheses are necessary to avoid ambiguity.