4 references to GetObjectReference
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (4)
VisualStudioMSBuildWorkspaceTests.cs (4)
2844
var workspace = sol.
GetObjectReference
(static s => s.Workspace);
2845
var project = sol.
GetObjectReference
(static s => s.Projects.First());
2846
var document = project.
GetObjectReference
(static p => p.Documents.First());
2852
var compilation = document.
GetObjectReference
(static d => d.GetSemanticModelAsync(CancellationToken.None).Result);