Implemented interface member:
property
Project
Microsoft.CodeAnalysis.CodeFixesAndRefactorings.IFixAllContext.Project
36 references to Project
Microsoft.CodeAnalysis.Analyzers (6)
MetaAnalyzers\Fixers\AnalyzerReleaseTrackingFix.FixAllProvider.cs (3)
33
diagnosticsToFix.Add(new KeyValuePair<Project, ImmutableArray<Diagnostic>>(fixAllContext.
Project
, diagnostics));
39
Project project = fixAllContext.
Project
;
41
diagnosticsToFix.Add(new KeyValuePair<Project, ImmutableArray<Diagnostic>>(fixAllContext.
Project
, diagnostics));
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.CustomFixAllProvider.cs (3)
46
diagnosticsToFix.Add(new KeyValuePair<Project, ImmutableArray<Diagnostic>>(fixAllContext.
Project
, diagnostics));
52
Project project = fixAllContext.
Project
;
54
diagnosticsToFix.Add(new KeyValuePair<Project, ImmutableArray<Diagnostic>>(fixAllContext.
Project
, diagnostics));
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (2)
33
FixAllScope.Project => await fixAllContext.GetAllDiagnosticsAsync(fixAllContext.
Project
).ConfigureAwait(false),
45
fixAllContext.
Project
.Solution,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextExtensions.cs (1)
13
=> FixAllHelper.GetDefaultFixAllTitle(context.Scope, title: context.DiagnosticIds.First(), context.Document!, context.
Project
);
Microsoft.CodeAnalysis.Features (3)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (1)
45
title, suppressionFixer, fixAllContext.
Project
,
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (2)
33
FixAllScope.Project => await fixAllContext.GetAllDiagnosticsAsync(fixAllContext.
Project
).ConfigureAwait(false),
45
fixAllContext.
Project
.Solution,
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (10)
AnnotatePublicApiFix.cs (4)
194
diagnosticsToFix.Add(new KeyValuePair<Project, ImmutableArray<Diagnostic>>(fixAllContext.
Project
, diagnostics));
201
Project project = fixAllContext.
Project
;
203
diagnosticsToFix.Add(new KeyValuePair<Project, ImmutableArray<Diagnostic>>(fixAllContext.
Project
, diagnostics));
204
title = string.Format(CultureInfo.InvariantCulture, PublicApiAnalyzerResources.AddAllItemsInProjectToTheApiTitle, fixAllContext.
Project
.Name);
DeclarePublicApiFix.cs (4)
339
diagnosticsToFix.Add(new KeyValuePair<Project, ImmutableArray<Diagnostic>>(fixAllContext.
Project
, diagnostics));
346
Project project = fixAllContext.
Project
;
348
diagnosticsToFix.Add(new KeyValuePair<Project, ImmutableArray<Diagnostic>>(fixAllContext.
Project
, diagnostics));
349
title = string.Format(CultureInfo.InvariantCulture, PublicApiAnalyzerResources.AddAllItemsInProjectToTheApiTitle, fixAllContext.
Project
.Name);
NullableEnablePublicApiFix.cs (2)
130
projectsToFix.Add(fixAllContext.
Project
);
131
title = string.Format(CultureInfo.InvariantCulture, PublicApiAnalyzerResources.EnableNullableInProjectToTheApiTitle, fixAllContext.
Project
.Name);
Microsoft.CodeAnalysis.Workspaces (7)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
94
if (kvp.Key.Project != fixAllContext.
Project
)
CodeFixes\FixAllOccurrences\FixAllContext.cs (3)
231
if (this.
Project
.Language != document.Project.Language)
268
if (this.
Project
.Language != document.Project.Language)
315
if (this.
Project
.Language != project.Language)
CodeFixes\FixAllOccurrences\FixAllContext.DiagnosticProvider.cs (1)
75
var project = fixAllContext.
Project
;
CodeFixes\FixAllOccurrences\FixAllContextHelper.cs (1)
29
var project = fixAllContext.
Project
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextExtensions.cs (1)
13
=> FixAllHelper.GetDefaultFixAllTitle(context.Scope, title: context.DiagnosticIds.First(), context.Document!, context.
Project
);
Microsoft.Interop.ComInterfaceGenerator (3)
src\libraries\System.Runtime.InteropServices\gen\Common\FixAllContextExtensions.cs (3)
22
return await context.GetAllDiagnosticsAsync(context.
Project
).ConfigureAwait(false);
41
.Where(p => p.Language == context.
Project
.Language);
56
return ImmutableArray.Create(context.
Project
);
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\CustomMarshallerAttributeFixer.cs (1)
94
return await context.GetAllDiagnosticsAsync(context.
Project
).ConfigureAwait(false);
src\libraries\System.Runtime.InteropServices\gen\Common\FixAllContextExtensions.cs (3)
22
return await context.GetAllDiagnosticsAsync(context.
Project
).ConfigureAwait(false);
41
.Where(p => p.Language == context.
Project
.Language);
56
return ImmutableArray.Create(context.
Project
);