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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.