7 references to ThrowIfError
System.IO.Compression (7)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeZstdHandle.cs (4)
42ZstandardUtils.ThrowIfError(Interop.Zstd.ZSTD_CCtx_refCDict(this, dictionary)); 74ZstandardUtils.ThrowIfError(Interop.Zstd.ZSTD_CCtx_reset(this, Interop.Zstd.ZstdResetDirective.ZSTD_reset_session_only)); 117ZstandardUtils.ThrowIfError(Interop.Zstd.ZSTD_DCtx_refDDict(this, dictionary)); 149ZstandardUtils.ThrowIfError(Interop.Zstd.ZSTD_DCtx_reset(this, Interop.Zstd.ZstdResetDirective.ZSTD_reset_session_only));
System\IO\Compression\Zstandard\ZstandardDecoder.cs (1)
370ZstandardUtils.ThrowIfError(result);
System\IO\Compression\Zstandard\ZstandardDictionary.cs (1)
145ZstandardUtils.ThrowIfError(dictSize);
System\IO\Compression\Zstandard\ZstandardEncoder.cs (1)
494ZstandardUtils.ThrowIfError(result);