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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.