Skip to content

Commit 3285270

Browse files
Surayya Huseyn ZadaSurayya Huseyn Zada
authored andcommitted
make BuiltImage and MultiArchImage readonly structs
1 parent 757a0ef commit 3285270

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Containers/Microsoft.NET.Build.Containers/BuiltImage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Microsoft.NET.Build.Containers;
66
/// <summary>
77
/// Represents constructed image ready for further processing.
88
/// </summary>
9-
internal sealed class BuiltImage
9+
internal readonly struct BuiltImage
1010
{
1111
/// <summary>
1212
/// Gets image configuration in JSON format.

src/Containers/Microsoft.NET.Build.Containers/MultiArchImage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Microsoft.NET.Build.Containers;
66
/// <summary>
77
/// Represents constructed image ready for further processing.
88
/// </summary>
9-
internal sealed class MultiArchImage
9+
internal readonly struct MultiArchImage
1010
{
1111
internal required string ImageIndex { get; init; }
1212

0 commit comments

Comments
 (0)