1 write to Exception
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerLoadFailureEventArgs.cs (1)
61
Exception
= exceptionOpt;
8 references to Exception
CodeStyleConfigFileGenerator (1)
Program.cs (1)
81
=> throw e.
Exception
?? new InvalidOperationException(e.Message);
GenerateRulesMissingDocumentation (1)
Program.cs (1)
154
analyzerFileReference.AnalyzerLoadFailed += (sender, e) => throw e.
Exception
?? new NotSupportedException(e.Message);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
113
var description = e.
Exception
.CreateDiagnosticDescription();
Microsoft.CodeAnalysis.UnitTests (5)
AnalyzerAssemblyLoaderTests.cs (4)
247
analyzerMainReference.AnalyzerLoadFailed += (_, e) => AssertEx.Fail(e.
Exception
!.Message);
249
analyzerDependencyReference.AnalyzerLoadFailed += (_, e) => AssertEx.Fail(e.
Exception
!.Message);
764
analyzerMainReference.AnalyzerLoadFailed += (_, e) => AssertEx.Fail(e.
Exception
!.Message);
766
analyzerDependencyReference.AnalyzerLoadFailed += (_, e) => AssertEx.Fail(e.
Exception
!.Message);
Analyzers\AnalyzerFileReferenceAppDomainTests.cs (1)
32
analyzerRef.AnalyzerLoadFailed += (s, e) => analyzerLoadException = e.
Exception
;