14 references to ReportAndCatch
Microsoft.CodeAnalysis.Workspaces (14)
ExternalAccess\UnitTesting\Api\UnitTestingFatalErrorAccessor.cs (1)
15
=> FatalError.
ReportAndCatch
(e);
FindSymbols\TopLevelSyntaxTree\DeclaredSymbolInfo.cs (1)
236
FatalError.
ReportAndCatch
(new InvalidOperationException(message));
ReassignedVariable\AbstractReassignedVariableService.cs (1)
277
FatalError.
ReportAndCatch
(new InvalidOperationException("Local did not come from same file that we were analyzing?"));
Remote\RemoteArguments.cs (1)
118
catch (Exception ex) when (FatalError.
ReportAndCatch
(ex))
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
419
catch (Exception ex) when (FatalError.
ReportAndCatch
(ex, ErrorSeverity.Diagnostic))
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (2)
193
return
ReportAndCatch
(exception, severity);
223
return
ReportAndCatch
(exception, severity);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
83
FatalError.
ReportAndCatch
(exception);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefUtilities.cs (1)
21
catch (Exception ex) when (FatalError.
ReportAndCatch
(ex))
Storage\AbstractPersistentStorageService.cs (1)
108
FatalError.
ReportAndCatch
(ex);
Workspace\Solution\DocumentState.cs (1)
688
FatalError.
ReportAndCatch
(new Exception($"tree and text has different length {newTree.Length} vs {newText.Length}"), ErrorSeverity.Critical);
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (2)
92
catch (Exception ex) when (FatalError.
ReportAndCatch
(ex))
103
catch (Exception ex) when (FatalError.
ReportAndCatch
(ex))
Workspace\Solution\SolutionState.cs (1)
1325
FatalError.
ReportAndCatch
(new Exception("GetDocumentIdsWithFilePath returned a document in a project that does not exist."));