6 writes to OnError
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
CodeActions\Preview\PreviewExceptionTests.cs (3)
35errorReportingService.OnError = message => errorReported = true; 48errorReportingService.OnError = message => errorReported = true; 61errorReportingService.OnError = message => errorReported = true;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
CodeFixes\CodeFixServiceTests.cs (2)
263errorReportingService.OnError = message => errorReported = true; 292errorReportingService.OnError = message => errorReported = true;
CodeRefactorings\CodeRefactoringServiceTest.cs (1)
110errorReportingService.OnError = message => errorReported = true;
3 references to OnError
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
TestErrorReportingService.cs (3)
30=> OnError(exception.Message); 33=> OnError(message); 36=> OnError($"{message} {exception}");