AnalysisContext.ConfigureGeneratedCodeAnalysis Method
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.
Configure analysis mode of generated code for this analyzer. Non-configured analyzers will default to an appropriate default mode for generated code. It is recommended for the analyzer to invoke this API with the required GeneratedCodeAnalysisFlags setting.
public:
virtual void ConfigureGeneratedCodeAnalysis(Microsoft::CodeAnalysis::Diagnostics::GeneratedCodeAnalysisFlags analysisMode);
public virtual void ConfigureGeneratedCodeAnalysis (Microsoft.CodeAnalysis.Diagnostics.GeneratedCodeAnalysisFlags analysisMode);
abstract member ConfigureGeneratedCodeAnalysis : Microsoft.CodeAnalysis.Diagnostics.GeneratedCodeAnalysisFlags -> unit
override this.ConfigureGeneratedCodeAnalysis : Microsoft.CodeAnalysis.Diagnostics.GeneratedCodeAnalysisFlags -> unit
Public Overridable Sub ConfigureGeneratedCodeAnalysis (analysisMode As GeneratedCodeAnalysisFlags)
Parameters
- analysisMode
- GeneratedCodeAnalysisFlags