Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 11c205b

Browse files
stefannikoleiIan Hays
authored andcommitted
Add [CLSCompliant(false)] to Crc32
1 parent 2aa6a76 commit 11c205b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/System.IO.Compression/ref/System.IO.Compression.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ internal ZipArchiveEntry() { }
9393
public System.DateTimeOffset LastWriteTime { get { throw null; } set { } }
9494
public long Length { get { throw null; } }
9595
public string Name { get { throw null; } }
96+
[CLSCompliant(false)]
9697
public uint Crc32 { get { throw null; } }
9798
public void Delete() { }
9899
public System.IO.Stream Open() { throw null; }

src/System.IO.Compression/src/System/IO/Compression/ZipArchiveEntry.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ internal ZipArchiveEntry(ZipArchive archive, string entryName)
144144
/// The ZipArchive that this entry belongs to. If this entry has been deleted, this will return null.
145145
/// </summary>
146146
public ZipArchive Archive => _archive;
147-
147+
148+
[CLSCompliant(false)]
148149
public uint Crc32 => _crc32;
149150

150151
/// <summary>

0 commit comments

Comments
 (0)