9 references to ThrowIfError
System.IO.Compression (9)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeZstdHandle.cs (6)
42ZstandardUtils.ThrowIfError(Interop.Zstd.ZSTD_CCtx_refCDict(this, dictionary)); 74ZstandardUtils.ThrowIfError(Interop.Zstd.ZSTD_CCtx_reset(this, Interop.Zstd.ZstdResetDirective.ZSTD_reset_session_only)); 82ZstandardUtils.ThrowIfError(result); 121ZstandardUtils.ThrowIfError(Interop.Zstd.ZSTD_DCtx_refDDict(this, dictionary)); 153ZstandardUtils.ThrowIfError(Interop.Zstd.ZSTD_DCtx_reset(this, Interop.Zstd.ZstdResetDirective.ZSTD_reset_session_only)); 161ZstandardUtils.ThrowIfError(result);
System\IO\Compression\Zstandard\ZstandardDecoder.cs (1)
414ZstandardUtils.ThrowIfError(result);
System\IO\Compression\Zstandard\ZstandardDictionary.cs (1)
169ZstandardUtils.ThrowIfError(dictSize);
System\IO\Compression\Zstandard\ZstandardEncoder.cs (1)
509ZstandardUtils.ThrowIfError(result);