1 write to _mode
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CompressStream.cs (1)
693
_mode
= newMode;
17 references to _mode
WindowsBase (17)
Base\MS\Internal\IO\Packaging\CompressStream.cs (17)
85
switch (
_mode
)
126
if (
_mode
== Mode.ReadPassThrough && bytesRead == 0)
159
switch (
_mode
)
191
if (
_mode
== Mode.WritePassThrough)
240
&& (
_mode
== Mode.ReadPassThrough))
281
switch (
_mode
)
305
if (
_mode
== Mode.Emulation)
336
if ((
_mode
== Mode.Emulation) && (Length != 0))
378
switch (
_mode
)
419
return (
_mode
!= Mode.Disposed) && _baseStream.CanRead;
432
return (
_mode
!= Mode.Disposed) && _baseStream.CanSeek;
445
return (
_mode
!= Mode.Disposed) && _baseStream.CanWrite;
514
return (
_mode
== Mode.Disposed);
538
if (
_mode
!= Mode.Disposed)
681
if (newMode ==
_mode
)
775
Debug.Assert(
_mode
!= Mode.Emulation, "Logic error: CachedLength not maintained in Emulation mode - illegal Get");
781
Debug.Assert(
_mode
!= Mode.Emulation, "Logic error: CachedLength not maintained in Emulation mode - illegal Set");