1 implementation of TryGetProjectId
Microsoft.VisualStudio.LanguageServices (1)
Implementation\HierarchyItemToProjectIdMap.cs (1)
26public bool TryGetProjectId(IVsHierarchyItem hierarchyItem, string? targetFrameworkMoniker, [NotNullWhen(true)] out ProjectId? projectId)
5 references to TryGetProjectId
Microsoft.VisualStudio.LanguageServices (3)
CodeCleanup\AbstractCodeCleanUpFixer.cs (1)
97if (!hierarchyToProjectMap.TryGetProjectId(projectHierarchyItem, targetFrameworkMoniker: null, out projectId))
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (1)
416if (projectMap.TryGetProjectId(projectHierarchyItem, targetFrameworkMoniker: null, out var projectId))
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (1)
147if (projectMap.TryGetProjectId(projectHierarchyItem, targetFrameworkMoniker: null, out var projectId))
Microsoft.VisualStudio.LanguageServices.Implementation (2)
SolutionExplorer\AnalyzersFolderItem\AnalyzersFolderItemSourceProvider.cs (1)
54hierarchyMapper.TryGetProjectId(item.Parent, targetFrameworkMoniker: null, projectId: out var projectId))
SolutionExplorer\DiagnosticItem\CpsDiagnosticItemSourceProvider.cs (1)
59hierarchyMapper.TryGetProjectId(projectRootItem, targetFrameworkMoniker, out var projectId))