1 write to DiagnosticInfo
Microsoft.CodeAnalysis (1)
Binding\UseSiteInfo.cs (1)
64
DiagnosticInfo
= diagnosticInfo;
12 references to DiagnosticInfo
Microsoft.CodeAnalysis (12)
Binding\BindingDiagnosticBag.cs (1)
284
if (ReportUseSiteDiagnostic(info.
DiagnosticInfo
, getLocation, data))
Binding\UseSiteInfo.cs (11)
28
/// Null if <see cref="
DiagnosticInfo
"/> is an error.
34
/// Empty if <see cref="
DiagnosticInfo
"/> is an error.
69
public bool IsEmpty =>
DiagnosticInfo
is null && PrimaryDependency is null && SecondaryDependencies?.IsEmpty != false;
73
if ((object?)
DiagnosticInfo
!= diagnosticInfo)
81
Debug.Assert(
DiagnosticInfo
?.Severity != DiagnosticSeverity.Error);
244
if (HashSetExtensions.InitializeAndAdd(ref _diagnostics, info.
DiagnosticInfo
) &&
245
info.
DiagnosticInfo
?.Severity == DiagnosticSeverity.Error)
480
Initialize(useSiteInfo.
DiagnosticInfo
, GetDependenciesToCache(primaryDependency, useSiteInfo));
487
Debug.Assert(primaryDependency == useSiteInfo.PrimaryDependency || useSiteInfo.
DiagnosticInfo
?.Severity == DiagnosticSeverity.Error);
537
object? info = Compact(value.
DiagnosticInfo
, GetDependenciesToCache(primaryDependency, value));
548
object? info = Compact(value.
DiagnosticInfo
, GetDependenciesToCache(primaryDependency, value));