7 references to CodeGenerationNamespaceInfo
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
64
CodeGenerationNamespaceInfo
.GetImports(innermostNamespace).Count == 0)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
511
CodeGenerationNamespaceInfo
.Attach(@namespace, imports);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceInfo.cs (5)
15
private static readonly ConditionalWeakTable<INamespaceSymbol,
CodeGenerationNamespaceInfo
> s_namespaceToInfoMap = new();
26
var
info = new CodeGenerationNamespaceInfo(imports ?? SpecializedCollections.EmptyList<ISymbol>());
30
private static
CodeGenerationNamespaceInfo
GetInfo(INamespaceSymbol @namespace)
32
s_namespaceToInfoMap.TryGetValue(@namespace, out
var
info);
39
private static IList<ISymbol> GetImports(
CodeGenerationNamespaceInfo
info)