public ChangeSignatureResult ChangeSignature()
 {
     return(ChangeSignatureService.ChangeSignature(
                InvocationDocument,
                _testDocument.CursorPosition.Value,
                (errorMessage, severity) =>
     {
         this.ErrorMessage = errorMessage;
         this.ErrorSeverity = severity;
     },
                CancellationToken.None));
 }
        public ChangeSignatureResult ChangeSignature()
        {
            WpfTestRunner.RequireWpfFact($"{nameof(AbstractChangeSignatureService.ChangeSignature)} currently needs to run on a WPF Fact because it's factored in a way that tries popping up UI in some cases.");

            return(ChangeSignatureService.ChangeSignature(
                       InvocationDocument,
                       _testDocument.CursorPosition.Value,
                       (errorMessage, severity) =>
            {
                this.ErrorMessage = errorMessage;
                this.ErrorSeverity = severity;
            },
                       CancellationToken.None));
        }