7 references to ThrowIfError
System.IO.Compression.Zstandard (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\ZstandardDecoder.cs (1)
368
ZstandardUtils.
ThrowIfError
(result);
System\IO\Compression\ZstandardDictionary.cs (1)
143
ZstandardUtils.
ThrowIfError
(dictSize);
System\IO\Compression\ZstandardEncoder.cs (1)
492
ZstandardUtils.
ThrowIfError
(result);