GeneratedCodeAnalysisFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flags to configure mode of generated code analysis.
This enumeration supports a bitwise combination of its member values.
public enum class GeneratedCodeAnalysisFlags
[System.Flags]
public enum GeneratedCodeAnalysisFlags
[<System.Flags>]
type GeneratedCodeAnalysisFlags =
Public Enum GeneratedCodeAnalysisFlags
- Inheritance
-
GeneratedCodeAnalysisFlags
- Attributes
Fields
Analyze | 1 | Enable analyzer action callbacks for generated code. Analyzer driver will make callbacks into the analyzer for all entities (source files, symbols, etc.) in the compilation, including generated code. |
None | 0 | Disable analyzer action callbacks and diagnostic reporting for generated code. Analyzer driver will not make callbacks into the analyzer for entities (source files, symbols, etc.) that it classifies as generated code. Additionally, any diagnostic reported by the analyzer with location in generated code will not be reported. |
ReportDiagnostics | 2 | Enable reporting diagnostics on generated code. Analyzer driver will not suppress any analyzer diagnostic based on whether or not it's location is in generated code. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應