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