Skip to content

Commit 15d9c29

Browse files
committed
Update assert message
1 parent 7ae0ee5 commit 15d9c29

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Common/src/TypeSystem/Ecma/CachingMetadataStringDecoder.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ private struct Entry
3838
public CachingMetadataStringDecoder(int size)
3939
: base(System.Text.Encoding.UTF8)
4040
{
41-
// Verify that the size is power of 2
42-
Debug.Assert((size & (size - 1)) == 0);
41+
Debug.Assert((size & (size - 1)) == 0, "The cache size must be power of 2");
4342

4443
_table = new Entry[size];
4544
}

0 commit comments

Comments
 (0)