56 references to Null
mscorlib (11)
system\console.cs (4)
281if (s == Stream.Null) 358if (s == Stream.Null) { 492return Stream.Null; 498return Stream.Null;
system\io\binarywriter.cs (1)
61OutStream = Stream.Null;
system\io\streamreader.cs (2)
1256Init(Stream.Null); 1260get { return Stream.Null; }
system\io\streamwriter.cs (2)
57public new static readonly StreamWriter Null = new StreamWriter(Stream.Null, new UTF8Encoding(false, true), MinBufferSize, true); 883if (streamWriter.charPos != 0 && streamWriter.stream != null && streamWriter.stream != Stream.Null) {
system\security\cryptography\passwordderivebytes.cs (2)
270using (CryptoStream cs = new CryptoStream(Stream.Null, _hash, CryptoStreamMode.Write)) { 281using (CryptoStream cs = new CryptoStream(Stream.Null, _hash, CryptoStreamMode.Write)) {
PresentationCore (2)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1194if ((bitmapStream == null) || (bitmapStream == System.IO.Stream.Null)) 1851bitmapStream = System.IO.Stream.Null;
PresentationFramework (1)
src\Framework\MS\Internal\Ink\ISFClipboardData.cs (1)
107if ( stream != null && stream != Stream.Null )
System (32)
net\System\Net\_StreamFramer.cs (1)
58if (Transport == null || Transport == Stream.Null) {
net\System\Net\Cache\_CacheStreams.cs (1)
68m_HeadEOF = headStream == Stream.Null;
net\System\Net\Cache\_RequestCacheProtocol.cs (11)
292if (_Validator.CacheStream != null && _Validator.CacheStream != Stream.Null) 296_Validator.CacheStream = Stream.Null; 321_Validator.CacheStream = Stream.Null; 332if (_Validator.CacheStream == null || _Validator.CacheStream == Stream.Null) 390if (_ResponseStream == null && _Validator.CacheStream != null && _Validator.CacheStream != Stream.Null) 393_Validator.CacheStream = Stream.Null; 449_Validator.CacheStream = Stream.Null; 477if (_Validator.CacheStream == null || _Validator.CacheStream == Stream.Null) 498if (_Validator.CacheStream == null || _Validator.CacheStream == Stream.Null) 550_Validator.CacheStream = Stream.Null; 672if (_Validator.CacheStream == null || _Validator.CacheStream == Stream.Null) {
net\System\Net\Cache\_Rfc2616CacheValidators.cs (3)
682if (ctx.CacheStream == Stream.Null || (int)ctx.CacheStatusCode == 0) { 1046if ((ctx.CacheStream == Stream.Null || (int)ctx.CacheStatusCode == 0) && resp.StatusCode == HttpStatusCode.NotModified) { 1272if (ctx.CacheStream == Stream.Null || ctx.CacheStatusCode == (HttpStatusCode)0) {
net\System\Net\Cache\FtpRequestCacheValidator.cs (4)
122if (CacheStream != Stream.Null) 199if (CacheStream == Stream.Null || CacheEntry.IsPartialEntry) 206if (CacheStream == Stream.Null) 264if (CacheStream == Stream.Null)
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
258if (CacheStream == Stream.Null || (int)CacheStatusCode == 0 || CacheStatusCode == HttpStatusCode.NotModified) 334if (CacheStream == Stream.Null || (int)CacheStatusCode == 0 || CacheStatusCode == HttpStatusCode.NotModified)
net\System\Net\Cache\IERequestCache.cs (3)
231Stream result = Stream.Null; 338result = Stream.Null; 461Stream result = Stream.Null;
net\System\Net\filewebresponse.cs (1)
36m_stream = Stream.Null;
net\System\Net\FtpWebResponse.cs (1)
94if (stream == null || stream == Stream.Null || stream is EmptyStream)
net\System\Net\HttpListenerRequest.cs (1)
446m_RequestStream = HasEntityBody ? new HttpRequestStream(HttpListenerContext) : Stream.Null;
net\System\Net\SecureProtocols\AuthenticatedStream.cs (1)
32if (innerStream == null || innerStream == Stream.Null) {
net\System\Net\webclient.cs (3)
1128if (ReadStream == null || ReadStream == Stream.Null) 1133if (ReadStream == null || ReadStream == Stream.Null) 1249if (stream != null && stream != Stream.Null)
System.Data.SqlXml (1)
System\Xml\Xsl\XmlQueryTypeFactory.cs (1)
1107type.GetObjectData(new BinaryWriter(Stream.Null));
System.IdentityModel (5)
System\IdentityModel\CanonicalizationDriver.cs (1)
98XmlDictionaryWriter writer = XmlDictionaryWriter.CreateTextWriter(Stream.Null);
System\IdentityModel\SignatureResourcePool.cs (2)
118this.utf8Writer = XmlDictionaryWriter.CreateTextWriter(Stream.Null, Encoding.UTF8, false); 122((IXmlTextWriterInitializer) this.utf8Writer).SetOutput(Stream.Null, Encoding.UTF8, false);
System\IdentityModel\SignedXml.cs (2)
879using (XmlDictionaryWriter utf8Writer = XmlDictionaryWriter.CreateTextWriter(Stream.Null, Encoding.UTF8, false)) 900using (XmlDictionaryWriter bufferingWriter = XmlDictionaryWriter.CreateTextWriter(Stream.Null, Encoding.UTF8, false))
System.ServiceModel (2)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
4203return Stream.Null;
System\ServiceModel\Security\SecurityAppliedMessage.cs (1)
269XmlDictionaryWriter encryptingWriter = XmlDictionaryWriter.CreateTextWriter(Stream.Null);
System.Web (2)
UI\WebControls\FileUpload.cs (2)
66if (fileStream != null && fileStream != Stream.Null) { 115return Stream.Null;