Skip to content

Commit d2f77a9

Browse files
committed
Add missing readonly modifier
1 parent f592268 commit d2f77a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommunityToolkit.Mvvm.SourceGenerators/Helpers/ImmutableArrayBuilder{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private ImmutableArrayBuilder(Writer writer)
4343
}
4444

4545
/// <inheritdoc cref="ImmutableArray{T}.Builder.Count"/>
46-
public int Count
46+
public readonly int Count
4747
{
4848
[MethodImpl(MethodImplOptions.AggressiveInlining)]
4949
get => this.writer!.Count;

0 commit comments

Comments
 (0)