Skip to content

Commit

Permalink
Change Nullability annotation on ISelectionService.PrimarySelection (
Browse files Browse the repository at this point in the history
…#81254)

* Change Nullability on ISelectionService.PrimarySelection

* Add nullability to ref ISelectionService interface
  • Loading branch information
elachlan committed Jan 30, 2023
1 parent d54896e commit a342915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -1943,7 +1943,7 @@ public partial interface IRootDesigner : System.ComponentModel.Design.IDesigner,
}
public partial interface ISelectionService
{
object PrimarySelection { get; }
object? PrimarySelection { get; }
int SelectionCount { get; }
event System.EventHandler SelectionChanged;
event System.EventHandler SelectionChanging;
Expand Down
Expand Up @@ -13,7 +13,7 @@ public interface ISelectionService
/// <summary>
/// Gets the object that is currently the primary selection.
/// </summary>
object PrimarySelection { get; }
object? PrimarySelection { get; }

/// <summary>
/// Gets the count of selected objects.
Expand Down

0 comments on commit a342915

Please sign in to comment.