106 overrides of CanWrite
mscorlib (9)
system\io\__consolestream.cs (1)
65
public override bool
CanWrite
{
system\io\bufferedstream.cs (1)
218
public override bool
CanWrite
{
system\io\filestream.cs (1)
1160
public override bool
CanWrite
{
system\io\memorystream.cs (1)
138
public override bool
CanWrite
{
system\io\stream.cs (2)
867
public override bool
CanWrite
{
1097
public override bool
CanWrite
{
system\io\unmanagedmemorystream.cs (1)
268
public override bool
CanWrite
{
system\security\cryptography\cryptostream.cs (1)
87
public override bool
CanWrite
{
system\security\cryptography\mactripledes.cs (1)
188
public override bool
CanWrite
{
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
82
public override bool
CanWrite
{ get { return false; } }
PresentationCore (4)
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
176
public override bool
CanWrite
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
225
public override bool
CanWrite
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (1)
187
public override bool
CanWrite
Shared\MS\Internal\IO\SynchronizingStream.cs (1)
183
public override bool
CanWrite
PresentationFramework (7)
src\Framework\MS\Internal\AppModel\BamlStream.cs (1)
100
public override bool
CanWrite
src\Framework\MS\Internal\IO\Packaging\ByteStream.cs (1)
99
public override bool
CanWrite
src\Framework\MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (1)
236
public override bool
CanWrite
src\Framework\MS\Internal\Navigation\BindStream.cs (1)
117
public override bool
CanWrite
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (1)
108
public override bool
CanWrite
src\Framework\System\Windows\Markup\XamlStream.cs (2)
655
public override bool
CanWrite
820
public override bool
CanWrite
System (21)
net\System\Net\_ConnectStream.cs (1)
514
public override bool
CanWrite
{
net\System\Net\_FtpDataStream.cs (1)
133
public override bool
CanWrite
{
net\System\Net\_ListenerRequestStream.cs (1)
35
public override bool
CanWrite
{
net\System\Net\_ListenerResponseStream.cs (1)
49
public override bool
CanWrite
{
net\System\Net\_PooledStream.cs (1)
373
public override bool
CanWrite
{
net\System\Net\Cache\_CacheStreams.cs (4)
80
public override bool
CanWrite
{
396
public override bool
CanWrite
{
912
public override bool
CanWrite
{
1074
public override bool
CanWrite
{
net\System\Net\Cache\_SingleItemRequestCache.cs (2)
316
public override bool
CanWrite
{get {return false;}}
473
public override bool
CanWrite
{get {return true;}}
net\System\Net\mail\DelegatedStream.cs (1)
55
public override bool
CanWrite
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
454
public override bool
CanWrite
{
net\System\Net\SecureProtocols\SslStream.cs (1)
437
public override bool
CanWrite
{
net\System\Net\Sockets\NetworkStream.cs (1)
232
public override bool
CanWrite
{
net\System\Net\webclient.cs (1)
3004
public override bool
CanWrite
{
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
96
public override bool
CanWrite
sys\system\configuration\ClientSettingsStore.cs (1)
353
public override bool
CanWrite
{
sys\System\IO\compression\DeflateStream.cs (1)
261
public override bool
CanWrite
{
sys\System\IO\compression\GZipStream.cs (1)
55
public override bool
CanWrite
{
sys\system\io\ports\SerialStream.cs (1)
115
public override bool
CanWrite
System.Core (2)
System\IO\LogStream.cs (1)
175
public override bool
CanWrite
{
System\IO\Pipes\PipeStream.cs (1)
1024
public override bool
CanWrite
{
System.Data (12)
fx\src\data\Microsoft\SqlServer\Server\SmiGettersStream.cs (1)
50
public override bool
CanWrite
{
fx\src\data\Microsoft\SqlServer\Server\SmiSettersStream.cs (1)
50
public override bool
CanWrite
{
fx\src\data\System\Data\Sql\sqlser.cs (1)
210
public override bool
CanWrite
{
fx\src\data\System\Data\SqlClient\SqlClientWrapperSmiStream.cs (1)
41
public override bool
CanWrite
{
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
53
public override bool
CanWrite
fx\src\data\System\Data\SqlClient\SqlSequentialStreamSmi.cs (1)
34
public override bool
CanWrite
fx\src\data\System\Data\SqlClient\SqlStream.cs (2)
60
override public bool
CanWrite
{
293
override public bool
CanWrite
{
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
10123
public override bool
CanWrite
{
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (1)
652
public override bool
CanWrite
{
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
219
public override bool
CanWrite
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
316
public override bool
CanWrite
{
System.Data.Services (3)
parent\Client\System\Data\Services\Client\BatchStream.cs (2)
166
public override bool
CanWrite
1513
public override bool
CanWrite
System\Data\Services\DelegateBodyWriter.cs (1)
118
public override bool
CanWrite
System.Data.Services.Client (2)
System\Data\Services\Client\BatchStream.cs (2)
166
public override bool
CanWrite
1513
public override bool
CanWrite
System.IdentityModel (1)
System\IdentityModel\HashStream.cs (1)
35
public override bool
CanWrite
System.IO.Log (3)
System\IO\Log\FileLogRecordStream.cs (1)
169
public override bool
CanWrite
System\IO\Log\FileRegion.cs (1)
104
public override bool
CanWrite
{ get { return false; } }
System\IO\Log\LogLogRecord.cs (1)
118
public override bool
CanWrite
{ get { return false; } }
System.Runtime.Remoting (6)
channels\core\chunkedmemorystream.cs (1)
48
public override bool
CanWrite
{ get { return true; } }
channels\core\socketstream.cs (1)
47
public override bool
CanWrite
{ get { return true; } }
channels\http\httpstreams.cs (2)
31
public override bool
CanWrite
{ get { return true; } }
258
public override bool
CanWrite
{ get { return false; } }
channels\ipc\pipestream.cs (1)
38
public override bool
CanWrite
{ get { return true; } }
channels\tcp\tcpstreams.cs (1)
48
public override bool
CanWrite
{ get { return false; } }
System.Runtime.Serialization (4)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
112
public override bool
CanWrite
System\Xml\EncodingStreamWrapper.cs (1)
570
public override bool
CanWrite
System\Xml\XmlMtomReader.cs (2)
2098
public override bool
CanWrite
2815
public override bool
CanWrite
System.ServiceModel (5)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
72
public override bool
CanWrite
System\ServiceModel\Channels\Connection.cs (1)
290
public override bool
CanWrite
System\ServiceModel\Channels\DelegatingStream.cs (1)
55
public override bool
CanWrite
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1095
public override bool
CanWrite
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
330
public override bool
CanWrite
{ get { return false; } }
System.ServiceModel.Internals (1)
System\Runtime\BufferedOutputStream.cs (1)
64
public override bool
CanWrite
System.ServiceModel.Web (1)
System\ServiceModel\Channels\StreamBodyWriter.cs (1)
96
public override bool
CanWrite
System.Web (4)
Configuration\RemoteWebConfigurationHostStream.cs (1)
113
public override bool
CanWrite
{ get { return true; } }
HttpBufferlessInputStream.cs (1)
93
public override bool
CanWrite
{
HttpInputStream.cs (1)
340
public override bool
CanWrite
{
HttpWriter.cs (1)
675
public override bool
CanWrite
{
System.Web.Services (2)
System\Web\Services\Protocols\BufferedResponseStream.cs (1)
27
public override bool
CanWrite
{ get { return true; } }
System\Web\Services\Protocols\SoapExtensionStream.cs (1)
39
public override bool
CanWrite
{
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataStreamFromComStream.cs (1)
37
public override bool
CanWrite
{
System.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
192
public override Boolean
CanWrite
{
WindowsBase (16)
Base\MS\Internal\IO\Packaging\CompoundFile\CFStream.cs (1)
65
public override bool
CanWrite
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
80
public override bool
CanWrite
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
39
public override bool
CanWrite
{ get { return !_disposed && baseStream.CanWrite; } }
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStream.cs (1)
182
public override bool
CanWrite
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (1)
239
public override bool
CanWrite
Base\MS\Internal\IO\Packaging\CompressStream.cs (1)
440
public override bool
CanWrite
Base\MS\Internal\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
81
public override bool
CanWrite
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (1)
404
public override bool
CanWrite
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (1)
50
override public bool
CanWrite
Base\MS\Internal\IO\Packaging\streamingZipPartStream.cs (1)
202
public override bool
CanWrite
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (1)
56
override public bool
CanWrite
Base\MS\Internal\IO\Zip\WriteTimeStream.cs (1)
44
override public bool
CanWrite
{ get { return (_baseStream != null); } }
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (1)
58
override public bool
CanWrite
Base\MS\Internal\IO\Zip\ZipIOModeEnforcingStream.cs (1)
67
override public bool
CanWrite
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (1)
260
public override bool
CanWrite
Base\System\IO\Packaging\Package.cs (1)
1560
public override bool
CanWrite
95 references to CanWrite
mscorlib (28)
system\io\binarywriter.cs (1)
81
if (!output.
CanWrite
)
system\io\bufferedstream.cs (7)
120
if (!_stream.CanRead && !_stream.
CanWrite
)
154
if (!_stream.
CanWrite
)
220
get { return _stream != null && _stream.
CanWrite
; }
317
if (_stream.
CanWrite
|| _stream is BufferedStream)
325
if (_stream.
CanWrite
|| _stream is BufferedStream)
384
if (stream.
CanWrite
|| stream is BufferedStream)
1151
Contract.Assert(_stream.
CanWrite
);
system\io\memorystream.cs (2)
435
if (!destination.CanRead && !destination.
CanWrite
)
441
if (!destination.
CanWrite
)
system\io\stream.cs (13)
149
if (!CanRead && !
CanWrite
)
151
if (!destination.CanRead && !destination.
CanWrite
)
155
if (!destination.
CanWrite
)
167
Contract.Requires(destination.
CanWrite
);
185
if (!CanRead && !
CanWrite
)
187
if (!destination.CanRead && !destination.
CanWrite
)
191
if (!destination.
CanWrite
)
205
if (!CanRead && !
CanWrite
)
207
if (!destination.CanRead && !destination.
CanWrite
)
211
if (!destination.
CanWrite
)
222
Contract.Requires(destination.
CanWrite
);
455
if (!
CanWrite
) __Error.WriteNotSupported();
1099
get { return _stream.
CanWrite
; }
system\io\streamwriter.cs (1)
145
if (!stream.
CanWrite
)
system\io\unmanagedmemorystreamwrapper.cs (2)
165
if (!destination.CanRead && !destination.
CanWrite
)
171
if (!destination.
CanWrite
)
system\resources\resourcewriter.cs (1)
118
if (!stream.
CanWrite
)
system\security\cryptography\cryptostream.cs (1)
66
if (!(_stream.
CanWrite
)) throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable"),"stream");
PresentationCore (6)
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (1)
191
return (!_closed && _innerStream.
CanWrite
);
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
107
if ( !stream.
CanWrite
)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1255
isOriginalWritable = stream.CanSeek && stream.
CanWrite
;
1843
if (!seekable || ((!bitmapStream.
CanWrite
) && (bitmapStream.Length <= 1048576)))
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (1)
569
canWrite = dataStream.
CanWrite
;
Shared\MS\Internal\IO\SynchronizingStream.cs (1)
189
return ((_baseStream != null) && _baseStream.
CanWrite
);
PresentationFramework (6)
src\Framework\MS\Internal\AppModel\BamlStream.cs (1)
102
get { return _stream.
CanWrite
; }
src\Framework\MS\Internal\IO\Packaging\managedIStream.cs (2)
137
if (_ioStream.CanRead && _ioStream.
CanWrite
)
145
else if (_ioStream.
CanWrite
)
src\Framework\MS\Internal\Navigation\BindStream.cs (1)
121
return _stream.
CanWrite
;
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
392
if (!_stream.
CanWrite
)
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
56
if (!stream.
CanWrite
)
System (14)
net\System\Net\Cache\_CacheStreams.cs (3)
379
if (!shadowStream.
CanWrite
) {
913
get {return WrappedStream.
CanWrite
;}
1075
get {return WrappedStream.
CanWrite
;}
net\System\Net\mail\DelegatedStream.cs (1)
59
return this.stream.
CanWrite
;
net\System\Net\SecureProtocols\AuthenticatedStream.cs (1)
36
if (!innerStream.CanRead || !innerStream.
CanWrite
) {
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
456
return IsAuthenticated && InnerStream.
CanWrite
;
net\System\Net\SecureProtocols\SslStream.cs (1)
439
return _SslState.IsAuthenticated && InnerStream.
CanWrite
&& !_SslState.IsShutdown;
net\System\Net\webclient.cs (1)
3006
return m_stream.
CanWrite
;
net\System\Net\WebSockets\WebSocketHelpers.cs (2)
515
if (!innerStream.
CanWrite
)
523
if ((!read && !connection.
CanWrite
) ||
sys\system\configuration\ClientSettingsStore.cs (1)
354
get { return _originalStream.
CanWrite
; }
sys\System\IO\compression\DeflateStream.cs (3)
93
if (!_stream.
CanWrite
) {
121
if (!stream.
CanWrite
)
267
return (_mode == CompressionMode.Compress && _stream.
CanWrite
);
System.Core (1)
System\IO\BufferedStream2.cs (1)
82
if (!
CanWrite
) __Error.WriteNotSupported();
System.Data (3)
fx\src\data\System\Data\SQLTypes\SqlXml.cs (3)
320
return m_stream.
CanWrite
;
484
if (!m_stream.
CanWrite
)
496
if (m_isClosed || m_stream == null || (!m_stream.CanRead && !m_stream.
CanWrite
&& !m_stream.CanSeek))
System.Data.Services (2)
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (1)
224
if (writeStream == null || !writeStream.
CanWrite
)
System\Data\Services\WebUtil.cs (1)
539
Debug.Assert(output.
CanWrite
, "output.CanWrite");
System.Runtime.Serialization (2)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
121
return this.stream.
CanWrite
;
System\Xml\EncodingStreamWrapper.cs (1)
577
return this.stream.
CanWrite
;
System.ServiceModel (2)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
74
get { return stream.
CanWrite
&& (!this.closed); }
System\ServiceModel\Channels\DelegatingStream.cs (1)
59
return stream.
CanWrite
;
System.Web.Services (1)
System\Web\Services\Protocols\SoapExtensionStream.cs (1)
42
return innerStream.
CanWrite
;
System.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
193
get { return stream.
CanWrite
; }
WindowsBase (29)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (2)
80
Invariant.Assert(sink.
CanWrite
, "Logic Error - Cannot decompress into a read-only stream");
214
Invariant.Assert(sink.
CanWrite
, "Logic Error - Cannot compress into a read-only stream");
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
86
_baseStream.
CanWrite
&&
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
39
public override bool CanWrite { get { return !_disposed && baseStream.
CanWrite
; } }
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStream.cs (1)
186
return (_stream != null) && _stream.
CanWrite
&& _versionOwner.IsUpdatable;
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStreamOwner.cs (2)
196
return (BaseStream != null) && BaseStream.
CanWrite
&& IsUpdatable;
353
if (!BaseStream.
CanWrite
)
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (1)
243
return (!_disposed && _baseStream.
CanWrite
);
Base\MS\Internal\IO\Packaging\CompressStream.cs (1)
445
return (_mode != Mode.Disposed) && _baseStream.
CanWrite
;
Base\MS\Internal\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
88
return _stream.
CanWrite
;
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (1)
408
return _closed ? false : _dir.GetStream(0).
CanWrite
;
Base\MS\Internal\IO\Packaging\streamingZipPartStream.cs (2)
143
if (_pieceStream.
CanWrite
)
301
if (!_pieceStream.
CanWrite
)
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (1)
60
return (_underlyingStream != null && _underlyingStream.
CanWrite
);
Base\MS\Internal\IO\Zip\WriteTimeStream.cs (1)
125
if (!_baseStream.
CanWrite
)
Base\MS\Internal\IO\Zip\ZipArchive.cs (1)
580
if ((access == FileAccess.Write || access == FileAccess.ReadWrite) && !stream.
CanWrite
)
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (1)
62
return (!_disposedFlag) && (_blockManager.Stream.
CanWrite
);
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (3)
448
if (!_blockManager.Stream.
CanWrite
)
833
if (!stream.
CanWrite
)
839
if (!stream.CanRead || !stream.
CanWrite
)
Base\MS\Internal\IO\Zip\ZipIOModeEnforcingStream.cs (1)
72
_baseStream.
CanWrite
&&
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (1)
264
return (_baseStream != null && _baseStream.
CanWrite
);
Base\System\IO\Packaging\CompoundFile\StorageRoot.cs (1)
142
if( baseStream.
CanWrite
)
Base\System\IO\Packaging\EncryptedPackage.cs (1)
745
if (_packageStream.
CanWrite
)
Base\System\IO\Packaging\Package.cs (2)
1232
if (!s.
CanWrite
&& (access == FileAccess.ReadWrite || access == FileAccess.Write))
1242
if ((s.CanRead && s.
CanWrite
) && (access == FileAccess.Read || access == FileAccess.Write))
Base\System\IO\Packaging\PackagePart.cs (2)
656
if (s.
CanWrite
)
901
if (s.CanRead == false && s.CanSeek == false && s.
CanWrite
== false)
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
153
if (!s.
CanWrite
)