diagnostic ID
The code, like CS0103, that names a compiler error or warning.
Every C# compiler diagnostic has an identifier (CSxxxx) that can be looked up in the documentation and configured in the project or .editorconfig.
Examples
In
Program.cs(3,1): error CS0103: The name 'total' does not exist in the current context, the ID isCS0103.
See also