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