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
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.