1 write to Message
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerLoadFailureEventArgs.cs (1)
59Message = message;
7 references to Message
CodeStyleConfigFileGenerator (1)
Program.cs (1)
81=> throw e.Exception ?? new InvalidOperationException(e.Message);
GenerateDocumentationAndConfigFiles (1)
Program.cs (1)
227=> throw e.Exception ?? new NotSupportedException(e.Message);
GenerateRulesMissingDocumentation (1)
Program.cs (1)
154analyzerFileReference.AnalyzerLoadFailed += (sender, e) => throw e.Exception ?? new NotSupportedException(e.Message);
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineArguments.cs (2)
502diagnostic = new DiagnosticInfo(messageProvider, messageProvider.WRN_UnableToLoadAnalyzer, analyzerReference.FullPath, e.Exception?.ToString() ?? e.Message); 505diagnostic = new DiagnosticInfo(messageProvider, messageProvider.WRN_AnalyzerCannotBeCreated, e.TypeName ?? "", analyzerReference.FullPath, e.Exception?.ToString() ?? e.Message);
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (1)
MiscellaneousAnalyzerTests.cs (1)
64=> throw e.Exception ?? new NotSupportedException(e.Message);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
NewlyCreatedProjectsFromDotNetNew.cs (1)
246AssertEx.Empty(analyzerLoadDiagnostics.Select(static d => $"{d.ErrorCode}: {d.Message}"));