5 instantiations of ExtractInterfaceOptionsResult
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
ExtractInterface\ExtractInterfaceTestState.cs (1)
114var changedOptions = new ExtractInterfaceOptionsResult(
ExtractInterface\TestExtractInterfaceOptions.cs (1)
64: new ExtractInterfaceOptionsResult(
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Internal\ExtractInterface\OmniSharpExtractInterfaceOptionsService.cs (1)
50return new(
Microsoft.CodeAnalysis.Features (1)
ExtractInterface\ExtractInterfaceOptionsResult.cs (1)
21public static readonly ExtractInterfaceOptionsResult Cancelled = new(isCancelled: true);
Microsoft.VisualStudio.LanguageServices (1)
ExtractInterface\VisualStudioExtractInterfaceOptionsService.cs (1)
92return new ExtractInterfaceOptionsResult(
27 references to ExtractInterfaceOptionsResult
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (9)
ExtractInterface\ExtractInterfaceTestState.cs (4)
113var options = (ExtractInterfaceOptionsResult)action.GetOptions(CancellationToken.None); 114var changedOptions = new ExtractInterfaceOptionsResult( 119ExtractInterfaceOptionsResult.ExtractLocation.SameFile,
ExtractInterface\TestExtractInterfaceOptions.cs (5)
44public Task<ExtractInterfaceOptionsResult> GetExtractInterfaceOptionsAsync( 62var result = IsCancelled 63? ExtractInterfaceOptionsResult.Cancelled 69location: SameFile ? ExtractInterfaceOptionsResult.ExtractLocation.SameFile : ExtractInterfaceOptionsResult.ExtractLocation.NewFile,
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (2)
Internal\ExtractInterface\OmniSharpExtractInterfaceOptionsService.cs (2)
37public async Task<ExtractInterfaceOptionsResult> GetExtractInterfaceOptionsAsync( 55(ExtractInterfaceOptionsResult.ExtractLocation)result.Location,
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.UnitTests (1)
EnumTests.cs (1)
21[InlineData(typeof(ExtractInterfaceOptionsResult.ExtractLocation),
Microsoft.CodeAnalysis.Features (10)
ExtractInterface\AbstractExtractInterfaceService.cs (7)
122var extractInterfaceOptions = await GetExtractInterfaceOptionsAsync( 140ExtractInterfaceOptionsResult extractInterfaceOptions, 156case ExtractInterfaceOptionsResult.ExtractLocation.NewFile: 166case ExtractInterfaceOptionsResult.ExtractLocation.SameFile: 180ExtractInterfaceTypeAnalysisResult refactoringResult, ExtractInterfaceOptionsResult extractInterfaceOptions, 224ExtractInterfaceOptionsResult extractInterfaceOptions, CancellationToken cancellationToken) 263internal static async Task<ExtractInterfaceOptionsResult> GetExtractInterfaceOptionsAsync(
ExtractInterface\ExtractInterfaceCodeAction.cs (1)
43if (options is ExtractInterfaceOptionsResult extractInterfaceOptions && !extractInterfaceOptions.IsCancelled)
ExtractInterface\ExtractInterfaceOptionsResult.cs (1)
21public static readonly ExtractInterfaceOptionsResult Cancelled = new(isCancelled: true);
ExtractInterface\IExtractInterfaceOptionsService.cs (1)
20Task<ExtractInterfaceOptionsResult> GetExtractInterfaceOptionsAsync(
Microsoft.VisualStudio.LanguageServices (5)
ExtractInterface\VisualStudioExtractInterfaceOptionsService.cs (5)
48public async Task<ExtractInterfaceOptionsResult> GetExtractInterfaceOptionsAsync( 102return ExtractInterfaceOptionsResult.Cancelled; 106private static ExtractInterfaceOptionsResult.ExtractLocation GetLocation(NewTypeDestination destination) 109NewTypeDestination.CurrentFile => ExtractInterfaceOptionsResult.ExtractLocation.SameFile, 110NewTypeDestination.NewFile => ExtractInterfaceOptionsResult.ExtractLocation.NewFile,