15 references to DiagnosticInfo
Microsoft.CodeAnalysis (15)
CommandLine\CommandLineArguments.cs (7)
445
diagnosticsOpt.Add(new
DiagnosticInfo
(messageProviderOpt, messageProviderOpt.ERR_MetadataFileNotFound, cmdReference.Reference));
491
diagnostic = new
DiagnosticInfo
(messageProvider, messageProvider.WRN_UnableToLoadAnalyzer, analyzerReference.FullPath, e.Message);
494
diagnostic = new
DiagnosticInfo
(messageProvider, messageProvider.WRN_AnalyzerCannotBeCreated, e.TypeName ?? "", analyzerReference.FullPath, e.Message);
497
diagnostic = new
DiagnosticInfo
(messageProvider, messageProvider.WRN_NoAnalyzerInAssembly, analyzerReference.FullPath);
500
diagnostic = new
DiagnosticInfo
(messageProvider, messageProvider.WRN_AnalyzerReferencesFramework, analyzerReference.FullPath, e.TypeName!);
503
diagnostic = new
DiagnosticInfo
(messageProvider, messageProvider.WRN_AnalyzerReferencesNewerCompiler, analyzerReference.FullPath, e.ReferencedCompilerVersion!.ToString(), typeof(AnalyzerFileReference).Assembly.GetName().Version!.ToString());
542
diagnostics.Add(new
DiagnosticInfo
(messageProvider, messageProvider.ERR_MetadataFileNotFound, reference.FilePath));
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (1)
43
var diagnosticInfo = new
DiagnosticInfo
(messageProvider, messageProvider.ERR_OutputWriteFailed, _filePath, e.Message);
CommandLine\CommonCompiler.cs (3)
511
diagnosticInfo = new
DiagnosticInfo
(messageProvider, messageProvider.ERR_FileNotFound, filePath);
515
diagnosticInfo = new
DiagnosticInfo
(messageProvider, messageProvider.ERR_BinaryFile, filePath);
519
diagnosticInfo = new
DiagnosticInfo
(messageProvider, messageProvider.ERR_NoSourceFile, filePath, e.Message);
Diagnostic\CustomObsoleteDiagnosticInfo.cs (1)
16
:
base
(messageProvider, errorCode, arguments)
Diagnostic\Diagnostic.cs (1)
287
return Create(new
DiagnosticInfo
(messageProvider, errorCode, arguments));
Diagnostic\DiagnosticInfo.cs (2)
41
:
this
(messageProvider, errorCode, Array.Empty<object>())
152
:
this
(messageProvider, errorCode, arguments)