Skip to content

Commit

Permalink
Merge pull request #374 from X-Sharp/master
Browse files Browse the repository at this point in the history
Updated XML comment for MessageBox.ShowConfirm() and suppressed a war…
  • Loading branch information
madskristensen authored Sep 14, 2022
2 parents 90379cf + 3fb426b commit e81bde6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public void Close()
void IVsInfoBarUIEvents.OnClosed(IVsInfoBarUIElement infoBarUIElement)
{
IsVisible = false;
ThreadHelper.ThrowIfNotOnUIThread();
_uiElement?.Unadvise(_listenerCookie);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public async Task<MessageBoxResult> ShowWarningAsync(string line1, string line2
}

/// <summary>
/// Shows a yes/no/cancel message box.
/// Shows a yes/no message box.
/// </summary>
/// <returns>true if the user clicks the 'Yes' button.</returns>
public bool ShowConfirm(string line1, string line2 = "")
Expand All @@ -105,7 +105,7 @@ public bool ShowConfirm(string line1, string line2 = "")
}

/// <summary>
/// Shows a yes/no/cancel message box.
/// Shows a yes/no message box.
/// </summary>
/// <returns>true if the user clicks the 'Yes' button.</returns>
public async Task<bool> ShowConfirmAsync(string line1, string line2 = "")
Expand Down

0 comments on commit e81bde6

Please sign in to comment.