10 writes to _dependencies
Microsoft.CodeAnalysis (10)
Binding\UseSiteInfo.cs (10)
256_dependencies = null; 342HashSetExtensions.InitializeAndAdd(ref _dependencies, info.PrimaryDependency); 347(_dependencies ??= new HashSet<TAssemblySymbol>()).AddAll(info.SecondaryDependencies); 366(_dependencies ??= new HashSet<TAssemblySymbol>()).AddAll(dependencies); 375(_dependencies ??= new HashSet<TAssemblySymbol>()).AddAll(dependencies); 384(_dependencies ??= new HashSet<TAssemblySymbol>()).AddAll(dependencies); 397other._dependencies = null; 412mergeAndClear(ref _dependencies, ref other._dependencies); 416other._dependencies = null;
4 references to _dependencies
Microsoft.CodeAnalysis (4)
Binding\UseSiteInfo.cs (4)
180Debug.Assert(_dependencies is null); 185Debug.Assert(_dependencies is null); 212Debug.Assert(!_hasErrors || (_dependencies is null)); 223return _dependencies;