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