11 references to Ok
System.IO.Compression (11)
src\runtime\src\libraries\Common\src\System\IO\Compression\ZLibNative.cs (3)
231State.InitializedForDeflate => (DeflateEnd() == ErrorCode.Ok), 232State.InitializedForInflate => (InflateEnd() == ErrorCode.Ok), 271if (zlibErrorCode is not ErrorCode.Ok)
System\IO\Compression\DeflateDecoder.cs (1)
94ZLibNative.ErrorCode.Ok or ZLibNative.ErrorCode.BufError => _state.AvailOut == 0
System\IO\Compression\DeflateEncoder.cs (3)
217ZLibNative.ErrorCode.Ok when isFinalBlock => OperationStatus.DestinationTooSmall, 218ZLibNative.ErrorCode.Ok => _state.AvailIn == 0 272ZLibNative.ErrorCode.Ok => _state.AvailOut == 0
System\IO\Compression\DeflateZLib\Deflater.cs (2)
153return ReadDeflateOutput(outputBuffer, ZFlushCode.SyncFlush, out bytesRead) == ZErrorCode.Ok; 210case ZErrorCode.Ok:
System\IO\Compression\DeflateZLib\Inflater.cs (1)
310case ZLibNative.ErrorCode.Ok: // progress has been made inflating
System\IO\Compression\DeflateZLib\ZLibException.cs (1)
18private readonly ZLibNative.ErrorCode _zlibErrorCode = ZLibNative.ErrorCode.Ok;