1 write to Exception
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerLoadFailureEventArgs.cs (1)
61Exception = exceptionOpt;
7 references to Exception
CodeStyleConfigFileGenerator (1)
Program.cs (1)
81=> throw e.Exception ?? new InvalidOperationException(e.Message);
GenerateRulesMissingDocumentation (1)
Program.cs (1)
154analyzerFileReference.AnalyzerLoadFailed += (sender, e) => throw e.Exception ?? new NotSupportedException(e.Message);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
112var description = e.Exception.CreateDiagnosticDescription();
Microsoft.CodeAnalysis.UnitTests (4)
AnalyzerAssemblyLoaderTests.cs (4)
182analyzerMainReference.AnalyzerLoadFailed += (_, e) => AssertEx.Fail(e.Exception!.Message); 184analyzerDependencyReference.AnalyzerLoadFailed += (_, e) => AssertEx.Fail(e.Exception!.Message); 701analyzerMainReference.AnalyzerLoadFailed += (_, e) => AssertEx.Fail(e.Exception!.Message); 703analyzerDependencyReference.AnalyzerLoadFailed += (_, e) => AssertEx.Fail(e.Exception!.Message);