6 references to CreateDiagnosticDescription
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\AnalyzerExecutor.cs (4)
1259
return e.
CreateDiagnosticDescription
();
1263
string.Format(CodeAnalysisResources.ExceptionContext, info?.GetContext()), e.
CreateDiagnosticDescription
());
1282
return string.Format(CodeAnalysisResources.CompilerAnalyzerThrows, analyzerName, ex.GetType().ToString(), ex.Message, ex.
CreateDiagnosticDescription
());
1297
var messageArguments = new[] { e.GetType().ToString(), e.Message, e.
CreateDiagnosticDescription
() };
SourceGeneration\GeneratorDriver.cs (1)
416
return Diagnostic.Create(descriptor, Location.None, generator.GetGeneratorType().Name, e.GetType().Name, e.Message, e.
CreateDiagnosticDescription
());
src\Compilers\Core\AnalyzerDriver\AnalyzerExceptionDescriptionBuilder.cs (1)
28
return string.Join(s_separator, GetExceptionMessage(exception),
CreateDiagnosticDescription
(exception.InnerException));