Browse Source

Attempt to fix CI build failure

pull/10664/head
robloo 4 years ago
parent
commit
b116a870b1
  1. 2
      src/Avalonia.Controls/ContextMenu.cs
  2. 2
      src/Avalonia.Controls/Primitives/Popup.cs

2
src/Avalonia.Controls/ContextMenu.cs

@ -58,7 +58,7 @@ namespace Avalonia.Controls
/// Defines the <see cref="PlacementMode"/> property. /// Defines the <see cref="PlacementMode"/> property.
/// </summary> /// </summary>
[Obsolete("Use the Placement property instead.")] [Obsolete("Use the Placement property instead.")]
public static readonly StyledProperty<PlacementMode> PlacementModeProperty = PlacementProperty; public static readonly StyledProperty<PlacementMode> PlacementModeProperty = PlacementProperty!;
#pragma warning disable AVP1013 // AvaloniaProperty owners should not be added superfluously #pragma warning disable AVP1013 // AvaloniaProperty owners should not be added superfluously

2
src/Avalonia.Controls/Primitives/Popup.cs

@ -69,7 +69,7 @@ namespace Avalonia.Controls.Primitives
/// Defines the <see cref="PlacementMode"/> property. /// Defines the <see cref="PlacementMode"/> property.
/// </summary> /// </summary>
[Obsolete("Use the Placement property instead.")] [Obsolete("Use the Placement property instead.")]
public static readonly StyledProperty<PlacementMode> PlacementModeProperty = PlacementProperty; public static readonly StyledProperty<PlacementMode> PlacementModeProperty = PlacementProperty!;
/// <summary> /// <summary>
/// Defines the <see cref="Placement"/> property. /// Defines the <see cref="Placement"/> property.

Loading…
Cancel
Save