Skip to content

Commit 69a314b

Browse files
committed
Use sealed keyword
1 parent 40ecf02 commit 69a314b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DynamoDBGenerator.SourceGenerator/Types/TypeIdentifier.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ public abstract record TypeIdentifier(ITypeSymbol TypeSymbol)
77
public ITypeSymbol TypeSymbol { get; } = TypeSymbol;
88
}
99

10-
public record UnknownType(ITypeSymbol TypeSymbol) : TypeIdentifier(TypeSymbol);
10+
public sealed record UnknownType(ITypeSymbol TypeSymbol) : TypeIdentifier(TypeSymbol);
1111

12-
public record KeyValueGeneric : TypeIdentifier
12+
public sealed record KeyValueGeneric : TypeIdentifier
1313
{
1414

1515
public enum SupportedType
@@ -52,7 +52,7 @@ private KeyValueGeneric(in ITypeSymbol typeSymbol, in ITypeSymbol tKey, in IType
5252
}
5353
}
5454

55-
public record SingleGeneric : TypeIdentifier
55+
public sealed record SingleGeneric : TypeIdentifier
5656
{
5757

5858
public enum SupportedType

0 commit comments

Comments
 (0)