8 references to HasLazyInfo
Microsoft.CodeAnalysis (4)
Binding\BindingDiagnosticBag.cs (1)
361if ((diagnostic as DiagnosticWithInfo)?.HasLazyInfo != true && diagnostic.Severity == DiagnosticSeverity.Error)
Diagnostic\DiagnosticBag.cs (1)
103if ((diagnostic as DiagnosticWithInfo)?.HasLazyInfo != true && diagnostic.DefaultSeverity == DiagnosticSeverity.Error)
Diagnostic\DiagnosticWithInfo.cs (2)
139/// Usage is unexpected unless <see cref="HasLazyInfo"/> is true. 145Debug.Assert(HasLazyInfo);
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Invocation.cs (2)
1903var code = d is DiagnosticWithInfo { HasLazyInfo: true, LazyInfo.Code: var lazyCode } ? lazyCode : d.Code; 1907Debug.Assert(d is not DiagnosticWithInfo { HasLazyInfo: true }, "Adjust the Arguments access to handle lazy diagnostics to avoid cycles.");
Binder\Binder_Operators.cs (1)
1061var code = diagnostic is DiagnosticWithInfo { HasLazyInfo: true, LazyInfo.Code: var lazyCode } ? lazyCode : diagnostic.Code;
Symbols\Symbol_Attributes.cs (1)
533return d.HasLazyInfo ? d.LazyInfo is LazyObsoleteDiagnosticInfo : d.Info.IsObsoleteDiagnostic();