2 instantiations of OriginatingProjectInfo
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (2)
184
return new
OriginatingProjectInfo
(document.Id.ProjectId, Compilation: null, ReferencedThrough: null);
194
return new
OriginatingProjectInfo
(id, compilation, referencedThrough);
11 references to OriginatingProjectInfo
Microsoft.CodeAnalysis.Workspaces (11)
Workspace\Solution\SolutionCompilationState.cs (3)
54
private ConditionalWeakTable<ISymbol,
OriginatingProjectInfo
?>? _unrootedSymbolToProjectId;
55
private static readonly Func<ConditionalWeakTable<ISymbol,
OriginatingProjectInfo
?>> s_createTable = () => new ConditionalWeakTable<ISymbol,
OriginatingProjectInfo
?>();
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (8)
56
public
OriginatingProjectInfo
? GetOriginatingProjectInfo(ISymbol? symbol)
63
var
unrootedSymbolInfo = GetOriginatingProjectInfoWorker(symbol);
112
private
OriginatingProjectInfo
? GetOriginatingProjectInfoWorker(ISymbol symbol)
121
var
result = GetOriginatingProjectInfoDirectly(symbol, _unrootedSymbolToProjectId);
131
private
OriginatingProjectInfo
? GetOriginatingProjectInfoDirectly(ISymbol symbol, ConditionalWeakTable<ISymbol,
OriginatingProjectInfo
?> unrootedSymbolToProjectId)
147
if (!unrootedSymbolToProjectId.TryGetValue(symbol, out
var
projectId))
189
OriginatingProjectInfo
? FindProject(ISymbol symbol, bool primary)