15 references to AddImportFixKind
Microsoft.CodeAnalysis.Features (15)
AddImport\AbstractAddImportFeatureService.cs (4)
615
AddImportFixKind
.ProjectSymbol => new ProjectSymbolReferenceCodeAction(document, fixData),
616
AddImportFixKind
.MetadataSymbol => new MetadataSymbolReferenceCodeAction(document, fixData),
617
AddImportFixKind
.ReferenceAssemblySymbol => new AssemblyReferenceCodeAction(document, fixData),
618
AddImportFixKind
.PackageSymbol => ParentInstallPackageCodeAction.TryCreateCodeAction(
AddImport\AddImportFixData.cs (6)
17
AddImportFixKind
kind,
32
public
AddImportFixKind
Kind { get; } = kind;
114
=> new(
AddImportFixKind
.ProjectSymbol,
122
=> new(
AddImportFixKind
.MetadataSymbol,
131
=> new(
AddImportFixKind
.ReferenceAssemblySymbol,
140
=> new(
AddImportFixKind
.PackageSymbol,
AddImport\CodeActions\AssemblyReferenceCodeAction.cs (1)
29
Contract.ThrowIfFalse(fixData.Kind ==
AddImportFixKind
.ReferenceAssemblySymbol);
AddImport\CodeActions\InstallPackageAndAddImportCodeAction.cs (1)
40
Contract.ThrowIfFalse(fixData.Kind ==
AddImportFixKind
.PackageSymbol);
AddImport\CodeActions\MetadataSymbolReferenceCodeAction.cs (1)
25
Contract.ThrowIfFalse(fixData.Kind ==
AddImportFixKind
.MetadataSymbol);
AddImport\CodeActions\ProjectSymbolReferenceCodeAction.cs (1)
34
Contract.ThrowIfFalse(fixData.Kind ==
AddImportFixKind
.ProjectSymbol);
AddPackage\ParentInstallPackageCodeAction.cs (1)
126
AddImportFixKind
.PackageSymbol, installData.TextChanges, title, priority: CodeActionPriority.Lowest,