diff --git a/src/Umbraco.Core/Models/Blocks/BlockListLayoutReference.cs b/src/Umbraco.Core/Models/Blocks/BlockListLayoutReference.cs
index 09c6c76478..19b30e6ea6 100644
--- a/src/Umbraco.Core/Models/Blocks/BlockListLayoutReference.cs
+++ b/src/Umbraco.Core/Models/Blocks/BlockListLayoutReference.cs
@@ -21,13 +21,13 @@ namespace Umbraco.Core.Models.Blocks
/// The Id of the data item
///
[DataMember(Name = "udi")]
- public Udi Udi { get; set; }
+ public Udi Udi { get; }
///
/// The settings for the layout item
///
[DataMember(Name = "settings")]
- public IPublishedElement Settings { get; set; }
+ public IPublishedElement Settings { get; }
///
/// The data item referenced
@@ -36,6 +36,6 @@ namespace Umbraco.Core.Models.Blocks
/// This is ignored from serialization since it is just a reference to the actual data element
///
[IgnoreDataMember]
- public IPublishedElement Data { get; set; }
+ public IPublishedElement Data { get; }
}
}
diff --git a/src/Umbraco.Core/Models/Blocks/BlockListModel.cs b/src/Umbraco.Core/Models/Blocks/BlockListModel.cs
index 36dd8af7c1..089ca7e6a3 100644
--- a/src/Umbraco.Core/Models/Blocks/BlockListModel.cs
+++ b/src/Umbraco.Core/Models/Blocks/BlockListModel.cs
@@ -16,15 +16,11 @@ namespace Umbraco.Core.Models.Blocks
Layout = layout;
}
- public BlockListModel()
- {
- }
-
///
/// The layout items of the Block List editor
///
[DataMember(Name = "layout")]
- public IEnumerable Layout { get; set; }
+ public IEnumerable Layout { get; }
}