title: Setting CLSComplaint attribute to true shows error with VisualStudio 2022
body: <p>I have set the CLSComplaint attribute to true. I am facing an error with the Properties used in my code after setting this CLSComplaint as true. The same code works fine with VS10 but only showing error with VS2022.</p>