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