diff --git a/src/Avalonia.Base/Media/GeometryDrawing.cs b/src/Avalonia.Base/Media/GeometryDrawing.cs
index ac2dce1e42..abfd2e33ac 100644
--- a/src/Avalonia.Base/Media/GeometryDrawing.cs
+++ b/src/Avalonia.Base/Media/GeometryDrawing.cs
@@ -27,8 +27,8 @@ namespace Avalonia.Media
///
/// Defines the property.
///
- public static readonly StyledProperty PenProperty =
- AvaloniaProperty.Register(nameof(Pen));
+ public static readonly StyledProperty PenProperty =
+ AvaloniaProperty.Register(nameof(Pen));
///
/// Gets or sets the that describes the shape of this .
diff --git a/src/Avalonia.Base/Media/PolyLineSegment.cs b/src/Avalonia.Base/Media/PolyLineSegment.cs
index 55bfb33041..5c48c11e19 100644
--- a/src/Avalonia.Base/Media/PolyLineSegment.cs
+++ b/src/Avalonia.Base/Media/PolyLineSegment.cs
@@ -1,5 +1,4 @@
using System.Collections.Generic;
-using Avalonia.Collections;
namespace Avalonia.Media
{
@@ -20,7 +19,7 @@ namespace Avalonia.Media
///
/// The points.
///
- public AvaloniaList Points
+ public Points Points
{
get => GetValue(PointsProperty);
set => SetValue(PointsProperty, value);