1 write to Workspace
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Progression\ProgressionTestState.vb (1)
19
Me.
Workspace
= workspace
22 references to Workspace
Microsoft.VisualStudio.LanguageServices.UnitTests (22)
Progression\ProgressionTestState.vb (11)
29
Dim graphBuilder As New GraphBuilder(
Workspace
.CurrentSolution)
30
Dim documentId =
Workspace
.Documents.Single(Function(d) d.FilePath = filePath).Id
31
Assert.NotNull(graphBuilder.TryAddNodeForDocument(
Workspace
.CurrentSolution.GetDocument(documentId), CancellationToken.None))
36
Dim hostDocument As TestHostDocument =
Workspace
.Documents.Single(Function(d) d.CursorPosition.HasValue)
37
Dim document =
Workspace
.CurrentSolution.GetDocument(hostDocument.Id)
44
Dim graphBuilder As New GraphBuilder(
Workspace
.CurrentSolution)
51
Dim graphBuilder = Await graphQuery.GetGraphAsync(
Workspace
.CurrentSolution, graphContext, CancellationToken.None)
66
Workspace
.Dispose()
78
Dim hostDocument As TestHostDocument =
Workspace
.Documents.Single(Function(d) d.CursorPosition.HasValue)
79
Dim document =
Workspace
.CurrentSolution.GetDocument(hostDocument.Id)
84
Return
Workspace
.CurrentSolution
Progression\SearchGraphQueryTests_NavigateTo.vb (11)
29
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
62
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
95
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
141
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
191
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
237
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
274
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
307
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
331
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
364
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)
397
Dim threadingContext = testState.
Workspace
.ExportProvider.GetExportedValue(Of IThreadingContext)