4 instantiations of DiagnosticWithInfo
Microsoft.CodeAnalysis (4)
Diagnostic\Diagnostic.cs (1)
292return new DiagnosticWithInfo(info, Location.None);
Diagnostic\DiagnosticWithInfo.cs (3)
204return new DiagnosticWithInfo(_info, location, _isSuppressed); 214return new DiagnosticWithInfo(this.Info.GetInstanceWithSeverity(severity), _location, _isSuppressed); 224return new DiagnosticWithInfo(this.Info, _location, isSuppressed);
7 references to DiagnosticWithInfo
Microsoft.CodeAnalysis (7)
Binding\BindingDiagnosticBag.cs (1)
361if ((diagnostic as DiagnosticWithInfo)?.HasLazyInfo != true && diagnostic.Severity == DiagnosticSeverity.Error)
CommandLine\CommandLineArguments.cs (1)
438diagnosticsOpt.Add(((DiagnosticWithInfo)diagnostic).Info);
Diagnostic\DiagnosticBag.cs (1)
102if ((diagnostic as DiagnosticWithInfo)?.HasLazyInfo != true && diagnostic.DefaultSeverity == DiagnosticSeverity.Error)
Diagnostic\DiagnosticWithInfo.cs (2)
162var other = obj as DiagnosticWithInfo;
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
1360if (diagnostic is DiagnosticWithInfo)
DiagnosticAnalyzer\DiagnosticAnalysisContextHelpers.cs (1)
45if (diagnostic is DiagnosticWithInfo)