6 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 (2)
Binder\Binder_Operators.cs (1)
1099
var code = diagnostic is DiagnosticWithInfo {
HasLazyInfo
: true, LazyInfo.Code: var lazyCode } ? lazyCode : diagnostic.Code;
Symbols\Symbol_Attributes.cs (1)
537
return d.
HasLazyInfo
? d.LazyInfo is LazyObsoleteDiagnosticInfo : d.Info.IsObsoleteDiagnostic();