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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.