1 write to SecondaryDependencies
Microsoft.CodeAnalysis (1)
Binding\UseSiteInfo.cs (1)
66SecondaryDependencies = secondaryDependencies ?? ImmutableHashSet<TAssemblySymbol>.Empty;
9 references to SecondaryDependencies
Microsoft.CodeAnalysis (9)
Binding\BindingDiagnosticBag.cs (1)
195AddDependencies(useSiteInfo.SecondaryDependencies);
Binding\UseSiteInfo.cs (8)
27/// Never a core library. Usually it is not included into the <see cref="SecondaryDependencies"/>. 69public bool IsEmpty => DiagnosticInfo is null && PrimaryDependency is null && SecondaryDependencies?.IsEmpty != false; 84return new UseSiteInfo<TAssemblySymbol>(diagnosticInfo, PrimaryDependency, SecondaryDependencies); 92secondaryDependencies = (secondaryDependencies ?? ImmutableHashSet<TAssemblySymbol>.Empty).Union(SecondaryDependencies ?? ImmutableHashSet<TAssemblySymbol>.Empty); 345if (info.SecondaryDependencies?.IsEmpty == false && (_assemblyBeingBuilt is null || info.SecondaryDependencies.AsSingleton() != _assemblyBeingBuilt)) 347(_dependencies ??= new HashSet<TAssemblySymbol>()).AddAll(info.SecondaryDependencies); 485var secondaryDependencies = useSiteInfo.SecondaryDependencies ?? ImmutableHashSet<TAssemblySymbol>.Empty;