共用方式為


DiagnosticSuppressor.Initialize(AnalysisContext) Method

Definition

public override sealed void Initialize (Microsoft.CodeAnalysis.Diagnostics.AnalysisContext context);
override this.Initialize : Microsoft.CodeAnalysis.Diagnostics.AnalysisContext -> unit
Public Overrides NotOverridable Sub Initialize (context As AnalysisContext)

Parameters

context
AnalysisContext

Applies to