Visual Studio Editor Errors

I don’t know why but my Visual Studio Editor showing me continuous errors like this kind of:

Today I am getting this continuously, I have installed Visual Studio multiple times but the same problem is coming again and again.
At present, I have installed Visual Studio Version 8.9.5.4
One more thing, I am using iMac with Mac OS as the operating system.

How to remove these errors?

Keep in mind errors reported by Visual Studio are utterly irrelevant. What Unity says is what counts. You can use notepad to edit source files in a pinch.

But if you’re having issues, this might help:

This may help you with intellisense and possibly other Visual Studio integration problems:

https://discussions.unity.com/t/778503

Also, try update the VSCode package inside of Unity: Window → Package Manager → Search for Visual Studio Code Editor → Press the Update button

Also, this: https://discussions.unity.com/t/805330/7

After updating Visual Studio Editor within Package Manager Visual Studio Editor-related problem solved out.
7026295--832270--visual studio editor.png

This package I required to upgrade.
@Kurt-Dekker Thank you, Sir, for your useful suggestion because all scripts started showing problems like my previous screenshot so it becomes difficult for me to work.