FixAllProvider.GetSupportedFixAllDiagnosticIds(CodeFixProvider) 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.
Gets the diagnostic IDs for which fix all occurrences is supported.
By default, it returns FixableDiagnosticIds for the given originalCodeFixProvider
.
public:
virtual System::Collections::Generic::IEnumerable<System::String ^> ^ GetSupportedFixAllDiagnosticIds(Microsoft::CodeAnalysis::CodeFixes::CodeFixProvider ^ originalCodeFixProvider);
public virtual System.Collections.Generic.IEnumerable<string> GetSupportedFixAllDiagnosticIds (Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider originalCodeFixProvider);
abstract member GetSupportedFixAllDiagnosticIds : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider -> seq<string>
override this.GetSupportedFixAllDiagnosticIds : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider -> seq<string>
Public Overridable Function GetSupportedFixAllDiagnosticIds (originalCodeFixProvider As CodeFixProvider) As IEnumerable(Of String)
Parameters
- originalCodeFixProvider
- CodeFixProvider
Original code fix provider that returned this fix all provider from GetFixAllProvider() method.
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.