Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is mean by "suppress results from generated code"

I am using Visual Studio 2008 team system. I have C project. I went to project properties and in the code analysis section. I wonder what is mean by

`suppress results from generated code`

Can someone explain what does this option do when I set it yes or no? Thanks

like image 222
Ali Ahmed Avatar asked Aug 04 '11 10:08

Ali Ahmed


People also ask

How do you suppress Code Analysis?

Suppress violations using project settingsFrom Solution Explorer, open the properties for the project (right-click the project and choose Properties (or press Alt + Enter) and use the Code Analysis tab to configure options. For example, you can disable live code analysis or disable .

What is auto generated code?

Auto-Generated Code means that the code wasn't written by a person, it was generated by an automated process. It was possibly generated by a visual studio or some other 3rd party tool. Auto-generated code based on GPT-3's language model, trained on the body of code that's in GitHub.


1 Answers

The Suppress results from generated code check box on the Code Analysis property page of a project enables you to select whether you want to see Code Analysis warnings from code generated by a third-party tool.

Reference: http://msdn.microsoft.com/en-us/library/dd742298.aspx

like image 147
Gaurav Gupta Avatar answered Oct 04 '22 20:10

Gaurav Gupta