Skip to content

Commit 88f17bf

Browse files
committed
attribute should be sealed
1 parent da16f66 commit 88f17bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GitVersionTask/AssemblyInfoBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public string GetAssemblyInfoText()
2121
[assembly: ReleaseDate(""{3}"", ""{4}"")]
2222
2323
[System.Runtime.CompilerServices.CompilerGenerated]
24-
class ReleaseDateAttribute : System.Attribute
24+
sealed class ReleaseDateAttribute : System.Attribute
2525
{{
2626
public string OriginalDate {{ get; private set; }}
2727
public string Date {{ get; private set; }}

Tests/AssemblyInfoBuilderTests.VerifyCreatedCode.approved.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ using System.Reflection;
88
[assembly: ReleaseDate("2014-03-01", "2014-03-06")]
99

1010
[System.Runtime.CompilerServices.CompilerGenerated]
11-
class ReleaseDateAttribute : System.Attribute
11+
sealed class ReleaseDateAttribute : System.Attribute
1212
{
1313
public string OriginalDate { get; private set; }
1414
public string Date { get; private set; }

0 commit comments

Comments
 (0)