1 write to PrimaryDependency
Microsoft.CodeAnalysis (1)
Binding\UseSiteInfo.cs (1)
65
PrimaryDependency
= primaryDependency;
14 references to PrimaryDependency
Microsoft.CodeAnalysis (14)
Binding\BindingDiagnosticBag.cs (1)
194
AddDependency(useSiteInfo.
PrimaryDependency
);
Binding\UseSiteInfo.cs (13)
69
public bool IsEmpty => DiagnosticInfo is null &&
PrimaryDependency
is null && SecondaryDependencies?.IsEmpty != false;
84
return new UseSiteInfo<TAssemblySymbol>(diagnosticInfo,
PrimaryDependency
, SecondaryDependencies);
93
primaryDependency ??=
PrimaryDependency
;
95
if (!object.Equals(primaryDependency,
PrimaryDependency
) &&
PrimaryDependency
is object)
97
secondaryDependencies = secondaryDependencies.Add(
PrimaryDependency
);
340
if (info.
PrimaryDependency
!= _assemblyBeingBuilt)
342
HashSetExtensions.InitializeAndAdd(ref _dependencies, info.
PrimaryDependency
);
486
Debug.Assert(primaryDependency is object || (useSiteInfo.
PrimaryDependency
is null && secondaryDependencies.IsEmpty));
487
Debug.Assert(primaryDependency == useSiteInfo.
PrimaryDependency
|| useSiteInfo.DiagnosticInfo?.Severity == DiagnosticSeverity.Error);
488
if (useSiteInfo.
PrimaryDependency
is object)
490
return secondaryDependencies.Remove(useSiteInfo.
PrimaryDependency
);
558
return new UseSiteInfo<TAssemblySymbol>(diagnosticInfo, value.
PrimaryDependency
, dependencies);