69 references to SpecializedTasks
Microsoft.CodeAnalysis.Workspaces (69)
CodeActions\CodeAction.cs (1)
746=> SpecializedTasks.Null<Solution>();
CodeActions\CodeActionWithOptions.cs (2)
67=> SpecializedTasks.EmptyEnumerable<CodeActionOperation>(); 78=> SpecializedTasks.EmptyEnumerable<CodeActionOperation>();
CodeActions\Operations\CodeActionOperation.cs (1)
39return SpecializedTasks.True;
CodeFixes\FixAllOccurrences\FixAllState.FixMultipleDiagnosticProvider.cs (2)
66return SpecializedTasks.EmptyEnumerable<Diagnostic>(); 76return SpecializedTasks.EmptyEnumerable<Diagnostic>();
FindSymbols\FindReferences\DependentTypeFinder_DerivedClasses.cs (1)
34return SpecializedTasks.EmptyImmutableArray<INamedTypeSymbol>();
FindSymbols\FindReferences\DependentTypeFinder_DerivedInterfaces.cs (1)
35return SpecializedTasks.EmptyImmutableArray<INamedTypeSymbol>();
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (2)
815return SpecializedTasks.EmptyImmutableArray<string>(); 823: SpecializedTasks.EmptyImmutableArray<string>();
Remote\RemoteHostClient.cs (2)
35return SpecializedTasks.Null<RemoteHostClient>(); 49return SpecializedTasks.Null<RemoteHostClient>();
Serialization\SerializableSourceText.cs (1)
139return SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(
Shared\TestHooks\AsynchronousOperationListener.cs (5)
53return SpecializedTasks.False; 63return SpecializedTasks.True; 67return SpecializedTasks.False; 80return SpecializedTasks.True; 84return SpecializedTasks.False;
Shared\TestHooks\AsynchronousOperationListenerProvider+NullOperationListener.cs (1)
46? SpecializedTasks.True
Workspace\Host\PersistentStorage\AbstractPersistentStorage.cs (18)
58=> IsDisabled ? SpecializedTasks.False : ChecksumMatchesAsync(projectKey, project: null, name, checksum, cancellationToken); 61=> IsDisabled ? SpecializedTasks.False : ChecksumMatchesAsync(documentKey, document: null, name, checksum, cancellationToken); 64=> IsDisabled ? SpecializedTasks.Null<Stream>() : ReadStreamAsync(projectKey, project: null, name, checksum, cancellationToken); 67=> IsDisabled ? SpecializedTasks.Null<Stream>() : ReadStreamAsync(documentKey, document: null, name, checksum, cancellationToken); 70=> IsDisabled ? SpecializedTasks.False : WriteStreamAsync(projectKey, project: null, name, stream, checksum, cancellationToken); 73=> IsDisabled ? SpecializedTasks.False : WriteStreamAsync(documentKey, document: null, name, stream, checksum, cancellationToken); 76=> IsDisabled ? SpecializedTasks.False : ChecksumMatchesAsync(ProjectKey.ToProjectKey(project), project, name, checksum, cancellationToken); 79=> IsDisabled ? SpecializedTasks.False : ChecksumMatchesAsync(DocumentKey.ToDocumentKey(document), document, name, checksum, cancellationToken); 82=> IsDisabled ? SpecializedTasks.Null<Stream>() : ReadStreamAsync(ProjectKey.ToProjectKey(project), project, name, checksum, cancellationToken); 85=> IsDisabled ? SpecializedTasks.Null<Stream>() : ReadStreamAsync(DocumentKey.ToDocumentKey(document), document, name, checksum, cancellationToken); 88=> IsDisabled ? SpecializedTasks.Null<Stream>() : ReadStreamAsync(name, checksum: null, cancellationToken); 91=> IsDisabled ? SpecializedTasks.Null<Stream>() : ReadStreamAsync(project, name, checksum: null, cancellationToken); 94=> IsDisabled ? SpecializedTasks.Null<Stream>() : ReadStreamAsync(document, name, checksum: null, cancellationToken); 97=> IsDisabled ? SpecializedTasks.False : WriteStreamAsync(ProjectKey.ToProjectKey(project), project, name, stream, checksum, cancellationToken); 100=> IsDisabled ? SpecializedTasks.False : WriteStreamAsync(DocumentKey.ToDocumentKey(document), document, name, stream, checksum, cancellationToken); 103=> IsDisabled ? SpecializedTasks.False : WriteStreamAsync(name, stream, checksum: null, cancellationToken); 106=> IsDisabled ? SpecializedTasks.False : WriteStreamAsync(project, name, stream, checksum: null, cancellationToken); 109=> IsDisabled ? SpecializedTasks.False : WriteStreamAsync(document, name, stream, checksum: null, cancellationToken);
Workspace\Host\PersistentStorage\NoOpPersistentStorage.cs (21)
24=> SpecializedTasks.False; 27=> SpecializedTasks.False; 30=> SpecializedTasks.False; 33=> SpecializedTasks.False; 36=> SpecializedTasks.False; 39=> SpecializedTasks.Null<Stream>(); 42=> SpecializedTasks.Null<Stream>(); 45=> SpecializedTasks.Null<Stream>(); 48=> SpecializedTasks.Null<Stream>(); 51=> SpecializedTasks.Null<Stream>(); 54=> SpecializedTasks.Null<Stream>(); 57=> SpecializedTasks.Null<Stream>(); 60=> SpecializedTasks.Null<Stream>(); 63=> SpecializedTasks.False; 66=> SpecializedTasks.False; 69=> SpecializedTasks.False; 72=> SpecializedTasks.False; 75=> SpecializedTasks.False; 78=> SpecializedTasks.False; 81=> SpecializedTasks.False; 84=> SpecializedTasks.False;
Workspace\Host\Status\DefaultWorkspaceStatusService.cs (1)
34return SpecializedTasks.True;
Workspace\Solution\Document.cs (1)
174return SpecializedTasks.Null<SyntaxTree>();
Workspace\Solution\DocumentState.cs (1)
561return SpecializedTasks.Null<Diagnostic>();
Workspace\Solution\ProjectState_Checksum.cs (1)
26return SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(
Workspace\Solution\SolutionCompilationState.cs (3)
1148: SpecializedTasks.Null<Compilation>(); 1160: project.HasAllInformation ? SpecializedTasks.True : SpecializedTasks.False;
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
670? finalState.HasSuccessfullyLoaded ? SpecializedTasks.True : SpecializedTasks.False
Workspace\Solution\TextDocumentState.cs (1)
107return SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(
Workspace\Solution\TextDocumentState_Checksum.cs (1)
26return SpecializedTasks.TransformWithoutIntermediateCancellationExceptionAsync(