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