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