Version Used: .NET 10 SDK
Steps to Reproduce:
IDirectory? relTo = relativeTo as IDirectory ?? relativeTo.Parent;
- It will trigger IDE0048
Noticed this in dotnet/dotnet#1370, all the code patterns that use as and ?? now trigger IDE0048, even though this is not ambiguous and shouldn't need a parenthesis.
Likely caused by #79159
/cc @CyrusNajmabadi