Browse Source
Merge pull request #10218 from AArnott/patch-1
Add nullable ref annotation to Windows.Close
pull/10224/head
Max Katz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Window.cs
|
|
|
@ -450,7 +450,7 @@ namespace Avalonia.Controls |
|
|
|
/// resulting task will produce the <see cref="_dialogResult"/> value when the window
|
|
|
|
/// is closed.
|
|
|
|
/// </remarks>
|
|
|
|
public void Close(object dialogResult) |
|
|
|
public void Close(object? dialogResult) |
|
|
|
{ |
|
|
|
_dialogResult = dialogResult; |
|
|
|
CloseCore(WindowCloseReason.WindowClosing, true); |
|
|
|
|