9 references to ThrowIfError
System.IO.Compression (9)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeZstdHandle.cs (6)
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));
82
ZstandardUtils.
ThrowIfError
(result);
121
ZstandardUtils.
ThrowIfError
(Interop.Zstd.ZSTD_DCtx_refDDict(this, dictionary));
153
ZstandardUtils.
ThrowIfError
(Interop.Zstd.ZSTD_DCtx_reset(this, Interop.Zstd.ZstdResetDirective.ZSTD_reset_session_only));
161
ZstandardUtils.
ThrowIfError
(result);
System\IO\Compression\Zstandard\ZstandardDecoder.cs (1)
414
ZstandardUtils.
ThrowIfError
(result);
System\IO\Compression\Zstandard\ZstandardDictionary.cs (1)
169
ZstandardUtils.
ThrowIfError
(dictSize);
System\IO\Compression\Zstandard\ZstandardEncoder.cs (1)
509
ZstandardUtils.
ThrowIfError
(result);