If you go to this line and press <Ctrl+.>, it will show a list of actions, which also includes “Suppress or Configure issues”, where you can choose “Suppress IDE0017” and “in Suppression File”. This will create a special Global Suppression file. Similarly, you can suppress other suggestions, or edit the special file manually. See also the documentation for SuppressMessageAttribute. You can edit or remove the Scope and Target parameters to adjust the area of suppression. If Scope is not present, then the suppression seems to have a global effect.
See also: https://learn.microsoft.com/en-us/visualstudio/code-quality/in-source-suppression-overview.