2 references to TryAddReferenceToProject
Microsoft.VisualStudio.LanguageServices (2)
Snippets\SnippetExpansionClient.cs (1)
1101!visualStudioWorkspace.TryAddReferenceToProject(projectId, assemblyName))
Workspace\VisualStudioAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
58if (!visualStudioWorkspace.TryAddReferenceToProject(_projectId, "*" + _assemblyIdentity.GetDisplayName()))