Skip to content

Commit 38ec24f

Browse files
dahlbyknulltoken
authored andcommitted
Hide Blob.Size setter
1 parent 9f55693 commit 38ec24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/Blob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ internal Blob(Repository repo, ObjectId id)
2626
/// <summary>
2727
/// Gets the size in bytes of the contents of a blob
2828
/// </summary>
29-
public virtual int Size { get; set; }
29+
public virtual int Size { get; protected set; }
3030

3131
/// <summary>
3232
/// Gets the blob content in a <see cref="byte" /> array.

0 commit comments

Comments
 (0)