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