40 references to True
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
AddUsing\AddUsingNuGetTests.cs (4)
128.Returns(SpecializedTasks.True); 159.Returns(SpecializedTasks.True); 258.Returns(SpecializedTasks.True); 292.Returns(SpecializedTasks.True);
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
Utilities\NavigateToLinkService.cs (1)
40return SpecializedTasks.True;
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (10)
Utilities\GoToHelpers\MockDocumentNavigationService.vb (6)
31Return If(_canNavigateToLineAndOffset, SpecializedTasks.True, SpecializedTasks.False) 35Return If(_canNavigateToPosition, SpecializedTasks.True, SpecializedTasks.False) 39Return If(_canNavigateToSpan, SpecializedTasks.True, SpecializedTasks.False) 49Return SpecializedTasks.True 60Return SpecializedTasks.True 70Return SpecializedTasks.True
Utilities\GoToHelpers\MockSymbolNavigationService.vb (1)
26Return SpecializedTasks.True
Utilities\MockDocumentNavigationServiceProvider.vb (3)
53Return If(CanNavigateToLineAndOffsetReturnValue, SpecializedTasks.True, SpecializedTasks.False) 61Return If(CanNavigateToPositionReturnValue, SpecializedTasks.True, SpecializedTasks.False) 68Return If(CanNavigateToSpanReturnValue, SpecializedTasks.True, SpecializedTasks.False)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Interactive\InteractiveDocumentNavigationService.cs (1)
29=> SpecializedTasks.True;
Microsoft.CodeAnalysis.Features (5)
ChangeSignature\ChangeSignatureCodeActionOperation.cs (1)
40return ApplyWorker(workspace, originalSolution, progressTracker, cancellationToken) ? SpecializedTasks.True : SpecializedTasks.False;
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
287=> SpecializedTasks.True;
Navigation\INavigableLocation.cs (1)
43new NavigableLocation((_, _) => value ? SpecializedTasks.True : SpecializedTasks.False));
SplitOrMergeIfStatements\Consecutive\AbstractMergeConsecutiveIfStatementsCodeRefactoringProvider.cs (2)
63return SpecializedTasks.True; 76return SpecializedTasks.True;
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
Diagnostics\AddImport\AddImportTests_NuGet.vb (4)
56Returns(SpecializedTasks.True) 85Returns(SpecializedTasks.True) 206Returns(SpecializedTasks.True) 238Returns(SpecializedTasks.True)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\CompletionProviders\ObjectInitializerCompletionProvider.vb (1)
107Return SpecializedTasks.True
Completion\CompletionProviders\SymbolCompletionProvider.vb (1)
71Return SpecializedTasks.True
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
VisualBasicMoveDeclarationNearReferenceService.vb (1)
46Return SpecializedTasks.True
Microsoft.CodeAnalysis.Workspaces (7)
CodeActions\Operations\CodeActionOperation.cs (1)
39return SpecializedTasks.True;
Shared\TestHooks\AsynchronousOperationListener.cs (2)
65return SpecializedTasks.True; 82return SpecializedTasks.True;
Shared\TestHooks\AsynchronousOperationListenerProvider+NullOperationListener.cs (1)
46? SpecializedTasks.True
Workspace\Host\Status\WorkspaceStatusService.cs (1)
40return SpecializedTasks.True;
Workspace\Solution\SolutionState.CompilationTracker.cs (1)
1034return state.HasSuccessfullyLoaded.Value ? SpecializedTasks.True : SpecializedTasks.False;
Workspace\Solution\SolutionState.cs (1)
1814: project.HasAllInformation ? SpecializedTasks.True : SpecializedTasks.False;
Microsoft.VisualStudio.LanguageServices (1)
Utilities\VisualStudioNavigateToLinkService.cs (1)
41return SpecializedTasks.True;
Microsoft.VisualStudio.LanguageServices.CodeLens (1)
ReferenceCodeLensProvider.cs (1)
68return SpecializedTasks.True;
Microsoft.VisualStudio.LanguageServices.LiveShare.UnitTests (3)
MockDocumentNavigationServiceFactory.cs (3)
36public Task<bool> CanNavigateToLineAndOffsetAsync(Workspace workspace, DocumentId documentId, int lineNumber, int offset, CancellationToken cancellationToken) => SpecializedTasks.True; 38public Task<bool> CanNavigateToPositionAsync(Workspace workspace, DocumentId documentId, int position, int virtualSpace, CancellationToken cancellationToken) => SpecializedTasks.True; 40public Task<bool> CanNavigateToSpanAsync(Workspace workspace, DocumentId documentId, TextSpan textSpan, bool allowInvalidSpan, CancellationToken cancellationToken) => SpecializedTasks.True;