21 references to Null
Microsoft.CodeAnalysis.Workspaces (21)
CodeActions\CodeAction.cs (1)
746=> SpecializedTasks.Null<Solution>();
Remote\RemoteHostClient.cs (2)
35return SpecializedTasks.Null<RemoteHostClient>(); 49return SpecializedTasks.Null<RemoteHostClient>();
Workspace\Host\PersistentStorage\AbstractPersistentStorage.cs (7)
64=> IsDisabled ? SpecializedTasks.Null<Stream>() : ReadStreamAsync(projectKey, project: null, name, checksum, cancellationToken); 67=> IsDisabled ? SpecializedTasks.Null<Stream>() : ReadStreamAsync(documentKey, document: null, 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);
Workspace\Host\PersistentStorage\NoOpPersistentStorage.cs (8)
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>();
Workspace\Solution\Document.cs (1)
174return SpecializedTasks.Null<SyntaxTree>();
Workspace\Solution\DocumentState.cs (1)
561return SpecializedTasks.Null<Diagnostic>();
Workspace\Solution\SolutionCompilationState.cs (1)
1148: SpecializedTasks.Null<Compilation>();