1 write to DependenciesBag
Microsoft.CodeAnalysis (1)
Binding\BindingDiagnosticBag.cs (1)
68
DependenciesBag
= dependenciesBag;
18 references to DependenciesBag
Microsoft.CodeAnalysis (18)
Binding\BindingDiagnosticBag.cs (18)
75
internal bool AccumulatesDependencies =>
DependenciesBag
is object;
80
((PooledHashSet<TAssemblySymbol>?)
DependenciesBag
)?.Free();
85
return new ReadOnlyBindingDiagnostic<TAssemblySymbol>(DiagnosticBag?.ToReadOnly(forceDiagnosticResolution) ?? default,
DependenciesBag
?.ToImmutableArray() ?? default);
104
DependenciesBag
?.Clear();
120
AddDependencies(other.
DependenciesBag
);
134
if (dependency is object &&
DependenciesBag
is object)
136
DependenciesBag
.Add(dependency);
142
if (!dependencies.IsNullOrEmpty() &&
DependenciesBag
is object)
146
DependenciesBag
.Add(candidate);
153
if (!dependencies.IsNullOrEmpty() &&
DependenciesBag
is object)
157
DependenciesBag
.Add(candidate);
164
if (!dependencies.IsNullOrEmpty() &&
DependenciesBag
is object)
168
DependenciesBag
.Add(candidate);
175
if (!dependencies.IsDefaultOrEmpty &&
DependenciesBag
is object)
179
DependenciesBag
.Add(candidate);
187
AddDependencies(dependencies.
DependenciesBag
);
192
if (
DependenciesBag
is object)
202
if (
DependenciesBag
is object)