11 references to Dependencies
Microsoft.CodeAnalysis (5)
Binding\BindingDiagnosticBag.cs (5)
110Debug.Assert(allowMismatchInDependencyAccumulation || other.Dependencies.IsDefaultOrEmpty || this.AccumulatesDependencies || !this.AccumulatesDiagnostics); 111AddDependencies(other.Dependencies); 328public ReadOnlyBindingDiagnostic<TAssemblySymbol> NullToEmpty() => new ReadOnlyBindingDiagnostic<TAssemblySymbol>(Diagnostics, Dependencies); 332return first.Diagnostics == second.Diagnostics && first.Dependencies == second.Dependencies;
Microsoft.CodeAnalysis.CSharp (6)
Binder\MethodGroupResolution.cs (1)
53Debug.Assert(!diagnostics.Dependencies.IsDefault);
Binder\SwitchBinder.cs (1)
68ImmutableInterlocked.InterlockedInitialize(ref _switchGoverningDependencies, immutableSwitchGoverningDiagnostics.Dependencies);
Compilation\CSharpCompilation.cs (3)
1909entryPoint.Diagnostics.Diagnostics.Concat(diagnostics.ToReadOnlyAndFree()), entryPoint.Diagnostics.Dependencies)); 3284return new ReadOnlyBindingDiagnostic<AssemblySymbol>(result.AsImmutable().Concat(clsDiagnostics.Diagnostics), clsDiagnostics.Dependencies); 3306ImmutableInterlocked.InterlockedInitialize(ref _lazyClsComplianceDependencies, result.Dependencies);
Compiler\MethodCompiler.cs (1)
1146actualDiagnostics = new ReadOnlyBindingDiagnostic<AssemblySymbol>(sourceMethod.SetDiagnostics(actualDiagnostics.Diagnostics, out diagsWritten), actualDiagnostics.Dependencies);