106 overrides of CanRead
mscorlib (9)
system\io\__consolestream.cs (1)
60
public override bool
CanRead
{
system\io\bufferedstream.cs (1)
212
public override bool
CanRead
{
system\io\filestream.cs (1)
1155
public override bool
CanRead
{
system\io\memorystream.cs (1)
128
public override bool
CanRead
{
system\io\stream.cs (2)
862
public override bool
CanRead
{
1092
public override bool
CanRead
{
system\io\unmanagedmemorystream.cs (1)
258
public override bool
CanRead
{
system\security\cryptography\cryptostream.cs (1)
75
public override bool
CanRead
{
system\security\cryptography\mactripledes.cs (1)
178
public override bool
CanRead
{
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
78
public override bool
CanRead
{ get { return true; } }
PresentationCore (4)
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
150
public override bool
CanRead
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
200
public override bool
CanRead
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (1)
166
public override bool
CanRead
Shared\MS\Internal\IO\SynchronizingStream.cs (1)
156
public override bool
CanRead
PresentationFramework (7)
src\Framework\MS\Internal\AppModel\BamlStream.cs (1)
84
public override bool
CanRead
src\Framework\MS\Internal\IO\Packaging\ByteStream.cs (1)
75
public override bool
CanRead
src\Framework\MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (1)
212
public override bool
CanRead
src\Framework\MS\Internal\Navigation\BindStream.cs (1)
95
public override bool
CanRead
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (1)
91
public override bool
CanRead
src\Framework\System\Windows\Markup\XamlStream.cs (2)
639
public override bool
CanRead
804
public override bool
CanRead
System (21)
net\System\Net\_ConnectStream.cs (1)
480
public override bool
CanRead
{
net\System\Net\_FtpDataStream.cs (1)
114
public override bool
CanRead
{
net\System\Net\_ListenerRequestStream.cs (1)
41
public override bool
CanRead
{
net\System\Net\_ListenerResponseStream.cs (1)
55
public override bool
CanRead
{
net\System\Net\_PooledStream.cs (1)
354
public override bool
CanRead
{
net\System\Net\Cache\_CacheStreams.cs (4)
71
public override bool
CanRead
{
387
public override bool
CanRead
{
903
public override bool
CanRead
{
1065
public override bool
CanRead
{
net\System\Net\Cache\_SingleItemRequestCache.cs (2)
313
public override bool
CanRead
{get {return true;}}
469
public override bool
CanRead
{get {return false;}}
net\System\Net\mail\DelegatedStream.cs (1)
39
public override bool
CanRead
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
442
public override bool
CanRead
{
net\System\Net\SecureProtocols\SslStream.cs (1)
425
public override bool
CanRead
{
net\System\Net\Sockets\NetworkStream.cs (1)
206
public override bool
CanRead
{
net\System\Net\webclient.cs (1)
2992
public override bool
CanRead
{
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
72
public override bool
CanRead
sys\system\configuration\ClientSettingsStore.cs (1)
349
public override bool
CanRead
{
sys\System\IO\compression\DeflateStream.cs (1)
251
public override bool
CanRead
{
sys\System\IO\compression\GZipStream.cs (1)
45
public override bool
CanRead
{
sys\system\io\ports\SerialStream.cs (1)
101
public override bool
CanRead
System.Core (2)
System\IO\LogStream.cs (1)
170
public override bool
CanRead
{
System\IO\Pipes\PipeStream.cs (1)
1017
public override bool
CanRead
{
System.Data (12)
fx\src\data\Microsoft\SqlServer\Server\SmiGettersStream.cs (1)
37
public override bool
CanRead
{
fx\src\data\Microsoft\SqlServer\Server\SmiSettersStream.cs (1)
37
public override bool
CanRead
{
fx\src\data\System\Data\Sql\sqlser.cs (1)
204
public override bool
CanRead
{
fx\src\data\System\Data\SqlClient\SqlClientWrapperSmiStream.cs (1)
28
public override bool
CanRead
{
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
38
public override bool
CanRead
fx\src\data\System\Data\SqlClient\SqlSequentialStreamSmi.cs (1)
24
public override bool
CanRead
fx\src\data\System\Data\SqlClient\SqlStream.cs (2)
48
override public bool
CanRead
{
281
override public bool
CanRead
{
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
10115
public override bool
CanRead
{
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (1)
640
public override bool
CanRead
{
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
184
public override bool
CanRead
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
299
public override bool
CanRead
{
System.Data.Services (3)
parent\Client\System\Data\Services\Client\BatchStream.cs (2)
154
public override bool
CanRead
1501
public override bool
CanRead
System\Data\Services\DelegateBodyWriter.cs (1)
106
public override bool
CanRead
System.Data.Services.Client (2)
System\Data\Services\Client\BatchStream.cs (2)
154
public override bool
CanRead
1501
public override bool
CanRead
System.IdentityModel (1)
System\IdentityModel\HashStream.cs (1)
30
public override bool
CanRead
System.IO.Log (3)
System\IO\Log\FileLogRecordStream.cs (1)
159
public override bool
CanRead
System\IO\Log\FileRegion.cs (1)
102
public override bool
CanRead
{ get { return true; } }
System\IO\Log\LogLogRecord.cs (1)
116
public override bool
CanRead
{ get { return true; } }
System.Runtime.Remoting (6)
channels\core\chunkedmemorystream.cs (1)
46
public override bool
CanRead
{ get { return true; } }
channels\core\socketstream.cs (1)
45
public override bool
CanRead
{ get { return true; } }
channels\http\httpstreams.cs (2)
29
public override bool
CanRead
{ get { return false; } }
256
public override bool
CanRead
{ get { return true; } }
channels\ipc\pipestream.cs (1)
36
public override bool
CanRead
{ get { return true; } }
channels\tcp\tcpstreams.cs (1)
46
public override bool
CanRead
{ get { return true; } }
System.Runtime.Serialization (4)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
86
public override bool
CanRead
System\Xml\EncodingStreamWrapper.cs (1)
549
public override bool
CanRead
System\Xml\XmlMtomReader.cs (2)
2088
public override bool
CanRead
2825
public override bool
CanRead
System.ServiceModel (5)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
62
public override bool
CanRead
System\ServiceModel\Channels\Connection.cs (1)
275
public override bool
CanRead
System\ServiceModel\Channels\DelegatingStream.cs (1)
31
public override bool
CanRead
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1077
public override bool
CanRead
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
328
public override bool
CanRead
{ get { return message.State != MessageState.Closed; } }
System.ServiceModel.Internals (1)
System\Runtime\BufferedOutputStream.cs (1)
48
public override bool
CanRead
System.ServiceModel.Web (1)
System\ServiceModel\Channels\StreamBodyWriter.cs (1)
86
public override bool
CanRead
System.Web (4)
Configuration\RemoteWebConfigurationHostStream.cs (1)
111
public override bool
CanRead
{ get { return true; } }
HttpBufferlessInputStream.cs (1)
81
public override bool
CanRead
{
HttpInputStream.cs (1)
332
public override bool
CanRead
{
HttpWriter.cs (1)
667
public override bool
CanRead
{
System.Web.Services (2)
System\Web\Services\Protocols\BufferedResponseStream.cs (1)
23
public override bool
CanRead
{ get { return false; } }
System\Web\Services\Protocols\SoapExtensionStream.cs (1)
25
public override bool
CanRead
{
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataStreamFromComStream.cs (1)
49
public override bool
CanRead
{
System.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
184
public override Boolean
CanRead
{
WindowsBase (16)
Base\MS\Internal\IO\Packaging\CompoundFile\CFStream.cs (1)
41
public override bool
CanRead
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
52
public override bool
CanRead
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
37
public override bool
CanRead
{ get{ return !_disposed && baseStream.CanRead; }}
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStream.cs (1)
158
public override bool
CanRead
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (1)
215
public override bool
CanRead
Base\MS\Internal\IO\Packaging\CompressStream.cs (1)
414
public override bool
CanRead
Base\MS\Internal\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
51
public override bool
CanRead
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (1)
355
public override bool
CanRead
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (1)
34
override public bool
CanRead
Base\MS\Internal\IO\Packaging\streamingZipPartStream.cs (1)
166
public override bool
CanRead
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (1)
40
override public bool
CanRead
Base\MS\Internal\IO\Zip\WriteTimeStream.cs (1)
34
override public bool
CanRead
{ get { return false; } }
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (1)
42
override public bool
CanRead
Base\MS\Internal\IO\Zip\ZipIOModeEnforcingStream.cs (1)
49
override public bool
CanRead
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (1)
244
public override bool
CanRead
Base\System\IO\Packaging\Package.cs (1)
1530
public override bool
CanRead
104 references to CanRead
mscorlib (25)
system\io\binaryreader.cs (1)
58
if (!input.
CanRead
)
system\io\bufferedstream.cs (5)
120
if (!_stream.
CanRead
&& !_stream.CanWrite)
145
if (!_stream.
CanRead
)
214
get { return _stream != null && _stream.
CanRead
; }
376
if (stream.
CanRead
|| stream is BufferedStream)
743
Contract.Assert(_stream.
CanRead
);
system\io\memorystream.cs (1)
435
if (!destination.
CanRead
&& !destination.CanWrite)
system\io\stream.cs (13)
149
if (!
CanRead
&& !CanWrite)
151
if (!destination.
CanRead
&& !destination.CanWrite)
153
if (!
CanRead
)
166
Contract.Requires(
CanRead
);
185
if (!
CanRead
&& !CanWrite)
187
if (!destination.
CanRead
&& !destination.CanWrite)
189
if (!
CanRead
)
205
if (!
CanRead
&& !CanWrite)
207
if (!destination.
CanRead
&& !destination.CanWrite)
209
if (!
CanRead
)
221
Contract.Requires(
CanRead
);
308
if (!
CanRead
) __Error.ReadNotSupported();
1094
get { return _stream.
CanRead
; }
system\io\streamreader.cs (1)
167
if (!stream.
CanRead
)
system\io\unmanagedmemorystreamwrapper.cs (1)
165
if (!destination.
CanRead
&& !destination.CanWrite)
system\resources\resourcereader.cs (2)
184
if (!stream.
CanRead
)
205
Contract.Requires(stream.
CanRead
, "Stream should be readable!");
system\security\cryptography\cryptostream.cs (1)
62
if (!(_stream.
CanRead
)) throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable"),"stream");
PresentationCore (5)
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
155
return (_obfuscatedStream != null) && _obfuscatedStream.
CanRead
;
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (1)
170
return (!_closed && _innerStream.
CanRead
);
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (2)
80
if ( !stream.
CanRead
)
137
Debug.Assert(stream.
CanRead
);
Shared\MS\Internal\IO\SynchronizingStream.cs (1)
162
return ((_baseStream != null) && _baseStream.
CanRead
);
PresentationFramework (5)
src\Framework\MS\Internal\AppModel\BamlStream.cs (1)
86
get { return _stream.
CanRead
; }
src\Framework\MS\Internal\IO\Packaging\managedIStream.cs (2)
137
if (_ioStream.
CanRead
&& _ioStream.CanWrite)
141
else if (_ioStream.
CanRead
)
src\Framework\MS\Internal\Navigation\BindStream.cs (1)
99
return _stream.
CanRead
;
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (1)
96
return _baseStream.
CanRead
;
System (19)
net\System\Net\Cache\_CacheStreams.cs (5)
72
get {return m_HeadEOF? WrappedStream.
CanRead
: m_HeadStream.
CanRead
;}
388
get {return WrappedStream.
CanRead
;}
904
get {return WrappedStream.
CanRead
;}
1066
get {return WrappedStream.
CanRead
;}
net\System\Net\FtpWebRequest.cs (1)
1911
if(m_Stream != null && m_Stream.
CanRead
&& m_Stream.CanTimeout)
net\System\Net\HttpWebRequest.cs (1)
6142
if (stream.
CanRead
) {
net\System\Net\mail\DelegatedStream.cs (1)
43
return this.stream.
CanRead
;
net\System\Net\SecureProtocols\AuthenticatedStream.cs (1)
36
if (!innerStream.
CanRead
|| !innerStream.CanWrite) {
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
444
return IsAuthenticated && InnerStream.
CanRead
;
net\System\Net\SecureProtocols\SslStream.cs (1)
427
return _SslState.IsAuthenticated && InnerStream.
CanRead
;
net\System\Net\webclient.cs (1)
2994
return m_stream.
CanRead
;
net\System\Net\WebSockets\WebSocketHelpers.cs (2)
510
if (!innerStream.
CanRead
)
524
(read && !connection.
CanRead
))
services\monitoring\system\diagnosticts\AsyncStreamReader.cs (1)
72
Debug.Assert(stream.
CanRead
, "Stream must be readable!");
sys\system\configuration\ClientSettingsStore.cs (1)
350
get { return _originalStream.
CanRead
; }
sys\System\IO\compression\DeflateStream.cs (3)
55
if (!stream.
CanRead
)
82
if (!_stream.
CanRead
) {
257
return (_mode == CompressionMode.Decompress && _stream.
CanRead
);
System.Data (3)
fx\src\data\System\Data\SQLTypes\SqlXml.cs (3)
304
return m_stream.
CanRead
;
479
if (!m_stream.
CanRead
)
496
if (m_isClosed || m_stream == null || (!m_stream.
CanRead
&& !m_stream.CanWrite && !m_stream.CanSeek))
System.Data.Services (4)
parent\Client\System\Data\Services\Client\BatchStream.cs (1)
156
get { return (null != this.reader && this.reader.
CanRead
); }
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (1)
183
if (readStream == null || !readStream.
CanRead
)
System\Data\Services\Serializers\Deserializer.cs (1)
593
Debug.Assert(requestStream.
CanRead
, "requestStream.CanRead");
System\Data\Services\WebUtil.cs (1)
537
Debug.Assert(input.
CanRead
, "input.CanRead");
System.Data.Services.Client (10)
System\Data\Services\Client\BatchStream.cs (1)
156
get { return (null != this.reader && this.reader.
CanRead
); }
System\Data\Services\Client\DataServiceContext.cs (5)
1689
if ((null != stream) && stream.
CanRead
)
5941
if ((null != stream) && stream.
CanRead
)
5959
while (asyncResult.CompletedSynchronously && !pereq.RequestCompleted && !this.IsCompletedInternally && stream.
CanRead
);
6009
if (!asyncResult.CompletedSynchronously && stream.
CanRead
)
6017
while (asyncResult.CompletedSynchronously && !pereq.RequestCompleted && !this.IsCompletedInternally && stream.
CanRead
);
System\Data\Services\Client\QueryResult.cs (3)
577
if ((null != stream) && stream.
CanRead
)
640
while (asyncResult.CompletedSynchronously && !queryResult.IsCompletedInternally && stream.
CanRead
);
678
if (0 < count && 0 < buffer.Length && stream.
CanRead
)
System\Data\Services\Client\WebUtil.cs (1)
75
while (input.
CanRead
&& (0 < (count = input.Read(buffer, 0, buffer.Length))))
System.Runtime.Serialization (3)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
95
return this.stream.
CanRead
;
System\Xml\EncodingStreamWrapper.cs (1)
556
return this.stream.
CanRead
;
System\Xml\XmlMtomReader.cs (1)
2827
get { return stream.
CanRead
; }
System.ServiceModel (1)
System\ServiceModel\Channels\DelegatingStream.cs (1)
35
return stream.
CanRead
;
System.Web.Services (1)
System\Web\Services\Protocols\SoapExtensionStream.cs (1)
28
return innerStream.
CanRead
;
System.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
185
get { return stream.
CanRead
; }
WindowsBase (27)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (2)
79
Invariant.Assert(source.
CanRead
);
213
Invariant.Assert(source.
CanRead
);
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (2)
58
_baseStream.
CanRead
&&
87
_baseStream.
CanRead
&&
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
37
public override bool CanRead { get{ return !_disposed && baseStream.
CanRead
; }}
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStream.cs (1)
162
return (_stream != null) && _stream.
CanRead
&& _versionOwner.IsReadable;
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStreamOwner.cs (2)
172
return (BaseStream != null) && BaseStream.
CanRead
&& IsReadable;
391
if (!BaseStream.
CanRead
)
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (2)
219
return (!_disposed && _baseStream.
CanRead
);
276
if (!baseStream.
CanRead
)
Base\MS\Internal\IO\Packaging\CompressStream.cs (2)
419
return (_mode != Mode.Disposed) && _baseStream.
CanRead
;
751
if (s.CanSeek && s.
CanRead
)
Base\MS\Internal\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
58
return _stream.
CanRead
;
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (1)
359
return _closed ? false : _dir.GetStream(0).
CanRead
;
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (1)
44
return (_underlyingStream != null && _underlyingStream.
CanRead
);
Base\MS\Internal\IO\Zip\ZipArchive.cs (1)
574
if ((access== FileAccess.Read || access == FileAccess.ReadWrite) && !stream.
CanRead
)
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (1)
46
return (!_disposedFlag) && (_blockManager.Stream.
CanRead
);
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (2)
827
if (!stream.
CanRead
)
839
if (!stream.
CanRead
|| !stream.CanWrite)
Base\MS\Internal\IO\Zip\ZipIOModeEnforcingStream.cs (1)
54
_baseStream.
CanRead
&&
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (1)
248
return (_baseStream != null && _baseStream.
CanRead
);
Base\System\IO\Packaging\CompoundFile\StorageRoot.cs (1)
140
if( baseStream.
CanRead
)
Base\System\IO\Packaging\EncryptedPackage.cs (1)
742
if (_packageStream.
CanRead
)
Base\System\IO\Packaging\Package.cs (2)
1237
if (!s.
CanRead
&& (access == FileAccess.ReadWrite || access == FileAccess.Read))
1242
if ((s.
CanRead
&& s.CanWrite) && (access == FileAccess.Read || access == FileAccess.Write))
Base\System\IO\Packaging\PackagePart.cs (1)
901
if (s.
CanRead
== false && s.CanSeek == false && s.CanWrite == false)
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
116
if (!s.
CanRead
)