[SuppressMessage("RoslynDiagnosticsReliability","RS0033:Importing constructor should be [Obsolete]",Justification="Used in test code: https://github.com/dotnet/roslyn/issues/42814")]
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullableenable
usingSystem.Collections.Immutable;
usingSystem.Threading.Tasks;
...
...
@@ -32,7 +34,7 @@ public abstract class CodeFixProvider
/// Return null if the provider doesn't support fix all/multiple occurrences.
/// Otherwise, you can return any of the well known fix all providers from <see cref="WellKnownFixAllProviders"/> or implement your own fix all provider.
@@ -37,7 +39,7 @@ public partial class FixAllContext
/// Document within which fix all occurrences was triggered.
/// Can be null if the context was created using <see cref="FixAllContext.FixAllContext(Project, CodeFixProvider, FixAllScope, string, IEnumerable{string}, DiagnosticProvider, CancellationToken)"/>.
/// </summary>
publicDocumentDocument=>State.Document;
publicDocument?Document=>State.Document;
/// <summary>
/// Underlying <see cref="CodeFixes.CodeFixProvider"/> which triggered this fix all.
...
...
@@ -59,7 +61,7 @@ public partial class FixAllContext
/// <summary>
/// The <see cref="CodeAction.EquivalenceKey"/> value expected of a <see cref="CodeAction"/> participating in this fix all.
/// Return null if the provider doesn't support fix all/multiple occurrences.
/// Otherwise, you can return any of the well known fix all providers from <see cref="WellKnownFixAllProviders"/> or implement your own fix all provider.