15 references to ReportAndCatch
Microsoft.CodeAnalysis.Workspaces (15)
ExternalAccess\UnitTesting\Api\UnitTestingFatalErrorAccessor.cs (1)
13
=> FatalError.
ReportAndCatch
(e);
FindSymbols\TopLevelSyntaxTree\DeclaredSymbolInfo.cs (1)
237
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.Core.cs (1)
184
catch (Exception ex) when (FatalError.
ReportAndCatch
(ex, ErrorSeverity.Critical))
src\Dependencies\Contracts\ErrorReporting\FatalError.cs (2)
196
return
ReportAndCatch
(exception, severity);
226
return
ReportAndCatch
(exception, severity);
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\ProjectSystem\ProjectSystemProject.cs (1)
1184
catch (Exception ex) when (FatalError.
ReportAndCatch
(ex, ErrorSeverity.General))
Workspace\Solution\DocumentState.cs (1)
690
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)
1351
FatalError.
ReportAndCatch
(new Exception("GetDocumentIdsWithFilePath returned a document in a project that does not exist."));
Workspace\WorkspaceEventMap.cs (1)
107
catch (Exception e) when (FatalError.
ReportAndCatch
(e))