103 types derived from Stream
mscorlib (9)
system\io\__consolestream.cs (1)
33internal sealed class __ConsoleStream : Stream
system\io\bufferedstream.cs (1)
64public sealed class BufferedStream : Stream {
system\io\filestream.cs (1)
396public class FileStream : Stream
system\io\memorystream.cs (1)
42public class MemoryStream : Stream
system\io\stream.cs (2)
858private sealed class NullStream : Stream 1076internal sealed class SyncStream : Stream, IDisposable
system\io\unmanagedmemorystream.cs (1)
89public class UnmanagedMemoryStream : Stream
system\security\cryptography\cryptostream.cs (1)
32public class CryptoStream : Stream, IDisposable {
system\security\cryptography\mactripledes.cs (1)
145internal sealed class TailStream : Stream {
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
48private class LazyFileStream : Stream
PresentationCore (4)
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
40internal class DeobfuscatingStream : Stream
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
66internal class NetStream: Stream
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (1)
36internal class ResponseStream : Stream
Shared\MS\Internal\IO\SynchronizingStream.cs (1)
22internal class SynchronizingStream : Stream
PresentationFramework (7)
src\Framework\MS\Internal\AppModel\BamlStream.cs (1)
32internal class BamlStream : Stream, IStreamInfo
src\Framework\MS\Internal\IO\Packaging\ByteStream.cs (1)
30internal sealed class ByteStream : Stream
src\Framework\MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (1)
59internal class UnsafeIndexingFilterStream : Stream
src\Framework\MS\Internal\Navigation\BindStream.cs (1)
30internal class BindStream : Stream, IStreamInfo
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (1)
13internal class SharedStream : Stream
src\Framework\System\Windows\Markup\XamlStream.cs (2)
618internal class WriterStream : Stream 787internal class ReaderStream : Stream
System (17)
net\System\Net\_ConnectStream.cs (1)
44internal class ConnectStream : Stream, ICloseEx, IRequestLifetimeTracker
net\System\Net\_FtpDataStream.cs (1)
20internal class FtpDataStream : Stream, ICloseEx {
net\System\Net\_ListenerRequestStream.cs (1)
16unsafe class HttpRequestStream : Stream {
net\System\Net\_ListenerResponseStream.cs (1)
16unsafe class HttpResponseStream : Stream {
net\System\Net\_PooledStream.cs (1)
18internal class PooledStream : Stream {
net\System\Net\Cache\_CacheStreams.cs (1)
29internal abstract class BaseWrapperStream : Stream, IRequestLifetimeTracker
net\System\Net\Cache\_SingleItemRequestCache.cs (2)
297internal class ReadOnlyStream : Stream, IRequestLifetimeTracker { 448private class WriteOnlyStream: Stream {
net\System\Net\mail\DelegatedStream.cs (1)
15internal class DelegatedStream : Stream
net\System\Net\SecureProtocols\AuthenticatedStream.cs (1)
25public abstract class AuthenticatedStream: Stream
net\System\Net\Sockets\NetworkStream.cs (1)
19public class NetworkStream : Stream {
net\System\Net\webclient.cs (1)
2980private class WebClientWriteStream : Stream {
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
22internal class WebSocketHttpListenerDuplexStream : Stream, WebSocketBase.IWebSocketStream
sys\system\configuration\ClientSettingsStore.cs (1)
338private sealed class QuotaEnforcedStream : Stream {
sys\System\IO\compression\DeflateStream.cs (1)
16public class DeflateStream : Stream {
sys\System\IO\compression\GZipStream.cs (1)
7public class GZipStream : Stream {
sys\system\io\ports\SerialStream.cs (1)
53internal sealed partial class SerialStream : Stream
System.Core (2)
System\IO\BufferedStream2.cs (1)
41internal abstract class BufferedStream2 : Stream
System\IO\Pipes\PipeStream.cs (1)
69public abstract class PipeStream : Stream {
System.Data (12)
fx\src\data\Microsoft\SqlServer\Server\SmiGettersStream.cs (1)
16internal class SmiGettersStream : Stream {
fx\src\data\Microsoft\SqlServer\Server\SmiSettersStream.cs (1)
16internal class SmiSettersStream : Stream {
fx\src\data\System\Data\Sql\sqlser.cs (1)
194internal sealed class DummyStream: Stream {
fx\src\data\System\Data\SqlClient\SqlClientWrapperSmiStream.cs (1)
16internal class SqlClientWrapperSmiStream : Stream {
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
9sealed internal class SqlSequentialStream : System.IO.Stream
fx\src\data\System\Data\SqlClient\SqlSequentialStreamSmi.cs (1)
7sealed internal class SqlSequentialStreamSmi : System.IO.Stream
fx\src\data\System\Data\SqlClient\SqlStream.cs (2)
25sealed internal class SqlStream : Stream { 270sealed internal class SqlCachedStream : Stream {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
10104private class TdsOutputStream : Stream {
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (1)
615 internal sealed class StreamOnSqlBytes : Stream
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
24sealed public class SqlFileStream : System.IO.Stream
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
272 internal sealed class SqlXmlStreamWrapper : Stream {
System.Data.Services (3)
parent\Client\System\Data\Services\Client\BatchStream.cs (2)
35internal class BatchStream : Stream 1479private class StreamWithLength : Stream
System\Data\Services\DelegateBodyWriter.cs (1)
92internal class XmlWriterStream : Stream
System.Data.Services.Client (2)
System\Data\Services\Client\BatchStream.cs (2)
35internal class BatchStream : Stream 1479private class StreamWithLength : Stream
System.IdentityModel (1)
System\IdentityModel\HashStream.cs (1)
11sealed class HashStream : Stream
System.IO.Log (3)
System\IO\Log\FileLogRecordStream.cs (1)
14internal class FileLogRecordStream : System.IO.Stream
System\IO\Log\FileRegion.cs (1)
87class Substream : Stream
System\IO\Log\LogLogRecord.cs (1)
105class RecordStream : Stream
System.Runtime.Remoting (6)
channels\core\chunkedmemorystream.cs (1)
20internal class ChunkedMemoryStream : Stream
channels\core\socketstream.cs (1)
24internal sealed class SocketStream : Stream
channels\http\httpstreams.cs (2)
27internal abstract class HttpServerResponseStream : Stream 235internal abstract class HttpReadingStream : Stream
channels\ipc\pipestream.cs (1)
21internal sealed class PipeStream : Stream
channels\tcp\tcpstreams.cs (1)
29internal abstract class TcpReadingStream : Stream
System.Runtime.Serialization (4)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
18class JsonEncodingStreamWrapper : Stream
System\Xml\EncodingStreamWrapper.cs (1)
18class EncodingStreamWrapper : Stream
System\Xml\XmlMtomReader.cs (2)
2076class DelimittedReadStream : Stream 2793internal class BufferedReadStream : Stream
System.ServiceModel (5)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
35class BufferedOutputAsyncStream : Stream
System\ServiceModel\Channels\Connection.cs (1)
253class ConnectionStream : Stream
System\ServiceModel\Channels\DelegatingStream.cs (1)
9abstract class DelegatingStream : Stream
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1029class WebSocketStream : Stream
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
217internal class MessageBodyStream : Stream
System.ServiceModel.Internals (1)
System\Runtime\BufferedOutputStream.cs (1)
11class BufferedOutputStream : Stream
System.ServiceModel.Web (1)
System\ServiceModel\Channels\StreamBodyWriter.cs (1)
68class XmlWriterBackedStream : Stream
System.Web (4)
Configuration\RemoteWebConfigurationHostStream.cs (1)
20internal class RemoteWebConfigurationHostStream : Stream
HttpBufferlessInputStream.cs (1)
24internal class HttpBufferlessInputStream : Stream {
HttpInputStream.cs (1)
288internal class HttpInputStream : Stream {
HttpWriter.cs (1)
656internal class HttpResponseStream : Stream {
System.Web.Services (2)
System\Web\Services\Protocols\BufferedResponseStream.cs (1)
12internal class BufferedResponseStream : Stream {
System\Web\Services\Protocols\SoapExtensionStream.cs (1)
12internal class SoapExtensionStream : Stream {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataStreamFromComStream.cs (1)
19internal class DataStreamFromComStream : Stream {
System.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
102internal class XmlRegisteredNonCachedStream : Stream {
WindowsBase (17)
Base\MS\Internal\IO\Packaging\CompoundFile\CFStream.cs (1)
30internal class CFStream : Stream
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
42internal class RightsManagementEncryptedStream: Stream
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
23internal class StreamWithDictionary : Stream, IDictionary
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStream.cs (1)
28internal class VersionedStream : Stream
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (1)
47internal class CompressEmulationStream : Stream
Base\MS\Internal\IO\Packaging\CompressStream.cs (1)
54internal class CompressStream : Stream
Base\MS\Internal\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
27internal sealed class IgnoreFlushAndCloseStream : Stream
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (1)
38internal partial class InterleavedZipPartStream : Stream
Base\MS\Internal\IO\Packaging\PieceDirectory.cs (1)
27internal partial class InterleavedZipPartStream : Stream
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (1)
27internal class SparseMemoryStream: Stream
Base\MS\Internal\IO\Packaging\streamingZipPartStream.cs (1)
34internal class StreamingZipPartStream : Stream
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (1)
35internal class ProgressiveCrcCalculatingStream: Stream
Base\MS\Internal\IO\Zip\WriteTimeStream.cs (1)
24internal class WriteTimeStream : Stream
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (1)
37internal class ZipIOFileItemStream : Stream
Base\MS\Internal\IO\Zip\ZipIOModeEnforcingStream.cs (1)
35internal class ZipIOModeEnforcingStream: Stream, IDisposable
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (1)
238private class DirtyStateTrackingStream: Stream
Base\System\IO\Packaging\Package.cs (1)
1488private sealed class RestrictedStream : Stream
2849 references to Stream
mscorlib (196)
system\console.cs (14)
279Stream s = OpenStandardInput(DefaultConsoleBufferSize); 281if (s == Stream.Null) 352Stream s; 358if (s == Stream.Null) { 479private static Stream GetStandardFile(int stdHandleName, FileAccess access, int bufferSize) { 492return Stream.Null; 498return Stream.Null; 508Stream console = new __ConsoleStream(sh, access, useFileAPIs); 1839public static Stream OpenStandardError() { 1849public static Stream OpenStandardError(int bufferSize) { 1860public static Stream OpenStandardInput() { 1870public static Stream OpenStandardInput(int bufferSize) { 1881public static Stream OpenStandardOutput() { 1891public static Stream OpenStandardOutput(int bufferSize) {
system\globalization\globalizationassembly.cs (1)
44Stream stream = assembly.GetManifestResourceStream(tableName);
system\io\binaryreader.cs (6)
32private Stream m_stream; 45public BinaryReader(Stream input) : this(input, new UTF8Encoding(), false) { 48public BinaryReader(Stream input, Encoding encoding) : this(input, encoding, false) { 51public BinaryReader(Stream input, Encoding encoding, bool leaveOpen) { 81public virtual Stream BaseStream { 93Stream copyOfStream = m_stream;
system\io\binarywriter.cs (6)
35protected Stream OutStream; 61OutStream = Stream.Null; 67public BinaryWriter(Stream output) : this(output, new UTF8Encoding(false, true), false) 71public BinaryWriter(Stream output, Encoding encoding) : this(output, encoding, false) 75public BinaryWriter(Stream output, Encoding encoding, bool leaveOpen) 120public virtual Stream BaseStream {
system\io\bufferedstream.cs (5)
70private Stream _stream; // Underlying stream. Close sets _stream to null. 94public BufferedStream(Stream stream) 100public BufferedStream(Stream stream, Int32 bufferSize) { 198internal Stream UnderlyingStream { 344BufferedStream _this, Stream stream, Int32 writePos, Int32 readPos, Int32 readLen) {
system\io\isolatedstorage\isolatedstorage.cs (6)
228internal static String GetHash(Stream s) 760Stream domain, Stream assem, Stream app, String domainName, String assemName, String appName) 907if (oNormalized is Stream) 909instanceName = GetHash((Stream)oNormalized);
system\io\isolatedstorage\isolatedstoragefile.cs (2)
2611Stream domain, assem, app; 2750private bool GetIDStream(String path, out Stream s)
system\io\memorystream.cs (2)
421public override Task CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) { 655public virtual void WriteTo(Stream stream) {
system\io\stream.cs (20)
48public static readonly Stream Null = new NullStream(); 129public Task CopyToAsync(Stream destination) 136public Task CopyToAsync(Stream destination, Int32 bufferSize) 143public virtual Task CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) 162private async Task CopyToAsyncInternal(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) 181public void CopyTo(Stream destination) 198public void CopyTo(Stream destination, int bufferSize) 218private void InternalCopyTo(Stream destination, int bufferSize) 285return Task.Factory.StartNew(state => ((Stream)state).Flush(), this, 526var tuple = (Tuple<Stream,ReadWriteTask>)state; 528}, Tuple.Create<Stream,ReadWriteTask>(this, readWriteTask), 615internal Stream _stream; 633Stream stream, byte[] buffer, int offset, int count, AsyncCallback callback) : 774public static Stream Synchronized(Stream stream) 778Contract.Ensures(Contract.Result<Stream>() != null); 1078private Stream _stream; 1084internal SyncStream(Stream stream) 1202private static bool OverridesBeginMethod(Stream stream, string methodName) 1216if (method.DeclaringType == typeof(Stream) &&
system\io\streamreader.cs (17)
66private Stream stream; 133public StreamReader(Stream stream) 137public StreamReader(Stream stream, bool detectEncodingFromByteOrderMarks) 141public StreamReader(Stream stream, Encoding encoding) 145public StreamReader(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks) 159public StreamReader(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize) 163public StreamReader(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen) 240Stream stream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read, DefaultFileStreamBufferSize, FileOptions.SequentialScan, Path.GetFileName(path), false, false, checkHost); 244private void Init(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen) { 262internal void Init(Stream stream) 301public virtual Stream BaseStream { 944Stream tmpStream = Stream_Prop; 1177private Stream Stream_Prop { 1190Stream tmpStream = Stream_Prop; 1256Init(Stream.Null); 1259public override Stream BaseStream { 1260get { return Stream.Null; }
system\io\streamwriter.cs (12)
57public new static readonly StreamWriter Null = new StreamWriter(Stream.Null, new UTF8Encoding(false, true), MinBufferSize, true); 59private Stream stream; 124public StreamWriter(Stream stream) 128public StreamWriter(Stream stream, Encoding encoding) 136public StreamWriter(Stream stream, Encoding encoding, int bufferSize) 140public StreamWriter(Stream stream, Encoding encoding, int bufferSize, bool leaveOpen) 192Stream stream = CreateFile(path, append, checkHost); 197private void Init(Stream streamArg, Encoding encodingArg, int bufferSize, bool shouldLeaveOpen) 224private static Stream CreateFile(String path, bool append, bool checkHost) { 338public virtual Stream BaseStream { 839Encoding encoding, Encoder encoder, Byte[] byteBuffer, Stream stream) 883if (streamWriter.charPos != 0 && streamWriter.stream != null && streamWriter.stream != Stream.Null) {
system\io\unmanagedmemorystreamwrapper.cs (2)
130public unsafe override void WriteTo(Stream stream) { 153public override Task CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) {
system\reflection\assembly.cs (6)
827public virtual Stream GetManifestResourceStream(Type type, String name) 832public virtual Stream GetManifestResourceStream(String name) 1541public override Stream GetManifestResourceStream(Type type, String name) 1549public override Stream GetManifestResourceStream(String name) 2466internal Stream GetManifestResourceStream( 2517internal unsafe Stream GetManifestResourceStream(String name, ref StackCrawlMark stackMark, bool skipSecurityCheck)
system\reflection\cominterfaces.cs (2)
197Stream GetManifestResourceStream(Type type, String name); 198Stream GetManifestResourceStream(String name);
system\reflection\emit\assemblybuilder.cs (4)
119public override Stream GetManifestResourceStream(Type type, String name) 124public override Stream GetManifestResourceStream(String name) 1221public override Stream GetManifestResourceStream(Type type, String name) 1226public override Stream GetManifestResourceStream(String name)
system\reflection\emit\assemblybuilderdata.cs (2)
541Stream memoryStream, 564internal Stream m_memoryStream;
system\reflection\emit\modulebuilder.cs (2)
1340public void DefineManifestResource(String name, Stream stream, ResourceAttributes attribute) 1357private void DefineManifestResourceNoLock(String name, Stream stream, ResourceAttributes attribute)
system\resources\manifestbasedresourcegroveler.cs (6)
68Stream stream = null; 284internal ResourceSet CreateResourceSet(Stream store, Assembly assembly) 430private Stream GetManifestResourceStream(RuntimeAssembly satellite, String fileName, ref StackCrawlMark stackMark) 440Stream stream = satellite.GetManifestResourceStream(_mediator.LocationInfo, fileName, canSkipSecurityCheck, ref stackMark); 455private Stream CaseInsensitiveManifestResourceStreamLookup(RuntimeAssembly satellite, String name) 514Stream s = satellite.GetManifestResourceStream(canonicalName, ref stackMark, canSkipSecurityCheck);
system\resources\resourcemanager.cs (1)
719Stream stream = mainAssembly.GetManifestResourceStream(_locationInfo, fileName, m_callingAssembly == MainAssembly, ref stackMark);
system\resources\resourcereader.cs (2)
180public ResourceReader(Stream stream) 202internal ResourceReader(Stream stream, Dictionary<String, ResourceLocator> resCache)
system\resources\resourceset.cs (1)
97public ResourceSet(Stream stream)
system\resources\resourcewriter.cs (11)
81internal Stream m_stream; 84internal StreamWrapper(Stream s, bool closeAfterWrite) 97private Stream _output; 114public ResourceWriter(Stream stream) 154if (value != null && value is Stream) 156AddResourceInternal(name, (Stream)value, false); 170public void AddResource(String name, Stream value) 185public void AddResource(String name, Stream value, bool closeAfterWrite) 196private void AddResourceInternal(String name, Stream value, bool closeAfterWrite) 351Stream dataSection = null; // Either a FileStream or a MemoryStream 697Stream s = sw.m_stream;
system\resources\runtimeresourceset.cs (2)
196Stream stream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read); 212internal RuntimeResourceSet(Stream stream) : base(false)
system\runtime\remoting\channelsinkstacks.cs (7)
51void AsyncProcessResponse(ITransportHeaders headers, Stream stream); 139public void AsyncProcessResponse(ITransportHeaders headers, Stream stream) 229void AsyncProcessResponse(IMessage msg, ITransportHeaders headers, Stream stream); 233Stream GetResponseStream(IMessage msg, ITransportHeaders headers); 365public void AsyncProcessResponse(IMessage msg, ITransportHeaders headers, Stream stream) 383public Stream GetResponseStream(IMessage msg, ITransportHeaders headers) 397Stream stream = savedSink.GetResponseStream(this, savedState, msg, headers);
system\runtime\remoting\dispatchchannelsink.cs (4)
56ITransportHeaders requestHeaders, Stream requestStream, 58out Stream responseStream) 83IMessage msg, ITransportHeaders headers, Stream stream) 91public Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state,
system\runtime\remoting\ichannel.cs (9)
157ITransportHeaders requestHeaders, Stream requestStream, 158out ITransportHeaders responseHeaders, out Stream responseStream); 170ITransportHeaders headers, Stream stream); 174ITransportHeaders headers, Stream stream); 180Stream GetRequestStream(IMessage msg, ITransportHeaders headers); 221ITransportHeaders requestHeaders, Stream requestStream, 223out Stream responseStream); 231IMessage msg, ITransportHeaders headers, Stream stream); 239Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state,
system\runtime\remoting\iremotingformatter.cs (2)
27Object Deserialize(Stream serializationStream, HeaderHandler handler); 31void Serialize(Stream serializationStream, Object graph, Header[] headers);
system\runtime\serialization\formatter.cs (2)
46public abstract Object Deserialize(Stream serializationStream); 89public abstract void Serialize(Stream serializationStream, Object graph);
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (2)
2043public void Dump(Stream sout) 2049private void DumpInternal(Stream sout)
system\runtime\serialization\formatters\binary\binaryformatter.cs (11)
111public Object Deserialize(Stream serializationStream) 117internal Object Deserialize(Stream serializationStream, HeaderHandler handler, bool fCheck) 150public Object Deserialize(Stream serializationStream, HeaderHandler handler) { 156public Object DeserializeMethodResponse(Stream serializationStream, HeaderHandler handler, IMethodCallMessage methodCallMessage) { 162public Object UnsafeDeserialize(Stream serializationStream, HeaderHandler handler) { 169public Object UnsafeDeserializeMethodResponse(Stream serializationStream, HeaderHandler handler, IMethodCallMessage methodCallMessage) { 174internal Object Deserialize(Stream serializationStream, HeaderHandler handler, bool fCheck, IMethodCallMessage methodCallMessage) { 180internal Object Deserialize(Stream serializationStream, HeaderHandler handler, bool fCheck, bool isCrossAppDomain, IMethodCallMessage methodCallMessage) { 203public void Serialize(Stream serializationStream, Object graph) 211public void Serialize(Stream serializationStream, Object graph, Header[] headers) 219internal void Serialize(Stream serializationStream, Object graph, Header[] headers, bool fCheck)
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (2)
32internal Stream sout; 45internal __BinaryWriter(Stream sout, ObjectWriter objectWriter, FormatterTypeStyle formatterTypeStyle)
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (2)
39internal Stream m_stream; 110internal ObjectReader(Stream stream, ISurrogateSelector selector, StreamingContext context, InternalFE formatterEnums, SerializationBinder binder)
system\runtime\serialization\formatters\binary\binaryparser.cs (2)
34internal Stream input; 51internal __BinaryParser(Stream stream, ObjectReader objectReader)
system\runtime\serialization\iformatter.cs (2)
22Object Deserialize(Stream serializationStream); 24void Serialize(Stream serializationStream, Object graph);
system\security\cryptography\cryptostream.cs (3)
35private Stream _stream; 51public CryptoStream(Stream stream, ICryptoTransform transform, CryptoStreamMode mode) 55public CryptoStream(Stream stream, ICryptoTransform transform, CryptoStreamMode mode, bool leaveOpen) {
system\security\cryptography\dsa.cs (3)
91protected virtual byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) 114public virtual byte[] SignData(Stream data, HashAlgorithmName hashAlgorithm) 142public virtual bool VerifyData(Stream data, byte[] signature, HashAlgorithmName hashAlgorithm)
system\security\cryptography\dsacryptoserviceprovider.cs (2)
243public byte[] SignData(Stream inputStream) { 287protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm)
system\security\cryptography\hashalgorithm.cs (1)
57public byte[] ComputeHash(Stream inputStream) {
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)) {
system\security\cryptography\rsa.cs (3)
105protected virtual byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) { 137public virtual byte[] SignData(Stream data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding) { 183public bool VerifyData(Stream data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding) {
system\security\cryptography\rsacryptoserviceprovider.cs (2)
311public byte[] SignData(Stream inputStream, Object halg) { 534protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) {
system\security\permissions\permissionattributes.cs (1)
1137private PermissionSet BruteForceParseStream(Stream stream)
system\security\util\parser.cs (1)
25using Stream = System.IO.Stream;
system\security\util\tokenizer.cs (1)
256Stream stream = null;
PresentationBuildTasks (25)
Base\System\IO\Packaging\Compoundfile\FormatVersion.cs (1)
309public int SaveToStream(Stream stream)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
58private Stream SourceStream
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (7)
261using (Stream uidStream = new FileStream(tempFile, FileMode.Create)) 263using (Stream source = File.OpenRead(inputFile.ItemSpec)) 315using (Stream uidStream = new FileStream(tempFile, FileMode.Create)) 317using (Stream source = File.OpenRead(inputFile.ItemSpec)) 499using (Stream xamlStream = File.OpenRead(fileName)) 952internal UidWriter(UidCollector collector, Stream source, Stream target)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
504Stream bamlStream = null;
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (1)
43Stream xamlStream,
BuildTasks\MS\Internal\Shared\SourceFileInfo.cs (2)
115internal Stream Stream 161private Stream _stream;
BuildTasks\MS\Internal\Tasks\CompilerLocalReference.cs (1)
252Stream stream = _taskFileService.GetContent(_localCacheFile);
BuildTasks\MS\Internal\Tasks\CompilerState.cs (1)
165Stream stream = null;
BuildTasks\MS\Internal\Tasks\TaskFileService.cs (4)
45Stream GetContent(string srcFile); 126public Stream GetContent(string srcFile) 128Stream fileStream = null; 206using (Stream fileStream = File.OpenRead(fileName))
Framework\System\Windows\Markup\BamlBinaryWriter.cs (1)
24public BamlBinaryWriter(Stream stream, Encoding code)
Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
57Stream stream, 1833public Stream BamlStream 1910Stream _bamlStream;
Framework\System\Windows\Markup\XamlParser.cs (1)
87Stream xamlStream,
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
697private static int ReliableRead(Stream stream, byte[] buffer, int offset, int count)
PresentationCore (212)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (8)
57protected override Stream GetStreamCore(FileMode mode, FileAccess access) 93private Stream GetStreamAndSetContentType(bool onlyNeedContentType) 122Stream temp = _cacheStream; 152Stream responseStream; 166private Stream HandleFileSource(bool onlyNeedContentType) 187private Stream HandleWebSource(bool onlyNeedContentType) 190Stream responseStream = response.GetResponseStream(); 234Stream _cacheStream = null;
Core\CSharp\MS\Internal\FontCache\FontSource.cs (4)
237Stream fontStream = response.GetResponseStream(); 288public Stream GetStream() 314Stream fontStream = response.GetResponseStream(); 339private static byte [] StreamToByteArray(Stream fontStream)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (3)
165internal static CompositeFontInfo LoadXml(Stream fileStream) 175private CompositeFontParser(Stream fileStream) 236private XmlReader CreateXmlReader(Stream fileStream)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (7)
59internal static void EncodeToStream(ExtendedProperty attribute, Stream stream) 91internal static void EncodeAttribute(Guid guid, object value, VarEnum type, Stream stream) 337internal static uint EncodeAsISF(Guid id, byte[] data, Stream strm, GuidList guidList, byte compressionAlgorithm, bool fTag) 446internal static uint DecodeAsISF(Stream stream, uint cbSize, GuidList guidList, KnownTagCache.KnownTagIndex tag, ref Guid guid, out object data) 545internal static object DecodeAttribute(Guid guid, Stream stream) 563internal static object DecodeAttribute(Guid guid, Stream memStream, out VarEnum type) 773internal static uint EncodeAsISF(ExtendedPropertyCollection attributes, Stream stream, GuidList guidList, byte compressionAlgorithm, bool fTag)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (8)
132internal static uint DecodeAsISF(Stream stream, GuidList guidList, uint maximumStreamSize, DrawingAttributes da) 478internal static uint EncodeAsISF(DrawingAttributes da, Stream stream, GuidList guidList, byte compressionAlgorithm, bool fTag) 504private static void PersistDrawingFlags(DrawingAttributes da, Stream stream, GuidList guidList, ref uint cbData, ref BinaryWriter bw) 522private static void PersistColorAndTransparency(DrawingAttributes da, Stream stream, GuidList guidList, ref uint cbData, ref BinaryWriter bw) 555private static void PersistRasterOperation(DrawingAttributes da, Stream stream, GuidList guidList, ref uint cbData, ref BinaryWriter bw) 596private static void PersistExtendedProperties(DrawingAttributes da, Stream stream, GuidList guidList, ref uint cbData, ref BinaryWriter bw, byte compressionAlgorithm, bool fTag) 642private static void PersistStylusTip(DrawingAttributes da, Stream stream, GuidList guidList, ref uint cbData, ref BinaryWriter bw) 669private static void PersistWidthHeight(DrawingAttributes da, Stream stream, GuidList guidList, ref uint cbData, ref BinaryWriter bw)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GuidTagList.cs (2)
204public uint Save(Stream stream) 248public uint Load(Stream strm, uint size)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (25)
82internal void DecodeISF(Stream inkData) 212internal uint LoadStrokeIds(Stream isfStream, uint cbSize) 250private bool IsGIFData(Stream inkdata) 267private void ExamineStreamHeader(Stream inkdata, out bool fBase64, out bool fGif, out uint cbData) 315private void DecodeRawISF(Stream inputStream) 840private uint LoadDrawAttrsTable(Stream strm, GuidList guidList, uint cbSize) 899private uint DecodeStrokeDescriptor(Stream strm, uint cbSize, out StrokeDescriptor descr) 979private uint DecodeStrokeDescriptorBlock(Stream strm, uint cbSize) 1003private uint DecodeStrokeDescriptorTable(Stream strm, uint cbSize) 1055private uint DecodeMetricTable(Stream strm, uint cbSize) 1105private uint DecodeMetricBlock(Stream strm, uint cbSize, out MetricBlock block) 1174private uint DecodeTransformTable(Stream strm, uint cbSize, bool useDoubles) 1230internal static uint ReliableRead(Stream stream, byte[] buffer, uint requestedCount) 1266private uint DecodeTransformBlock(Stream strm, KnownTagCache.KnownTagIndex tag, uint cbSize, bool useDoubles, out TransformDescriptor xform) 1353private uint DecodeInkSpaceRectangle(Stream strm, uint cbSize) 1719internal void EncodeISF(Stream outputStream) 1924private void StoreStrokeData(Stream localStream, GuidList guidList, ref uint cumulativeEncodedSize, ref uint localEncodedSize) 2058internal static uint SaveStrokeIds(StrokeCollection strokes, Stream strm, bool forceSave) 2159private bool IsBase64Data(Stream data) 2265private uint SerializePacketDescrTable(Stream strm) 2321private uint SerializeMetricTable(Stream strm) 2369private uint EncodeStrokeDescriptor(Stream strm, StrokeDescriptor strd) 2390private uint SerializeTransformTable(Stream strm) 2464private uint EncodeTransformDescriptor(Stream strm, TransformDescriptor xform, bool useDoubles) 2534private uint SerializeDrawingAttrsTable(Stream stream, GuidList guidList)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (1)
500public uint Pack(Stream strm)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\SerializationHelper.cs (6)
43public static uint Encode(Stream strm, uint Value) 68public static uint EncodeLarge(Stream strm, ulong ulValue) 97public static uint SignEncode(Stream strm, int Value) 127public static uint Decode(Stream strm, out uint dw) 152public static uint DecodeLarge(Stream strm, out ulong ull) 180public static uint SignDecode(Stream strm, out int i)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (6)
63internal static uint DecodeStroke(Stream stream, 151Stream stream, 378static uint LoadPackets(Stream inputStream, 701Stream stream, 854Stream stream, 1005Stream stream,
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (4)
95internal ByteRangeDownloader(Uri requestedUri, Stream tempStream, SafeWaitHandle eventHandle, Mutex fileMutex) 685private bool Write(Stream s, int offset, int length) 722using (Stream s = response.GetResponseStream()) 965private System.IO.Stream _tempFileStream; // stream to write to
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (2)
200internal DeobfuscatingStream(Stream obfuscatedStream, Uri streamUri, bool leaveOpen) 361private Stream _obfuscatedStream; // stream we ultimately decompress from and to in the container
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (3)
90Stream responseStream, 1357Stream _tempFileStream; // local temp stream we are writing to and reading from - protected by _tempFileMutex 1379private Stream _responseStream; // Stream returned by WebResponse
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
79public override Stream GetRequestStream()
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (7)
50internal ResponseStream(Stream s, PackWebResponse response, Stream owningStream, Package container) 62internal ResponseStream(Stream s, PackWebResponse response) 74private void Init(Stream s, PackWebResponse response, Stream owningStream, Package container) 281private Stream _innerStream; // stream we are emulating 283private Stream _owningStream; // stream under the _innerStream when opening a Part
Core\CSharp\MS\Internal\Resources\ResourceManagerWrapper.cs (3)
49internal Stream GetStream(string name) 51Stream stream = null; 86stream = this.ResourceSet.GetObject(name) as Stream;
Core\CSharp\MS\Internal\SystemDrawingHelper.cs (3)
106internal static Stream GetCommentFromGifStream(Stream stream) 127internal static void SaveMetafileToImageStream(MemoryStream metafileStream, Stream imageStream)
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (4)
201internal static Stream CreateRequestAndGetResponseStream(Uri uri) 207internal static Stream CreateRequestAndGetResponseStream(Uri uri, out ContentType contentType) 274internal static Stream GetResponseStream(WebRequest request) 284internal static Stream GetResponseStream(WebRequest request, out ContentType contentType)
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (1)
115public override Stream GetRequestStream()
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (5)
202public override Stream GetResponseStream() 278Stream s = p.GetStream(FileMode.Open, FileAccess.Read); 646internal Stream GetResponseStream() 684Stream s = p.GetStream(FileMode.Open, FileAccess.Read); 998private Stream _responseStream; // mimic existing Response behavior by creating and returning
Core\CSharp\System\Windows\Clipboard.cs (3)
185public static Stream GetAudioStream() 187return GetDataInternal(DataFormats.WaveAudio) as Stream; 281public static void SetAudio(Stream audioStream)
Core\CSharp\System\Windows\DataObject.cs (13)
521public Stream GetAudioStream() 523return GetData(DataFormats.WaveAudio, /*autoConvert*/false) as Stream; 599public void SetAudio(Stream audioStream) 1779if (data is Stream) 1781hr = SaveStreamToHandle(medium.unionmember, (Stream)data, doNotReallocate); 1888Stream inkStream = data as Stream; 1998Stream stream; 2023private int SaveStreamToHandle(IntPtr handle, Stream stream, bool doNotReallocate) 2070Stream bitmapStream; 3376private Stream ReadByteStreamFromHandle(IntPtr handle, out bool isSerializedObject) 3442Stream stream; 3484Stream bitmapStream;
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (7)
74public StrokeCollection(Stream stream) 85Stream seekableStream = GetSeekableStream(stream); 101public virtual void Save(Stream stream, bool compress) 116public void Save(Stream stream) 124internal void SaveIsf(Stream stream, bool compress) 134private Stream GetSeekableStream(Stream stream)
Core\CSharp\System\Windows\Ink\StrokeCollectionConverter.cs (1)
156ConstructorInfo ci = typeof(StrokeCollection).GetConstructor(new Type[] { typeof(Stream) });
Core\CSharp\System\Windows\Input\Cursor.cs (4)
79public Cursor(Stream cursorStream):this(cursorStream, false) 88public Cursor(Stream cursorStream, bool scaleWithDpi) 252private void LegacyLoadFromStream(Stream cursorStream) 322private void LoadFromStream(Stream cursorStream)
Core\CSharp\System\Windows\Media\ColorContext.cs (3)
255public Stream OpenProfileStream() 603Stream profileStream = null; 693private void FromStream(Stream stm, string filename)
Core\CSharp\System\Windows\Media\Effects\PixelShader.cs (3)
37public void SetStreamSource(Stream source) 93Stream stream = null; 138private void LoadPixelShaderFromStreamIntoMemory(Stream source)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
328public Stream GetFontStream()
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (6)
50if (sourceType == typeof(string) || sourceType == typeof(Stream) || sourceType == typeof(Uri) || sourceType == typeof(byte[])) 136Stream memStream = null; 158else if (value is Stream) 160Stream stream = (Stream)value; 248private unsafe Stream GetBitmapStream(byte[] rawData)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (24)
149Stream bitmapStream, 206Stream stream, 211Stream uriStream, 287Stream stream, 299Stream uriStream = null; 554Stream bitmapStream, 1147Stream stream, 1151out Stream uriStream, 1158System.IO.Stream bitmapStream = null; 1194if ((bitmapStream == null) || (bitmapStream == System.IO.Stream.Null)) 1366private static Stream ProcessHttpsFiles(Uri uri, Stream stream) 1368Stream bitmapStream = stream; 1400private static Stream ProcessHttpFiles(Uri uri, Stream stream) 1403Stream bitmapStream = stream; 1445private static Stream ProcessUncFiles(Uri uri) 1447Stream bitmapStream = null; 1562private static System.IO.Stream GetSeekableStream(System.IO.Stream bitmapStream) 1807private static IntPtr GetIStreamFromStream(ref System.IO.Stream bitmapStream) 1851bitmapStream = System.IO.Stream.Null; 1948internal Stream _stream; 1961internal Stream _uriStream;
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (3)
51internal Stream inputStream; 52internal Stream outputStream; 108Stream stream
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
379public virtual void Save(System.IO.Stream stream)
Core\CSharp\System\Windows\Media\Imaging\BitmapFrame.cs (3)
66Stream stream, 203Stream bitmapStream 229Stream bitmapStream,
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (2)
678_streamSource = e.NewValue as Stream; 938private Stream _streamSource;
Core\CSharp\System\Windows\Media\Imaging\BmpBitmapDecoder.cs (3)
71Stream bitmapStream, 91Stream stream, 96Stream uriStream,
Core\CSharp\System\Windows\Media\Imaging\Generated\BitmapImage.cs (4)
198public Stream StreamSource 202return (Stream) GetValue(StreamSourceProperty); 483internal static Stream s_StreamSource = null; 534typeof(Stream),
Core\CSharp\System\Windows\Media\Imaging\GifBitmapDecoder.cs (3)
71Stream bitmapStream, 91Stream stream, 96Stream uriStream,
Core\CSharp\System\Windows\Media\Imaging\IconBitmapDecoder.cs (3)
71Stream bitmapStream, 91Stream stream, 96Stream uriStream,
Core\CSharp\System\Windows\Media\Imaging\JpegBitmapDecoder.cs (3)
71Stream bitmapStream, 91Stream stream, 96Stream uriStream,
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (3)
59Stream stream, 349Stream newStream = (Stream)arg;
Core\CSharp\System\Windows\Media\Imaging\PngBitmapDecoder.cs (3)
71Stream bitmapStream, 91Stream stream, 96Stream uriStream,
Core\CSharp\System\Windows\Media\Imaging\TiffBitmapDecoder.cs (3)
71Stream bitmapStream, 91Stream stream, 96Stream uriStream,
Core\CSharp\System\Windows\Media\Imaging\UnknownBitmapDecoder.cs (2)
82Stream stream, 87Stream uriStream,
Core\CSharp\System\Windows\Media\Imaging\WmpBitmapDecoder.cs (3)
71Stream bitmapStream, 91Stream stream, 96Stream uriStream,
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (3)
171protected System.IO.Stream dataStream; 179private StreamAsIStream(System.IO.Stream dataStream) 764internal static IntPtr IStreamFrom(System.IO.Stream stream)
Shared\MS\Internal\IO\SynchronizingStream.cs (2)
34internal SynchronizingStream(Stream stream, Object syncRoot) 280private Stream _baseStream; // stream we are wrapping
PresentationFramework (171)
src\Framework\Microsoft\Win32\OpenFileDialog.cs (4)
89public Stream OpenFile() 142public Stream[] OpenFiles() 153Stream[] streams = new Stream[cachedFileNames.Length];
src\Framework\Microsoft\Win32\SaveFileDialog.cs (1)
89public Stream OpenFile()
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (4)
1142private static void WriteInt32(Stream stream, int value) 1150private static int ReadInt32(Stream stream) 1267SecurityCriticalData<Stream> _packageStream = new SecurityCriticalData<Stream>(null);
src\Framework\MS\Internal\AppModel\AppModelKnownContentFactory.cs (3)
43internal static object BamlConverter(Stream stream, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter) 81internal static object XamlConverter(Stream stream, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter) 131internal static object HtmlXappConverter(Stream stream, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter)
src\Framework\MS\Internal\AppModel\BamlStream.cs (2)
48internal BamlStream(Stream stream, Assembly assembly) 290private Stream _stream = null;
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (4)
75protected override Stream GetStreamCore(FileMode mode, FileAccess access) 77Stream stream = null; 164private Stream CriticalOpenFile(string filename) 166Stream s = null;
src\Framework\MS\Internal\AppModel\MimeObjectFactory.cs (2)
27internal delegate object StreamToObjectFactoryDelegate(Stream s, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter); 41internal static object GetObjectAndCloseStream(Stream s, ContentType contentType, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter)
src\Framework\MS\Internal\AppModel\ResourcePart.cs (4)
87protected override Stream GetStreamCore(FileMode mode, FileAccess access) 89Stream stream = null; 139private Stream EnsureResourceLocationSet() 141Stream stream = null;
src\Framework\MS\Internal\Globalization\BamlResourceDeserializer.cs (2)
33internal static BamlTree LoadBaml(Stream bamlStream) 54private BamlTree LoadBamlImp(Stream bamlSteam)
src\Framework\MS\Internal\Globalization\BamlResourceSerializer.cs (2)
31internal static void Serialize(BamlLocalizer localizer, BamlTree tree, Stream output) 58Stream output
src\Framework\MS\Internal\Ink\ISFClipboardData.cs (1)
107if ( stream != null && stream != Stream.Null )
src\Framework\MS\Internal\IO\Packaging\managedIStream.cs (2)
35internal ManagedIStream(Stream ioStream) 246private Stream _ioStream;
src\Framework\MS\Internal\IO\Packaging\PackageFilter.cs (1)
680private Stream _currentStream; //defaults to null
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (2)
124internal XamlFilter(Stream stream) 1042private Stream _xamlStream;
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (3)
662private static Stream FileToStream( 671Stream s = new FileStream(filePath, fileMode, fileAccess, fileSharing); 731private Stream _packageStream;
src\Framework\MS\Internal\Navigation\BindStream.cs (3)
34internal BindStream(Stream stream, long maxBytes, 448public Stream Stream 484Stream _stream;
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
53public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, Stream annotationStore) : this(originalPaginator, new XmlStreamStore(annotationStore), FlowDirection.LeftToRight) 63public AnnotationDocumentPaginator(DocumentPaginator originalPaginator, Stream annotationStore, FlowDirection flowDirection) : this(originalPaginator, new XmlStreamStore(annotationStore), flowDirection)
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (4)
82public XmlStreamStore(Stream stream) 111public XmlStreamStore(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces) 1028private void SetStream(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces) 1066private Stream _stream;
src\Framework\System\Windows\Application.cs (7)
484Stream stream = null; // stream could be extracted from the manifest resource or cached in the 595Stream stream = part.GetStream(); 631internal static object LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) 812Stream stream = null; 2877internal NestedBamlLoadInfo(Uri uri, Stream stream, bool bSkipJournalProperty) 2898internal Stream BamlStream 2920private Stream _BamlStream = null;
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
763System.IO.Stream stream = null;
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (5)
181private delegate Stream LoadStreamCaller(Uri uri); 186private Stream LoadStreamAsync(Uri uri) 213Stream newStream = caller.EndInvoke(asyncResult); 228m_player = new SoundPlayer((Stream)newStream); 232m_player.Stream = (Stream)newStream;
src\Framework\System\Windows\Controls\WebBrowser.cs (3)
257public void NavigateToStream(Stream stream) 906internal Stream DocumentStream 1401private Stream _documentStream;
src\Framework\System\Windows\Data\XmlDataProvider.cs (1)
587Stream stream = response.GetResponseStream();
src\Framework\System\Windows\DeferrableContent.cs (2)
33internal Stream Stream 55internal DeferrableContent(Stream stream, Baml2006SchemaContext schemaContext,
src\Framework\System\Windows\DeferrableContentConverter.cs (3)
31if (typeof(Stream).IsAssignableFrom(sourceType) || sourceType == typeof(byte[])) 69Stream stream = value as Stream;
src\Framework\System\Windows\Documents\DocumentReference.cs (1)
294Stream docStream = null;
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
965Stream pageStream = null;
src\Framework\System\Windows\Documents\FixedFindEngine.cs (2)
352Stream pageStream = pageContent.GetPageStream(); 372private static String _ConstructPageString(Stream pageStream, bool reverseRTL)
src\Framework\System\Windows\Documents\FixedSchema.cs (2)
29public XmlEncodingEnforcingTextReader(Stream objectStream) 73Stream objectStream,
src\Framework\System\Windows\Documents\ITextRange.cs (2)
150void Save(Stream stream, string dataFormat); 176void Save(Stream stream, string dataFormat, bool preserveTextElements);
src\Framework\System\Windows\Documents\PageContent.cs (6)
394internal Stream GetPageStream() 397Stream pageStream = null; 547Stream pageStream; 607Stream pageStream = (Stream)_pendingStreams[sender]; 613internal static void _LoadPageImpl(Uri baseUri, Uri uriToLoad, out FixedPage fixedPage, out Stream pageStream)
src\Framework\System\Windows\Documents\PageContentAsyncResult.cs (2)
162Stream responseStream; 278private Stream _pendingStream;
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (1)
254internal void WriteImageData(Stream imageStream, bool isBinary)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
8719Stream imageStream = _wpfPayload.CreateImageStream(_imageCount, contentType, out imagePartUriString);
src\Framework\System\Windows\Documents\Serialization\ISerializerFactory.cs (1)
31SerializerWriter CreateSerializerWriter(Stream stream);
src\Framework\System\Windows\Documents\Serialization\SerializerProvider.cs (1)
174public SerializerWriter CreateSerializerWriter(SerializerDescriptor serializerDescriptor, Stream stream)
src\Framework\System\Windows\Documents\Speller.cs (1)
1743using (Stream sourceStream = WpfWebRequestHelper.CreateRequestAndGetResponseStream(resolvedUri))
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (3)
147Stream wpfContainerMemory = null; 546internal static string ConvertXamlToRtf(string xamlContent, Stream wpfContainerMemory) 568using (Stream xamlStream = wpfPayload.CreateXamlStream())
src\Framework\System\Windows\Documents\TextRange.cs (6)
197void ITextRange.Save(Stream stream, string dataFormat) 204void ITextRange.Save(Stream stream, string dataFormat, bool preserveTextElements) 940public void Save(Stream stream, string dataFormat) 974public void Save(Stream stream, string dataFormat, bool preserveTextElements) 1005public void Load(Stream stream, string dataFormat) 1092internal virtual void LoadVirtual(Stream stream, string dataFormat)
src\Framework\System\Windows\Documents\TextRangeBase.cs (3)
1514internal static void Save(ITextRange thisRange, Stream stream, string dataFormat, bool preserveTextElements) 1551Stream wpfPayloadMemory = null; 1568internal static void Load(TextRange thisRange, Stream stream, string dataFormat)
src\Framework\System\windows\Documents\TextSelection.cs (1)
1360internal override void LoadVirtual(Stream stream, string dataFormat)
src\Framework\System\Windows\Documents\WpfPayload.cs (12)
166internal static string SaveRange(ITextRange range, ref Stream stream, bool useFlowDocumentAsRoot) 193internal static string SaveRange(ITextRange range, ref Stream stream, bool useFlowDocumentAsRoot, bool preserveTextElements) 225Stream xamlPartStream = xamlEntryPart.GetStream(); 269Stream xamlPartStream = xamlEntryPart.GetStream(); 319internal static object LoadElement(Stream stream) 501Stream imageStream = imagePart.GetStream(); 709internal Stream CreateXamlStream() 717internal Stream CreateImageStream(int imageCount, string contentType, out string imagePartUriString) 739internal Stream GetImageStream(string imageSourceString) 754private Package CreatePackage(Stream stream) 778internal static WpfPayload CreateWpfPayload(Stream stream) 799internal static WpfPayload OpenWpfPayload(Stream stream)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (3)
2024Stream imageStream = _wpfPayload.GetImageStream(documentNode.FormatState.ImageSource); 2046private void WriteShapeImage(DocumentNode documentNode, Stream imageStream, RtfImageFormat imageFormat) 2210private string ConvertToImageHexDataString(Stream imageStream)
src\Framework\System\Windows\Documents\XPSS0ValidatingLoader.cs (3)
30internal object Load(Stream stream, Uri parentUri, ParserContext pc, ContentType mimeType) 35internal void Validate(Stream stream, Uri parentUri, ParserContext pc, ContentType mimeType, string rootElement) 56private object Load(Stream stream, Uri parentUri, ParserContext pc, ContentType mimeType, string rootElement)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (5)
61public Baml2006Reader(Stream stream) 74public Baml2006Reader(Stream stream, XamlReaderSettings xamlReaderSettings) 98internal Baml2006Reader(Stream stream, 116Stream stream, 125private void Initialize(Stream stream,
src\Framework\System\Windows\Markup\Baml2006\BamlBinaryReader.cs (1)
7public BamlBinaryReader(Stream stream)
src\Framework\System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
18private readonly Stream _stream;
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (5)
15private Stream _baseStream; 21public SharedStream(Stream baseStream) 37public SharedStream(Stream baseStream, long offset, long length) 47private void Initialize(Stream baseStream, long offset, long length) 292public Stream BaseStream
src\Framework\System\Windows\Markup\BamlBinaryReader.cs (1)
20public BamlBinaryReader(Stream stream, Encoding code)
src\Framework\System\Windows\Markup\BamlBinaryWriter.cs (1)
24public BamlBinaryWriter(Stream stream, Encoding code)
src\Framework\System\Windows\Markup\BamlReader.cs (1)
175public BamlReader(Stream bamlStream)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (10)
104Stream bamlStream, 112Stream bamlStream, 138Stream bamlStream, 200Stream stream = BinaryReader.BaseStream; 215Stream stream = BinaryReader.BaseStream; 325Stream stream = BinaryReader.BaseStream; 1070Stream bamlStream = BamlStream; 1726Stream stream = BinaryReader.BaseStream; 5461internal Stream BamlStream 5707Stream _bamlStream;
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
57Stream stream, 1833public Stream BamlStream 1910Stream _bamlStream;
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
50Stream stream)
src\Framework\System\Windows\Markup\Localizer\BamlLocalizer.cs (4)
47public BamlLocalizer(Stream source) : this (source, null) 57Stream source, 70Stream source, 101Stream target,
src\Framework\System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
106if (!(source is byte[] || source is String || source is Stream))
src\Framework\System\Windows\Markup\XamlReader.cs (8)
77Stream xamlStream = new MemoryStream(UTF8Encoding.Default.GetBytes(xamlText)); 88public static object Load(Stream stream) 123public static object Load(Stream stream, ParserContext parserContext) 147public object LoadAsync(Stream stream) 195public object LoadAsync(Stream stream, ParserContext parserContext) 695internal static object Load(Stream stream, ParserContext parserContext, bool useRestrictiveXamlReader) 954Stream stream, 1121private Stream _stream;
src\Framework\System\Windows\Markup\XamlWriter.cs (1)
154public static void Save(object obj, Stream stream)
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
3139Stream s = response.GetResponseStream(); 3267private void DrainResponseStreamForPartialCacheFileBug(Stream s)
src\Framework\System\Windows\ResourceDictionary.cs (2)
180Stream s = null; 2608private Stream _bamlStream;
src\Framework\System\Windows\Resources\StreamResourceInfo.cs (3)
52public StreamResourceInfo(Stream stream, String contentType) 79public Stream Stream 95private Stream _stream;
src\Framework\System\Windows\SystemResources.cs (1)
922Stream stream = null;
System (341)
compmod\microsoft\csharp\csharpcodeprovider.cs (4)
674Stream temp = new FileStream(responseFileName, FileMode.Create, FileAccess.Write, FileShare.Read); 3596using (Stream str = File.OpenRead(fileName)) { } 3678using (Stream str = File.OpenRead(fileName)) { } 3737Stream temp = new FileStream(filenames[i], FileMode.Create, FileAccess.Write, FileShare.Read);
compmod\system\codedom\compiler\CodeCompiler.cs (4)
108using (Stream str = File.OpenRead(fileName)) { } 206using (Stream str = File.OpenRead(fileName)) { } 265Stream temp = new FileStream(filenames[i], FileMode.Create, FileAccess.Write, FileShare.Read); 458Stream temp = new FileStream(responseFileName, FileMode.Create, FileAccess.Write, FileShare.Read);
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (6)
145Stream s = asm.GetManifestResourceStream(fileName + ".licenses"); 175Stream s = resourceAssembly.GetManifestResourceStream(licResourceName); 204Stream s = OpenRead(licenseFile); 224private Stream CaseInsensitiveManifestResourceStreamLookup(Assembly satellite, string name) 247static Stream OpenRead(Uri resourceUri) { 248Stream result = null;
compmod\system\componentmodel\design\DesigntimeLicenseContextSerializer.cs (2)
42public static void Serialize(Stream o, string cryptoKey, DesigntimeLicenseContext context) { 48internal static void Deserialize(Stream o, string cryptoKey, RuntimeLicenseContext context) {
compmod\system\componentmodel\design\serialization\ComponentSerializationService.cs (1)
43public abstract SerializationStore LoadStore(Stream stream);
compmod\system\componentmodel\design\serialization\SerializationStore.cs (1)
47public abstract void Save(Stream stream);
compmod\system\componentmodel\LicFileLicenseProvider.cs (1)
82Stream licStream = new FileStream(licenseFile, FileMode.Open, FileAccess.Read, FileShare.Read);
compmod\system\diagnostics\DefaultTraceListener.cs (1)
134using (Stream stream = file.Open(FileMode.OpenOrCreate)) {
compmod\system\diagnostics\DelimitedListTraceListener.cs (2)
23public DelimitedListTraceListener(Stream stream) : base(stream) { 26public DelimitedListTraceListener(Stream stream, string name) : base(stream, name) {
compmod\system\diagnostics\TextWriterTraceListener.cs (2)
41public TextWriterTraceListener(Stream stream) 49public TextWriterTraceListener(Stream stream, string name)
compmod\system\diagnostics\XmlWriterTraceListener.cs (2)
31public XmlWriterTraceListener(Stream stream) : base(stream){ } 32public XmlWriterTraceListener(Stream stream, string name) : base(stream, name){ }
net\System\Net\_ChunkParser.cs (2)
49private Stream dataSource; 97public ChunkParser(Stream dataSource, byte[] internalBuffer, int initialBufferOffset, int initialBufferCount,
net\System\Net\_CommandStream.cs (10)
140internal Stream SubmitRequest(WebRequest request, bool async, bool readInitalResponseOnConnect) { 207protected Stream ContinueCommandPipeline() 252Stream stream = null; 268private bool PostSendCommandProcessing(ref Stream stream) 312private bool PostReadCommandProcessing(ref Stream stream) 417protected virtual PipelineInstruction PipelineCallback(PipelineEntry entry, ResponseDescription response, bool timeout, ref Stream stream) { 431Stream stream = (Stream)state.Connection; 469Stream stream = null; 667Stream stream = null;
net\System\Net\_FtpControlStream.cs (3)
173private PipelineInstruction QueueOrCreateFtpDataStream(ref Stream stream) 244protected override PipelineInstruction PipelineCallback(PipelineEntry entry, ResponseDescription response, bool timeout, ref Stream stream) 659private PipelineInstruction QueueOrCreateDataConection(PipelineEntry entry, ResponseDescription response, bool timeout, ref Stream stream, out bool isSocketReady)
net\System\Net\_StreamFramer.cs (4)
33private Stream m_Transport; 57public StreamFramer(Stream Transport) { 58if (Transport == null || Transport == Stream.Null) { 108public Stream Transport {
net\System\Net\Cache\_CacheStreams.cs (13)
31private Stream m_WrappedStream; 33protected Stream WrappedStream 38public BaseWrapperStream(Stream wrappedStream) 57private Stream m_HeadStream; 64internal CombinedReadStream(Stream headStream, Stream tailStream) 68m_HeadEOF = headStream == Stream.Null; 367private Stream m_ShadowStream; 376internal ForwardingReadStream(Stream originalStream, Stream shadowStream, long bytesToSkip, bool throwOnWriteError) 858internal MetadataUpdateStream( Stream parentStream, 884private MetadataUpdateStream(Stream parentStream, RequestCache cache, string key, bool isStrictCacheErrors) 1050internal RangeStream (Stream parentStream, long offset, long size)
net\System\Net\Cache\_RequestCacheProtocol.cs (22)
41private Stream _ResponseStream; 57internal Stream ResponseStream {get {return _ResponseStream;}} 157internal CacheValidationStatus GetRevalidateStatus (WebResponse response, Stream responseStream) 194internal CacheValidationStatus GetUpdateStatus (WebResponse response, Stream responseStream) 254Stream stream = _ResponseStream; 292if (_Validator.CacheStream != null && _Validator.CacheStream != Stream.Null) 296_Validator.CacheStream = Stream.Null; 305Stream stream; 321_Validator.CacheStream = Stream.Null; 332if (_Validator.CacheStream == null || _Validator.CacheStream == Stream.Null) 341Stream stream = _Validator.CacheStream; 390if (_ResponseStream == null && _Validator.CacheStream != null && _Validator.CacheStream != Stream.Null) 393_Validator.CacheStream = Stream.Null; 398private void CheckRetrieveOnResponse(Stream responseStream) { 449_Validator.CacheStream = Stream.Null; 477if (_Validator.CacheStream == null || _Validator.CacheStream == Stream.Null) 485Stream stream = _Validator.CacheStream; 498if (_Validator.CacheStream == null || _Validator.CacheStream == Stream.Null) 550_Validator.CacheStream = Stream.Null; 557private void CheckUpdateOnResponse(Stream responseStream) 613Stream stream; 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\_SingleItemRequestCache.cs (13)
44public FrozenCacheEntry(string key, RequestCacheEntry entry, Stream stream): this(key, entry, GetBytes(stream)) 65static byte[] GetBytes(Stream stream) 122internal override Stream Retrieve(string key, out RequestCacheEntry cacheEntry) 124Stream result; 138internal override Stream Store(string key, long contentLength, DateTime expiresUtc, DateTime lastModifiedUtc, TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata) 140Stream result; 174internal override bool TryRetrieve(string key, out RequestCacheEntry cacheEntry, out Stream readStream) 186Stream realCacheStream; 204internal override bool TryStore(string key, long contentLength, DateTime expiresUtc, DateTime lastModifiedUtc, TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata, out Stream writeStream) 224Stream realWriteStream = null; 290internal override void UnlockEntry(Stream stream) 452private Stream _RealStream; 460public WriteOnlyStream(string key, SingleItemRequestCache cache, RequestCacheEntry cacheEntry, Stream realWriteStream)
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 (12)
80internal override Stream Retrieve(string key, out RequestCacheEntry cacheEntry) 85internal override bool TryRetrieve(string key, out RequestCacheEntry cacheEntry, out Stream readStream) 97internal override Stream Store(string key, long contentLength, DateTime expiresUtc, DateTime lastModifiedUtc, TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata) 102internal override bool TryStore(string key, long contentLength, DateTime expiresUtc, DateTime lastModifiedUtc, TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata, out Stream writeStream) 209internal override void UnlockEntry(Stream stream) 223private Stream Lookup(string key, out RequestCacheEntry cacheEntry, bool isThrow) 231Stream result = Stream.Null; 338result = Stream.Null; 383private Stream GetWriteStream(string key, long contentLength, DateTime expiresUtc, DateTime lastModifiedUtc, TimeSpan maxStale, StringCollection entryMetadata, StringCollection systemMetadata, bool isThrow) 461Stream result = Stream.Null;
net\System\Net\Cache\RequestCache.cs (5)
53internal abstract Stream Retrieve(string key, out RequestCacheEntry cacheEntry); 59internal abstract Stream Store( 89internal abstract bool TryRetrieve(string key, out RequestCacheEntry cacheEntry, out Stream readStream); 100out Stream writeStream); 121internal abstract void UnlockEntry(Stream retrieveStream);
net\System\Net\Cache\RequestCacheValidator.cs (2)
74internal Stream _CacheStream; 133protected internal Stream CacheStream
net\System\Net\filewebrequest.cs (6)
37Stream m_stream; 296public override Stream EndGetRequestStream(IAsyncResult asyncResult) 300Stream stream; 314stream = (Stream) result; 367public override Stream GetRequestStream() 525Stream requestStream = m_stream;
net\System\Net\filewebresponse.cs (4)
26Stream m_stream; 36m_stream = Stream.Null; 160Stream chkStream = m_stream; 175public override Stream GetResponseStream() {
net\System\Net\FtpWebRequest.cs (9)
228private Stream m_Stream; 880public override Stream GetRequestStream() { 1003public override Stream EndGetRequestStream(IAsyncResult asyncResult) { 1008Stream requestStream = null; 1079Stream stream; 1174private Stream TimedSubmitRequestHelper(bool async) 1183Stream stream = null; 1694Stream stream; 1905Stream responseStream = m_Stream;
net\System\Net\FtpWebResponse.cs (7)
23internal Stream m_ResponseStream; 36internal FtpWebResponse(Stream responseStream, long contentLength, Uri responseUri, FtpStatusCode statusCode, string statusLine, DateTime lastModified, string bannerMessage, string welcomeMessage, string exitMessage) { 68public override Stream GetResponseStream() 70Stream responseStream = null; 92internal void SetResponseStream(Stream stream) 94if (stream == null || stream == Stream.Null || stream is EmptyStream) 108Stream stream = m_ResponseStream;
net\System\Net\HttpListenerRequest.cs (3)
222private Stream m_RequestStream; 442public /* override */ Stream InputStream { 446m_RequestStream = HasEntityBody ? new HttpRequestStream(HttpListenerContext) : Stream.Null;
net\System\Net\HttpListenerResponse.cs (1)
96public /* override */ Stream OutputStream {
net\System\Net\HttpWebRequest.cs (10)
278private Action<Stream> _resendRequestContent; 1449public override Stream EndGetRequestStream(IAsyncResult asyncResult) { 1457public Stream EndGetRequestStream(IAsyncResult asyncResult, out TransportContext context) 1510public override Stream GetRequestStream() { 1516/// <para>Gets a <see cref='System.IO.Stream'/> that the application can use to write request data. 1524public Stream GetRequestStream(out TransportContext context) { 4272Stream oldResponseStream = _HttpResponse.ResponseStream; 5231Action<Stream> resendRequestContent) 6131private Stream MakeMemoryStream(Stream stream) {
net\System\Net\HttpWebResponse.cs (9)
40private Stream m_ConnectStream; 68private Stream m_WebSocketConnectionStream = null; 86internal Stream ResponseStream { 405public override Stream GetResponseStream() { 410Stream result; 446Stream stream = m_ConnectStream; 474Stream stream = m_ConnectStream; 730public GZipWrapperStream(Stream stream, CompressionMode mode) : base( stream, mode, false) { 835public DeflateWrapperStream(Stream stream, CompressionMode mode) : base( stream, mode, false) {
net\System\Net\Internal.cs (1)
1763public Stream m_ConnectStream;
net\System\Net\mail\AlternateView.cs (3)
28public AlternateView(Stream contentStream) : 32public AlternateView(Stream contentStream, string mediaType) : 36public AlternateView(Stream contentStream, ContentType contentType) :
net\System\Net\mail\Attachment.cs (10)
34protected AttachmentBase(Stream contentStream) { 38protected AttachmentBase(Stream contentStream, string mediaType) { 42internal AttachmentBase(Stream contentStream, string name, string mediaType) { 46protected AttachmentBase(Stream contentStream, ContentType contentType) { 89Stream stream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read); 106Stream stream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read); 201public Stream ContentStream { 333public Attachment(Stream contentStream, string name) : 340public Attachment(Stream contentStream, string name, string mediaType) : 347public Attachment(Stream contentStream, ContentType contentType) :
net\System\Net\mail\Base64Stream.cs (3)
55internal Base64Stream(Stream stream, Base64WriteStateInfo writeStateInfo) 62internal Base64Stream(Stream stream, int lineLength) 323public Stream GetStream()
net\System\Net\mail\BaseWriter.cs (9)
20protected Stream contentStream; 22protected Stream stream; 29protected BaseWriter(Stream stream, bool shouldEncodeLeadingDots) 106internal Stream GetContentStream() 111private Stream GetContentStream(MultiAsyncResult multiResult) 123Stream tempStream = new EightBitStream(this.stream, shouldEncodeLeadingDots); 133Stream s = GetContentStream(multiResult); 143internal Stream EndGetContentStream(IAsyncResult result) 150return (Stream)o;
net\System\Net\mail\BufferedReadStream.cs (2)
21internal BufferedReadStream(Stream stream) : this(stream, false) 25internal BufferedReadStream(Stream stream, bool readMore) : base(stream)
net\System\Net\mail\ClosableStream.cs (1)
22internal ClosableStream(Stream stream, EventHandler onClose) : base(stream)
net\System\Net\mail\DelegatedStream.cs (3)
17Stream stream; 22protected DelegatedStream(Stream stream) 31protected Stream BaseStream
net\System\Net\mail\EightBitStream.cs (3)
50internal EightBitStream(Stream stream) : base(stream) 54internal EightBitStream(Stream stream, bool shouldEncodeLeadingDots) 170public Stream GetStream()
net\System\Net\mail\EncodedStreamFactory.cs (1)
27internal IEncodableStream GetEncoder(TransferEncoding encoding, Stream stream)
net\System\Net\mail\IEncodableStream.cs (1)
10Stream GetStream();
net\System\Net\mail\LinkedResource.cs (3)
33public LinkedResource(Stream contentStream) : 37public LinkedResource(Stream contentStream, string mediaType) : 41public LinkedResource(Stream contentStream, ContentType contentType) :
net\System\Net\mail\MailWriter.cs (1)
20internal MailWriter(Stream stream)
net\System\Net\mail\MimeMultiPart.cs (2)
191internal Stream outputStream; 201Stream outputStream = writer.GetContentStream();
net\System\Net\mail\MimePart.cs (11)
15Stream stream = null; 32internal Stream Stream { 88internal void SetContent(Stream stream){ 105internal void SetContent(Stream stream, string name, string mimeType) { 120internal void SetContent(Stream stream, ContentType contentType) { 214internal Stream GetEncodedStream(Stream stream){ 215Stream outputStream = stream; 233Stream outputStream = context.writer.EndGetContentStream(result); 271internal Stream outputStream; 306Stream outputStream = writer.GetContentStream();
net\System\Net\mail\MimeWriter.cs (1)
25internal MimeWriter(Stream stream, string boundary)
net\System\Net\mail\QEncodedStream.cs (1)
284public Stream GetStream()
net\System\Net\mail\QuotedPrintableStream.cs (3)
71internal QuotedPrintableStream(Stream stream, int lineLength) : base(stream) 79internal QuotedPrintableStream(Stream stream, bool encodeCRLF) 319public Stream GetStream()
net\System\Net\mail\smtpconnection.cs (1)
558internal Stream GetClosableStream()
net\System\Net\mail\SmtpReplyReaderFactory.cs (1)
33internal SmtpReplyReaderFactory(Stream stream)
net\System\Net\mail\SmtpTransport.cs (1)
368Stream stream;
net\System\Net\NetWebProxyFinder.cs (1)
308using (Stream responseStream = response.GetResponseStream())
net\System\Net\SecureProtocols\_FixedSizeReader.cs (2)
33private readonly Stream _Transport; 37public FixedSizeReader(Stream transport)
net\System\Net\SecureProtocols\_NegoState.cs (2)
45private Stream _InnerStream; 73internal NegoState(Stream innerStream, bool leaveStreamOpen) {
net\System\Net\SecureProtocols\_SslState.cs (4)
50private Stream _InnerStream; 108internal SslState(Stream innerStream, bool isHTTP, EncryptionPolicy encryptionPolicy): this(innerStream, null, null, encryptionPolicy) 116internal SslState(Stream innerStream, RemoteCertValidationCallback certValidationCallback, LocalCertSelectionCallback certSelectionCallback, EncryptionPolicy encryptionPolicy) 383internal Stream InnerStream {
net\System\Net\SecureProtocols\AuthenticatedStream.cs (4)
27private Stream _InnerStream; 30protected AuthenticatedStream(Stream innerStream, bool leaveInnerStreamOpen) 32if (innerStream == null || innerStream == Stream.Null) { 51protected Stream InnerStream {
net\System\Net\SecureProtocols\NegotiateStream.cs (2)
47public NegotiateStream(Stream innerStream): this(innerStream, false) 51public NegotiateStream(Stream innerStream, bool leaveInnerStreamOpen): base(innerStream, leaveInnerStreamOpen)
net\System\Net\SecureProtocols\SslStream.cs (5)
70public SslStream(Stream innerStream) 75public SslStream(Stream innerStream, bool leaveInnerStreamOpen) 79public SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback) 83public SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, 88public SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback,
net\System\Net\webclient.cs (41)
429public Stream OpenRead(string address) { 435public Stream OpenRead(Uri address) { 444Stream stream = response.GetResponseStream(); 467public Stream OpenWrite(string address) { 473public Stream OpenWrite(Uri address) { 480public Stream OpenWrite(string address, string method) { 486public Stream OpenWrite(Uri address, string method) { 1072internal Stream WriteStream; 1077internal Stream ReadStream; 1080internal DownloadBitsState(WebRequest request, Stream writeStream, CompletionDelegate completionDelegate, AsyncOperation asyncOp, ProgressData progress, WebClient webClient) { 1128if (ReadStream == null || ReadStream == Stream.Null) 1133if (ReadStream == null || ReadStream == Stream.Null) 1242Stream stream = state.ReadStream; 1249if (stream != null && stream != Stream.Null) 1282private byte[] DownloadBits(WebRequest request, Stream writeStream, CompletionDelegate completionDelegate, AsyncOperation asyncOp) { 1331internal Stream WriteStream; 1340internal Stream ReadStream; 1342internal UploadBitsState(WebRequest request, Stream readStream, byte[] buffer, int chunkSize, byte[] header, byte[] footer, CompletionDelegate uploadCompletionDelegate, CompletionDelegate downloadCompletionDelegate, AsyncOperation asyncOp, ProgressData progress, WebClient webClient) { 1380internal void SetRequestStream(Stream writeStream) { 1478Stream stream = request.EndGetRequestStream(result); 1502Stream stream = (Stream) state.WriteStream; 1540private void UploadBits(WebRequest request, Stream readStream, byte[] buffer, int chunkSize, byte[] header, byte[] footer, CompletionDelegate uploadCompletionDelegate, CompletionDelegate downloadCompletionDelegate, AsyncOperation asyncOp) { 1545Stream writeStream; 1801Stream stream = null; 2572public Task<Stream> OpenReadTaskAsync(string address) 2579public Task<Stream> OpenReadTaskAsync(Uri address) 2582var tcs = new TaskCompletionSource<Stream>(address); 2603public Task<Stream> OpenWriteTaskAsync(string address) 2610public Task<Stream> OpenWriteTaskAsync(Uri address) 2617public Task<Stream> OpenWriteTaskAsync(string address, string method) 2624public Task<Stream> OpenWriteTaskAsync(Uri address, string method) 2627var tcs = new TaskCompletionSource<Stream>(address); 2983private Stream m_stream; 2986public WebClientWriteStream(Stream stream, WebRequest request, WebClient webClient) { 3112private Stream m_Result; 3113internal OpenReadCompletedEventArgs(Stream result, Exception exception, bool cancelled, object userToken) : 3117public Stream Result { 3128private Stream m_Result; 3129internal OpenWriteCompletedEventArgs(Stream result, Exception exception, bool cancelled, object userToken) : 3133public Stream Result {
net\System\Net\WebRequest.cs (7)
806/// returns a <see cref='System.IO.Stream'/> object that is used for writing data 810public virtual Stream GetRequestStream() { 851/// <para>Returns a <see cref='System.IO.Stream'/> object that is used for writing data to the resource 855public virtual Stream EndGetRequestStream(IAsyncResult asyncResult) { 861public virtual Task<Stream> GetRequestStreamAsync() 883return Task<Stream>.Factory.FromAsync(this.BeginGetRequestStream, 891return Task.Run(() => Task<Stream>.Factory.FromAsync(this.BeginGetRequestStream,
net\System\Net\WebResponse.cs (3)
183/// <para>When overridden in a derived class, returns the <see cref='System.IO.Stream'/> object used 187public virtual Stream GetResponseStream() { 188Contract.Ensures(Contract.Result<Stream>() != null);
net\System\Net\WebSockets\InternalClientWebSocket.cs (1)
25public InternalClientWebSocket(Stream innerStream, string subProtocol, int receiveBufferSize, int sendBufferSize,
net\System\Net\WebSockets\ServerWebSocket.cs (1)
25public ServerWebSocket(Stream innerStream,
net\System\Net\WebSockets\WebSocket.cs (2)
63public static WebSocket CreateClientWebSocket(Stream innerStream, 90internal static WebSocket CreateServerWebSocket(Stream innerStream,
net\System\Net\WebSockets\WebSocketBase.cs (2)
36private readonly Stream m_InnerStream; 70protected WebSocketBase(Stream innerStream,
net\System\Net\WebSockets\WebSocketHelpers.cs (2)
503internal static void ValidateInnerStream(Stream innerStream) 521internal static void ThrowIfConnectionAborted(Stream connection, bool read)
services\monitoring\system\diagnosticts\AsyncStreamReader.cs (5)
32private Stream stream; 60internal AsyncStreamReader(Process process, Stream stream, UserCallBack callback, Encoding encoding) 69internal AsyncStreamReader(Process process, Stream stream, UserCallBack callback, Encoding encoding, int bufferSize) 79private void Init(Process process, Stream stream, UserCallBack callback, Encoding encoding, int bufferSize) { 129public virtual Stream BaseStream {
services\monitoring\system\diagnosticts\Process.cs (2)
2559Stream s = standardOutput.BaseStream; 2595Stream s = standardError.BaseStream;
sys\system\configuration\ClientSettingsStore.cs (5)
283public override Stream OpenStreamForRead(string streamName) { 296public override Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext) { 297Stream stream = null; 339private Stream _originalStream; 342internal QuotaEnforcedStream(Stream originalStream, bool isRoaming) {
sys\System\IO\compression\DeflateStream.cs (7)
25private Stream _stream; 45public DeflateStream(Stream stream, CompressionMode mode) 50internal DeflateStream(Stream stream, bool leaveOpen, IFileFormatReader reader) 66public DeflateStream(Stream stream, CompressionMode mode, bool leaveOpen) { 110public DeflateStream(Stream stream, CompressionLevel compressionLevel) 116public DeflateStream(Stream stream, CompressionLevel compressionLevel, bool leaveOpen) { 245public Stream BaseStream {
sys\System\IO\compression\GZipStream.cs (5)
12public GZipStream(Stream stream, CompressionMode mode) 18public GZipStream(Stream stream, CompressionMode mode, bool leaveOpen) { 32public GZipStream(Stream stream, CompressionLevel compressionLevel) 39public GZipStream(Stream stream, CompressionLevel compressionLevel, bool leaveOpen) { 169public Stream BaseStream {
sys\system\io\ports\SerialPort.cs (1)
115public Stream BaseStream
sys\system\Media\SoundPlayer.cs (5)
44private Stream stream = null; 72public SoundPlayer(Stream stream) : this() { 91stream = (Stream) entry.Value; 143public Stream Stream { 436private void SetupStream(Stream stream) {
System.Activities (5)
System\Activities\XamlIntegration\ActivityXamlServices.cs (5)
28public static Activity Load(Stream stream) 43public static Activity Load(Stream stream, ActivityXamlServicesSettings settings) 200public static XamlReader CreateReader(Stream stream) 481Stream beforeInitializeStream = assembly.GetManifestResourceStream(resource); 538Stream initializeXaml = componentType.Assembly.GetManifestResourceStream(resource);
System.Activities.DurableInstancing (8)
System\Activities\DurableInstancing\DefaultObjectSerializer.cs (4)
59protected virtual Dictionary<XName, object> DeserializePropertyBag(Stream stream) 80protected virtual object DeserializeValue(Stream stream) 88protected virtual void SerializePropertyBag(Stream stream, Dictionary<XName, object> propertyBag) 105protected virtual void SerializeValue(Stream stream, object value)
System\Activities\DurableInstancing\GZipObjectSerializer.cs (4)
14protected override Dictionary<XName, object> DeserializePropertyBag(Stream stream) 21protected override object DeserializeValue(Stream stream) 29protected override void SerializePropertyBag(Stream stream, Dictionary<XName, object> propertyBag) 37protected override void SerializeValue(Stream stream, object value)
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (3)
137Stream stream = assembly.GetManifestResourceStream(resourceName); 264public XamlImageInfo(Stream stream) 292public BitmapImageInfo(Stream stream)
System.AddIn (10)
System\Addin\Hosting\AddInIpcChannel.cs (9)
93public void AsyncProcessResponse(IServerResponseChannelSinkStack sinkStack, object state, IMessage msg, ITransportHeaders headers, System.IO.Stream stream) 102public System.IO.Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, object state, IMessage msg, ITransportHeaders headers) 121public ServerProcessing ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, System.IO.Stream requestStream, out IMessage responseMsg, out ITransportHeaders responseHeaders, out System.IO.Stream responseStream) 205public void AsyncProcessRequest(IClientChannelSinkStack sinkStack, IMessage msg, ITransportHeaders headers, System.IO.Stream stream) 214public void AsyncProcessResponse(IClientResponseChannelSinkStack sinkStack, object state, ITransportHeaders headers, System.IO.Stream stream) 223public System.IO.Stream GetRequestStream(IMessage msg, ITransportHeaders headers) 241public void ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream requestStream, out ITransportHeaders responseHeaders, out System.IO.Stream responseStream)
System\Addin\Hosting\AddInStore.cs (1)
1088using (Stream s = File.OpenRead(storeFileName))
System.Configuration (39)
System\Configuration\AppSettingsSection.cs (1)
127using (Stream sourceFileStream = new FileStream(sourceFileFullPath, FileMode.Open, FileAccess.Read, FileShare.Read)) {
System\Configuration\BaseConfigurationRecord.cs (4)
613using (Stream stream = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) { 771using (Stream stream = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) { 1799using (Stream stream = Host.OpenStreamForRead(sectionXmlInfo.Filename)) { 1925using (Stream stream = Host.OpenStreamForRead(configSourceStreamName)) {
System\Configuration\ClientConfigPaths.cs (1)
415private static String GetHash(Stream s) {
System\Configuration\ClientConfigurationHost.cs (2)
320public override Stream OpenStreamForRead(string streamName) { 355public override Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext) {
System\Configuration\Internal\DelegatingConfigHost.cs (4)
98public virtual Stream OpenStreamForRead(string streamName) { 102public virtual Stream OpenStreamForRead(string streamName, bool assertPermissions) { 106public virtual Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext) { 110public virtual Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions) {
System\Configuration\Internal\IInternalConfigHost.cs (4)
50Stream OpenStreamForRead(string streamName); 51Stream OpenStreamForRead(string streamName, bool assertPermissions); 53Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext); 55Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions);
System\Configuration\Internal\InternalConfigHost.cs (8)
135static internal Stream StaticOpenStreamForRead(string streamName) { 147Stream IInternalConfigHost.OpenStreamForRead(string streamName) { 153Stream IInternalConfigHost.OpenStreamForRead(string streamName, bool assertPermissions) { 154Stream stream = null; 188static internal Stream StaticOpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions) { 222Stream stream; 272Stream IInternalConfigHost.OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext) { 277Stream IInternalConfigHost.OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions) {
System\Configuration\Internal\WriteFileContext.cs (1)
269Stream FileStream = null;
System\Configuration\MgmtConfigurationRecord.cs (8)
1204using (Stream streamRead = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) { 1246using (Stream streamWrite = Host.OpenStreamForWrite(ConfigStreamInfo.StreamName, null, ref writeContext)) { 2278using (Stream preambleStream = new MemoryStream(buffer)) { 2321using (Stream stream = new MemoryStream(buffer)) { 3088using (Stream streamRead = Host.OpenStreamForRead(configSourceStreamName)) { 3120using (Stream streamWrite = Host.OpenStreamForWrite(configSourceStreamName, templateStreamName, ref writeContext)) { 3163using (Stream stream = new MemoryStream(buffer)) { 3171using (Stream stream = new MemoryStream(buffer)) {
System\Configuration\updateconfighost.cs (2)
95public override Stream OpenStreamForRead(string streamName) { 105public override Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext) {
System\Configuration\XmlUtil.cs (3)
66private Stream _stream; // the stream to read 74internal XmlUtil(Stream stream, string name, bool readToFirstElement) : 78internal XmlUtil(Stream stream, string name, bool readToFirstElement, ConfigurationSchemaErrors schemaErrors) {
System\Configuration\XmlUtilWriter.cs (1)
45private Stream _baseStream; // stream under TextWriter when tracking position
System.Core (9)
System\Diagnostics\EventSchemaTraceListener.cs (1)
691Stream stream;
System\Security\Cryptography\BCryptHashAlgorithm.cs (1)
233public void HashStream(Stream stream) {
System\Security\Cryptography\ECDsa.cs (3)
97protected virtual byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) { 118public virtual byte[] SignData(Stream data, HashAlgorithmName hashAlgorithm) { 158public bool VerifyData(Stream data, byte[] signature, HashAlgorithmName hashAlgorithm) {
System\Security\Cryptography\ECDsaCng.cs (3)
290public byte[] SignData(Stream data) { 388public bool VerifyData(Stream data, byte[] signature) { 459protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) {
System\Security\Cryptography\RsaCng.cs (1)
175protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm)
System.Data (113)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (3)
137Stream stream = assembly.GetManifestResourceStream(resourceName); 264public XamlImageInfo(Stream stream) 292public BitmapImageInfo(Stream stream)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (1)
235System.IO.Stream byteStream = new System.IO.MemoryStream((byte[])_object, false);
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (12)
362Stream s = new SmiGettersStream( sink, getters, ordinal, metaData ); 398Stream s = new SmiGettersStream( sink, getters, ordinal, metaData ); 719internal static Stream GetStream(SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData, bool bypassTypeCheck = false) { 2317internal static Stream CopyIntoNewSmiScratchStream( Stream source, SmiEventSink_Default sink, SmiContext context ) { 2318Stream dest; 2349internal static SqlStreamChars CopyIntoNewSmiScratchStreamChars( Stream source, SmiEventSink_Default sink, SmiContext context ) { 2388Stream s = new SmiGettersStream( sink, getters, ordinal, metaData ); 2722System.IO.Stream target = new SmiSettersStream( sink, setters, ordinal, metaData ); 3182Stream s = new SmiGettersStream( sink, getters, ordinal, SmiMetaData.DefaultXml ); 3183Stream copy = ValueUtilsSmi.CopyIntoNewSmiScratchStream( s, sink, context ); 3614System.IO.Stream target = new SmiSettersStream(sink, setters, ordinal, SmiMetaData.DefaultXml);
fx\src\data\System\Data\Common\AdapterUtil.cs (4)
2111static internal Stream GetFileStream(string filename) { 2135static internal Stream GetXmlStreamFromValues(String[] values, String errorString) { 2148static internal Stream GetXmlStream(String value, String errorString) { 2149Stream XmlStream;
fx\src\data\System\Data\Common\DbDataReader.cs (1)
167virtual public Stream GetStream(int ordinal) {
fx\src\data\System\Data\DataSet.cs (14)
1507public void InferXmlSchema(Stream stream, string[] nsArray) 1711/// <para>Reads the XML schema from the specified <see cref='System.IO.Stream'/> into the 1714public void ReadXmlSchema(Stream stream) 1750/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to using the specified <see cref='Stream'/> object.</summary> 1751/// <param name="stream">A <see cref='Stream'/> object used to write to a file.</param> 1752public void WriteXmlSchema(Stream stream) 1757/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to using the specified <see cref='Stream'/> object.</summary> 1758/// <param name="stream">A <see cref='Stream'/> object used to write to a file.</param> 1760public void WriteXmlSchema(Stream stream, Converter<Type, string> multipleTargetConverter) 1834private void WriteXmlSchema(Stream stream, SchemaFormat schemaFormat, Converter<Type, string> multipleTargetConverter) 2118public XmlReadMode ReadXml(Stream stream) 2530public XmlReadMode ReadXml(Stream stream, XmlReadMode mode) 2584public void WriteXml(Stream stream) 2616public void WriteXml(Stream stream, XmlWriteMode mode)
fx\src\data\System\Data\DataTable.cs (8)
4747public void WriteXml(Stream stream) 4752public void WriteXml(Stream stream, bool writeHierarchy) 4791public void WriteXml(Stream stream, XmlWriteMode mode) 4796public void WriteXml(Stream stream, XmlWriteMode mode, bool writeHierarchy) 4910public void WriteXmlSchema(Stream stream) { 4914public void WriteXmlSchema(Stream stream, bool writeHierarchy) 5042public XmlReadMode ReadXml(Stream stream) 5686public void ReadXmlSchema(Stream stream)
fx\src\data\System\Data\Odbc\OdbcConnectionFactory.cs (1)
72Stream XMLStream =null;
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (1)
45internal OdbcMetaDataFactory(Stream XMLStream,
fx\src\data\System\Data\OleDb\OleDbConnectionFactory.cs (1)
64Stream XMLStream =null;
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (1)
44internal OleDbMetaDataFactory(Stream XMLStream,
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (2)
46public DbMetaDataFactory(Stream xmlStream, string serverVersion, string normalizedServerVersion) { 477private void LoadDataSetFromXml(Stream XmlStream){
fx\src\data\System\Data\Sql\sqlnorm.cs (29)
130internal void NormalizeTopObject(object udt, Stream s) { 135internal object DeNormalizeTopObject(Type t, Stream s) { 141private object DeNormalizeInternal(Type t, Stream s) { 160internal override void Normalize(FieldInfo fi, object obj, Stream s) { 189internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 266internal abstract void Normalize(FieldInfo fi, object recvr, Stream s); 267internal abstract void DeNormalize(FieldInfo fi, object recvr, Stream s); 288internal override void Normalize(FieldInfo fi, object obj, Stream s) { 295internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 308internal override void Normalize(FieldInfo fi, object obj, Stream s) { 319internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 334internal override void Normalize(FieldInfo fi, object obj, Stream s) { 339internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 348internal override void Normalize(FieldInfo fi, object obj, Stream s) { 357internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 371internal override void Normalize(FieldInfo fi, object obj, Stream s) { 379internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 392internal override void Normalize(FieldInfo fi, object obj, Stream s) { 403internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 417internal override void Normalize(FieldInfo fi, object obj, Stream s) { 425internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 438internal override void Normalize(FieldInfo fi, object obj, Stream s) { 447internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 461internal override void Normalize(FieldInfo fi, object obj, Stream s) { 471internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 484internal override void Normalize(FieldInfo fi, object obj, Stream s) { 507internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) { 529internal override void Normalize(FieldInfo fi, object obj, Stream s) { 554internal override void DeNormalize(FieldInfo fi, object recvr, Stream s) {
fx\src\data\System\Data\Sql\sqlser.cs (8)
59internal static void Serialize(Stream s, object instance) { 63internal static object Deserialize(Stream s, Type resultType) { 142public abstract object Deserialize(Stream s); 143public abstract void Serialize(Stream s, object o); 163public override void Serialize(Stream s, object o) { 167public override object Deserialize(Stream s) { 177public override void Serialize(Stream s, object o) { 184public override object Deserialize(Stream s) {
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (1)
98internal Stream ToStream() {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
196Stream XMLStream =null;
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
1459override public Stream GetStream(int i) {
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (2)
854public override Stream GetStream(int ordinal) { 898Stream stream = null;
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
353if (typeof(Stream).IsAssignableFrom(dataType)) {
fx\src\data\System\Data\SqlClient\sqlmetadatafactory.cs (1)
34public SqlMetaDataFactory(Stream XMLStream,
fx\src\data\System\Data\SqlClient\SqlParameter.cs (5)
34internal Stream _source; 36internal StreamDataFeed(Stream source) { 965else if (destinationType.ClassType==typeof(byte[]) && value is Stream && allowStreaming) { 967value = new StreamDataFeed((Stream)value); 1013Stream sourceStream = ((StreamDataFeed)value)._source;
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (3)
90 internal Stream m_stream; 131 public SqlBytes(Stream s) { 285public Stream Stream {
fx\src\data\System\Data\SQLTypes\SqlXml.cs (10)
44 private Stream m_stream; 47private readonly static Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader> sqlReaderDelegate = CreateSqlReaderDelegate(); 75 public SqlXml(Stream value) { 111 internal static XmlReader CreateSqlXmlReader(Stream stream, bool closeInput = false, bool throwTargetInvocationExceptions = false) { 131private static Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader> CreateSqlReaderDelegate() 134return (Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader>)Delegate.CreateDelegate(typeof(Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader>), CreateSqlReaderMethodInfo); 189 private Stream CreateMemoryStreamFromXmlReader(XmlReader reader) { 277 private Stream m_stream; 285 internal SqlXmlStreamWrapper(Stream stream) {
fx\src\data\System\Data\xmlsaver.cs (1)
2705internal Stream BaseStream {
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
1038public override void Load( Stream inStream ) {
System.Data.Entity (12)
System\Data\Common\CommandTrees\Internal\XmlExpressionDumper.cs (2)
31internal XmlExpressionDumper(Stream stream) 34internal XmlExpressionDumper(Stream stream, Encoding encoding, bool indent) : base()
System\Data\Common\DbProviderServices.cs (1)
351Stream stream = executingAssembly.GetManifestResourceStream(resourceName);
System\Data\EntityModel\SchemaObjectModel\Schema.cs (3)
1267Stream xsdStream = GetResourceStream(schemaResource.ResourceName); 1274private static Stream GetResourceStream(string resourceName) 1278Stream resourceStream = null;
System\Data\Metadata\MetadataArtifactLoaderResource.cs (4)
156Stream stream = LoadResource(); 196private Stream LoadResource() 198Stream resourceStream; 206private bool TryCreateResourceStream(out Stream resourceStream)
System\Data\Query\InternalTrees\Dump.cs (2)
41private Dump(Stream stream) 44private Dump(Stream stream, Encoding encoding, bool indent)
System.Data.Entity.Design (7)
System\Data\Entity\Design\AspNet\BuildProviderUtils.cs (2)
34using (Stream input = VirtualPathProvider.OpenFile(virtualPath)) 39using (Stream resStream = assemblyBuilder.CreateEmbeddedResource(prov, name))
System\Data\Entity\Design\AspNet\EntityDesignerBuildProvider.cs (1)
94using (Stream resStream = assemblyBuilder.CreateEmbeddedResource(prov, resourceName))
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
544using (Stream sourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName))
System\Data\Entity\Design\EntityDesignerUtils.cs (1)
124internal static void OutputXmlElementToStream(XmlElement xmlElement, Stream stream)
System\Data\Entity\Design\EntityFrameworkVersions.cs (1)
38public static Stream GetSchemaXsd(Version entityFrameworkVersion, DataSpace dataSpace)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
82System.IO.Stream tempFileStream = null;
System.Data.Linq (1)
Mapping\MappingSource.cs (1)
180public static XmlMappingSource FromStream(System.IO.Stream stream) {
System.Data.Services (98)
parent\Client\System\Data\Services\Client\BatchStream.cs (5)
47private Stream reader; 80private Stream contentStream; 111internal BatchStream(Stream stream, string boundary, Encoding batchEncoding, bool requestStream) 331internal static bool IsBatchStream(Stream stream) 732internal Stream GetContentStream()
parent\Client\System\Data\Services\Client\XmlUtil.cs (2)
156internal static XmlReader CreateXmlReader(Stream stream, Encoding encoding) 208internal static XmlWriter CreateXmlWriterAndWriteProcessingInstruction(Stream stream, Encoding encoding)
System\Data\Services\BatchServiceHost.cs (5)
39private readonly Stream requestStream; 229/// Gets the <see cref="Stream"/> to be written to send a response 232Stream IDataServiceHost.ResponseStream 250/// Gets the <see cref="Stream"/> from which the request data can be read from 253Stream IDataServiceHost.RequestStream
System\Data\Services\DataService.cs (18)
358/// <param name="messageBody"><see cref="Stream"/> with message body to process.</param> 360public Message ProcessRequestForMessage(Stream messageBody) 370Action<Stream> writer = this.HandleRequest(); 410Action<Stream> writer = this.HandleRequest(); 542private static Message CreateMessage(MessageVersion version, string action, string contentType, Action<Stream> writer, IDataService service) 830private static Action<Stream> SerializeResponseBody(RequestDescription description, IDataService dataService) 838Action<Stream> result = HandleInternalResources(description, dataService); 1051Stream requestStream = host.RequestStream; 1127Stream requestStream = host.RequestStream; 1267private static Action<Stream> HandleInternalResources(RequestDescription description, IDataService dataService) 1319private static Action<Stream> CompareETagAndWriteResponse( 1496private static Action<Stream> WriteSingleElementResponse( 1684private Action<Stream> HandleRequest() 1692Action<Stream> writer = null; 1770private Action<Stream> HandleNonBatchRequest(RequestDescription description) 1813private Action<Stream> HandleBatchRequest() 2349internal void HandleBatchContent(Stream responseStream) 2775Action<Stream> responseWriter = DataService<T>.SerializeResponseBody(description, this);
System\Data\Services\DataServiceHostWrapper.cs (8)
99/// <summary>Gets the <see cref="Stream"/> from which the input must be read to the client.</summary> 100private Stream requestStream; 102/// <summary>Gets the <see cref="Stream"/> to be written to send a response to the client.</summary> 103private Stream responseStream; 281/// <summary>Gets the <see cref="Stream"/> from which the input must be read to the client.</summary> 282internal Stream RequestStream 382/// <summary>Gets the <see cref="Stream"/> to be written to send a response to the client.</summary> 383internal Stream ResponseStream
System\Data\Services\DelegateBodyWriter.cs (2)
33private readonly Action<Stream> writerAction; 40internal DelegateBodyWriter(Action<Stream> writer, IDataService service)
System\Data\Services\ErrorHandler.cs (8)
83Action<Stream> errorWriter = ProcessBenignException(exception, service); 115Action<Stream> errorWriter = CreateErrorSerializer(args, encoding); 126internal static Action<Stream> HandleBeforeWritingException(Exception exception, IDataService service, string accept, string acceptCharset) 142Action<Stream> action = ProcessBenignException(exception, service); 226private static Action<Stream> ProcessBenignException(Exception exception, IDataService service) 249private static Action<Stream> CreateErrorSerializer(HandleExceptionArgs args, Encoding encoding) 488private void SerializeJsonErrorToStream(Stream stream) 505private void SerializeXmlErrorToStream(Stream stream)
System\Data\Services\HttpContextServiceHost.cs (6)
35private readonly Stream incomingMessageBody; 57internal HttpContextServiceHost(Stream messageBody) 272/// Gets the <see cref="Stream"/> to be written to send a response 275Stream IDataServiceHost.ResponseStream 339/// Gets the <see cref="Stream"/> from which the request data can be read from 342Stream IDataServiceHost.RequestStream
System\Data\Services\IDataServiceHost.cs (4)
93/// Gets the <see cref="Stream"/> from which the input must be read 96Stream RequestStream 145/// Gets the <see cref="Stream"/> to be written to send a response 148Stream ResponseStream
System\Data\Services\IRequestHandler.cs (1)
32Message ProcessRequestForMessage(Stream messageBody);
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (4)
148internal Stream GetReadStream(object entity, DataServiceOperationContext operationContext) 160Stream readStream = null; 211internal Stream GetWriteStream(object entity, DataServiceOperationContext operationContext) 223Stream writeStream = InvokeApiCallAndValidateHeaders("IDataServiceStreamProvider.GetWriteStream", () => this.StreamProvider.GetWriteStream(entity, etag, checkETagForEquality, operationContext), operationContext);
System\Data\Services\Providers\IDataServiceStreamProvider.cs (2)
96Stream GetReadStream(object entity, string etag, bool? checkETagForEquality, DataServiceOperationContext operationContext); 152Stream GetWriteStream(object entity, string etag, bool? checkETagForEquality, DataServiceOperationContext operationContext);
System\Data\Services\ResponseBodyWriter.cs (3)
47private Stream mediaResourceStream; 97/// <summary>Writes the request body to the specified <see cref="Stream"/>.</summary> 99internal void Write(Stream stream)
System\Data\Services\Serializers\Atom10FormatterFactory.cs (2)
81internal override XmlReader CreateReader(Stream stream, Encoding encoding) 94internal override XmlWriter CreateWriter(Stream stream, Encoding encoding)
System\Data\Services\Serializers\AtomServiceDocumentSerializer.cs (1)
46Stream output,
System\Data\Services\Serializers\BinarySerializer.cs (3)
25private readonly Stream outputStream; 29internal BinarySerializer(Stream output) 69internal void WriteRequest(Stream inputStream, int bufferSize)
System\Data\Services\Serializers\Deserializer.cs (7)
146Stream requestStream = host.RequestStream; 231internal static RequestDescription HandlePutRequest(RequestDescription description, IDataService dataService, Stream stream) 514SetStreamPropertyValue(resourceToBeModified, (Stream)requestValue, service, description); 569internal static object CreateMediaLinkEntry(string fullTypeName, Stream requestStream, IDataService service, RequestDescription description, UpdateTracker tracker) 590internal static void SetStreamPropertyValue(object resourceToBeModified, Stream requestStream, IDataService service, RequestDescription description) 611using (Stream writeStream = service.StreamProvider.GetWriteStream(resourceToBeModified, service.OperationContext)) 1044private static byte[] ReadByteStream(Stream stream)
System\Data\Services\Serializers\JsonDeserializer.cs (1)
41internal JsonDeserializer(Stream requestStream, Encoding encoding, bool update, IDataService dataService, UpdateTracker tracker)
System\Data\Services\Serializers\JsonSerializer.cs (1)
49Stream output,
System\Data\Services\Serializers\JsonServiceDocumentSerializer.cs (1)
43Stream output,
System\Data\Services\Serializers\MetadataSerializer.cs (1)
42Stream output,
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
44internal PlainXmlDeserializer(Stream stream, Encoding encoding, IDataService dataService, bool update, UpdateTracker tracker)
System\Data\Services\Serializers\PlainXmlSerializer.cs (1)
43Stream output,
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
46internal SyndicationDeserializer(Stream stream, Encoding encoding, IDataService dataService, bool update, SyndicationFormatterFactory factory, UpdateTracker tracker)
System\Data\Services\Serializers\SyndicationFormatterFactory.cs (2)
63internal abstract XmlReader CreateReader(Stream stream, Encoding encoding); 72internal abstract XmlWriter CreateWriter(Stream stream, Encoding encoding);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
86Stream output,
System\Data\Services\Serializers\TextSerializer.cs (1)
34internal TextSerializer(Stream output, Encoding encoding)
System\Data\Services\Serializers\XmlDocumentSerializer.cs (1)
44Stream output,
System\Data\Services\WebUtil.cs (5)
534internal static long CopyStream(Stream input, Stream output, byte[] buffer) 558internal static long CopyStream(Stream input, Stream output, int bufferSize) 1474internal static Action<Stream> GetEmptyStreamWriter()
System.Data.Services.Client (50)
System\Data\Services\Client\BatchStream.cs (4)
47private Stream reader; 80private Stream contentStream; 111internal BatchStream(Stream stream, string boundary, Encoding batchEncoding, bool requestStream) 732internal Stream GetContentStream()
System\Data\Services\Client\DataServiceContext.cs (29)
887public void SetSaveStream(object entity, Stream stream, bool closeStream, string contentType, string slug) 914public void SetSaveStream(object entity, Stream stream, bool closeStream, DataServiceRequestArgs args) 1650Func<Stream> getResponseStream, 1684internal static DataServiceClientException GetResponseText(Func<Stream> getResponseStream, HttpStatusCode statusCode) 1687using (System.IO.Stream stream = getResponseStream()) 3631private readonly Stream stream; 3648internal DataServiceSaveStream(Stream stream, bool close, DataServiceRequestArgs args) 3658internal Stream Stream 3774private static byte[] ReadByteArrayWithContentLength(Stream responseStream, int totalLength) 3795private static byte[] ReadByteArrayChunked(Stream responseStream) 3975using (Stream responseStream = this.GetResponseStream()) 4074private Stream httpWebResponseStream; 4101private Stream mediaResourceRequestStream; 4282using (System.IO.Stream requestStream = httpWebRequest.GetRequestStream()) 4379using (Stream stream = httpWebRequest.GetRequestStream()) 5009using (Stream stream = response.GetResponseStream()) 5556Stream stream = batch.GetContentStream(); 5718Stream stream = Util.NullCheck(httpWebRequest.EndGetRequestStream(asyncResult), InternalError.InvalidEndGetRequestStreamStream); 5788Stream stream = Util.NullCheck(pereq.RequestStream, InternalError.InvalidEndReadStream); 5869Stream stream = Util.NullCheck(pereq.RequestStream, InternalError.InvalidEndWriteStream); 5939Stream stream = response.GetResponseStream(); 5999Stream stream = Util.NullCheck(pereq.ResponseStream, InternalError.InvalidEndReadStream); 6005Stream outputResponse = Util.NullCheck(this.httpWebResponseStream, InternalError.InvalidEndReadCopy); 6116internal Stream RequestStream 6137internal Stream ResponseStream 6215Stream stream = null; 6283private readonly Stream stream; 6295public ContentStream(Stream stream, bool isKnownMemoryStream) 6304public Stream Stream
System\Data\Services\Client\DataServiceRequest.cs (1)
75internal static MaterializeAtom Materialize(DataServiceContext context, QueryComponents queryComponents, ProjectionPlan plan, string contentType, Stream response)
System\Data\Services\Client\DataServiceStreamResponse.cs (1)
98public Stream Stream
System\Data\Services\Client\QueryResult.cs (11)
41private Stream requestStream; 47private Stream asyncResponseStream; 54private Stream responseStream; 155internal Stream GetResponseStream() 235using (Stream stream = this.httpWebResponse.GetResponseStream()) 239Stream copy = this.GetAsyncResponseStreamCopy(); 395protected virtual Stream GetAsyncResponseStreamCopy() 570Stream stream = null; 619Stream stream = queryResult.asyncResponseStream; 658Stream stream = Util.NullCheck(state.asyncResponseStream, InternalError.InvalidEndReadStream); 659Stream outputResponse = Util.NullCheck(state.responseStream, InternalError.InvalidEndReadCopy);
System\Data\Services\Client\WebUtil.cs (2)
62internal static long CopyStream(Stream input, Stream output, ref byte[] refBuffer)
System\Data\Services\Client\XmlUtil.cs (2)
156internal static XmlReader CreateXmlReader(Stream stream, Encoding encoding) 208internal static XmlWriter CreateXmlWriterAndWriteProcessingInstruction(Stream stream, Encoding encoding)
System.Data.Services.Design (3)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
320System.IO.Stream fileStream = typeof(WCFBuildProvider).Assembly.GetManifestResourceStream(@"System.Web.Compilation.WCFModel.Schema.DataServiceMapSchema.xsd");
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
241System.IO.Stream tempFileStream = null;
System\Data\EntityModel\EntityClassGenerator.cs (1)
224Stream stream = null;
System.Data.SqlXml (15)
System\Xml\Xsl\QueryReaderSettings.cs (1)
80public XmlReader CreateReader(Stream stream, string baseUri) {
System\Xml\Xsl\Runtime\XmlQueryContext.cs (2)
156Stream stream = dataSource as Stream;
System\Xml\Xsl\Runtime\XmlQueryStaticData.cs (2)
351public XmlQueryDataReader(Stream input) : base(input) { } 385public XmlQueryDataWriter(Stream output) : base(output) { }
System\Xml\Xsl\XmlQueryTypeFactory.cs (1)
1107type.GetObjectData(new BinaryWriter(Stream.Null));
System\Xml\Xsl\Xslt\XsltLoader.cs (2)
179Stream stream = input as Stream;
System\Xml\Xsl\XsltOld\Compiler.cs (2)
523if (input is Stream) { 524XmlTextReaderImpl tr = new XmlTextReaderImpl(resolved, (Stream) input); {
System\Xml\Xsl\XsltOld\Processor.cs (3)
168if (input is Stream) { 169XmlTextReaderImpl tr = new XmlTextReaderImpl(ruri.ToString(), (Stream) input); { 353public void Execute(Stream stream) {
System\Xml\Xsl\XsltOld\TextOnlyOutput.cs (1)
33internal TextOnlyOutput(Processor processor, Stream stream) {
System\Xml\Xsl\XsltOld\TextOutput.cs (1)
19internal TextOutput(Processor processor, Stream stream)
System.Drawing (47)
commonui\System\Drawing\Advanced\GPStream.cs (3)
17protected Stream dataStream; 22internal GPStream(Stream stream) { 99public virtual Stream GetDataStream() {
commonui\System\Drawing\Advanced\Metafile.cs (13)
133public Metafile(Stream stream) { 558public Metafile(Stream stream, IntPtr referenceHdc) : 570public Metafile(Stream stream, IntPtr referenceHdc, EmfType type) : 581public Metafile(Stream stream, IntPtr referenceHdc, EmfType type, string description) 608public Metafile(Stream stream, IntPtr referenceHdc, RectangleF frameRect) : 620public Metafile(Stream stream, IntPtr referenceHdc, RectangleF frameRect, 633public Metafile(Stream stream, IntPtr referenceHdc, RectangleF frameRect, 646public Metafile(Stream stream, IntPtr referenceHdc, RectangleF frameRect, 676public Metafile(Stream stream, IntPtr referenceHdc, Rectangle frameRect) : 688public Metafile(Stream stream, IntPtr referenceHdc, Rectangle frameRect, 701public Metafile(Stream stream, IntPtr referenceHdc, Rectangle frameRect, 714public Metafile(Stream stream, IntPtr referenceHdc, Rectangle frameRect, MetafileFrameUnit frameUnit, 859public static MetafileHeader GetMetafileHeader(Stream stream)
commonui\System\Drawing\Bitmap.cs (3)
133Stream stream = type.Module.Assembly.GetManifestResourceStream(type, resource); 167public Bitmap(Stream stream) { 200public Bitmap(Stream stream, bool useIcm) {
commonui\System\Drawing\BitmapSelector.cs (6)
79private static Stream GetResourceStreamHelper(Assembly assembly, Type type, string name) { 80Stream stream = null; 136public static Stream GetResourceStream(Assembly assembly, Type type, string originalName) { 142Stream stream = GetResourceStreamHelper(assembly, type, newName); 160Stream stream = GetResourceStreamHelper(satellite, type, originalName); 186public static Stream GetResourceStream(Type type, string originalName) {
commonui\System\Drawing\Design\UITypeEditor.cs (1)
45intrinsicEditors[typeof(System.IO.Stream)] = "System.ComponentModel.Design.BinaryEditor, " + AssemblyRef.SystemDesign;
commonui\System\Drawing\Icon.cs (5)
158Stream stream = type.Module.Assembly.GetManifestResourceStream(type, resource); 174public Icon(Stream stream) : this(stream, 0,0) { 178public Icon(Stream stream, Size size) : this(stream, size.Width, size.Height) { 187public Icon(Stream stream, int width, int height) : this() { 865public void Save(Stream outputStream) {
commonui\System\Drawing\Image.cs (8)
227public static Image FromStream(Stream stream) { 237public static Image FromStream(Stream stream, 249public static Image FromStream(Stream stream, bool useEmbeddedColorManagement, bool validateImageData ) { 291private void InitializeFromStream(Stream stream) { 402internal static void EnsureSave(Image image, string filename, Stream dataStream) { 419Stream created = null; 670public void Save(Stream stream, ImageFormat format) { 686public void Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams) {
commonui\System\Drawing\ImageConverter.cs (2)
85Stream memStream = null; 181private unsafe Stream GetBitmapStream(byte[] rawData)
commonui\System\Drawing\ToolboxBitmapAttribute.cs (3)
283private static Image GetIconFromStream(Stream stream, bool large, bool scaled) { 363Stream stream = BitmapSelector.GetResourceStream(t, bitmapname); 490Stream stream = BitmapSelector.GetResourceStream(typeof(ToolboxBitmapAttribute), "DefaultComponent.bmp");
commonui\System\Drawing\UnsafeNativeMethods.cs (3)
221protected Stream dataStream; 226internal ComStreamFromDataStream(Stream dataStream) { 280public virtual Stream GetDataStream() {
System.IdentityModel (19)
System\IdentityModel\CanonicalFormWriter.cs (6)
16protected static void Base64EncodeAndWrite(Stream stream, byte[] workBuffer, char[] base64WorkBuffer, byte[] data) 28protected static void EncodeAndWrite(Stream stream, byte[] workBuffer, string s) 53protected static void EncodeAndWrite(Stream stream, byte[] workBuffer, char[] chars) 58protected static void EncodeAndWrite(Stream stream, byte[] workBuffer, char[] chars, int count) 83static void EncodeAndWrite(Stream stream, string s) 89static void EncodeAndWrite(Stream stream, char[] chars, int count)
System\IdentityModel\CanonicalizationDriver.cs (3)
48public void SetInput(Stream stream) 84public void WriteTo(Stream canonicalStream) 98XmlDictionaryWriter writer = XmlDictionaryWriter.CreateTextWriter(Stream.Null);
System\IdentityModel\DelegatingXmlDictionaryWriter.cs (1)
442public override void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes)
System\IdentityModel\Metadata\MetadataSerializer.cs (2)
1177public MetadataBase ReadMetadata(Stream stream) 2593public void WriteMetadata(Stream stream, MetadataBase metadata)
System\IdentityModel\PreDigestedSignedInfo.cs (1)
297Stream stream, string signatureMethod, string digestMethod,
System\IdentityModel\SamlDelegatingWriter.cs (2)
16Stream canonicalStream; 27public SamlDelegatingWriter(XmlDictionaryWriter innerWriter, Stream canonicalStream, ICanonicalWriterEndRootElementCallback callback, IXmlDictionary dictionary)
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.IO.Log (10)
System\IO\Log\FileLogRecord.cs (1)
16public override Stream Data
System\IO\Log\FileRegion.cs (4)
65public Stream GetStream() 77Stream innerStream = new FileStream(this.path, 89Stream innerStream; 93internal Substream(Stream innerStream,
System\IO\Log\LogLogRecord.cs (4)
63public override Stream Data 107Stream innerStream; 110internal RecordStream(Stream innerStream) 226Stream oldStream = this.innerStream;
System\IO\Log\LogRecord.cs (1)
11public abstract Stream Data { get; }
System.Messaging (12)
System\Messaging\ActiveXMessageFormatter.cs (5)
116Stream stream; 247Stream stream; 411private Stream dataStream; 416public ComStreamFromDataStream(Stream dataStream) 481public Stream GetDataStream()
System\Messaging\BinaryMessageFormatter.cs (2)
126Stream stream = message.BodyStream; 143Stream stream = new MemoryStream();
System\Messaging\Message.cs (2)
54private Stream cachedBodyStream; 648public Stream BodyStream
System\Messaging\XmlMessageFormatter.cs (3)
126Stream stream = message.BodyStream; 202Stream stream = message.BodyStream; 228Stream stream = new MemoryStream();
System.Runtime.Remoting (181)
channels\core\chunkedmemorystream.cs (1)
378public virtual void WriteTo(Stream stream)
channels\core\corechannel.cs (16)
458internal static void SerializeSoapMessage(IMessage msg, Stream outputStream, bool includeVersions) 489internal static Stream SerializeSoapMessage(IMessage msg, bool includeVersions) 499internal static void SerializeBinaryMessage(IMessage msg, Stream outputStream, bool includeVersions) 510internal static Stream SerializeBinaryMessage(IMessage msg, bool includeVersions) 540Stream inputStream, Header[] h, bool bStrictBinding, TypeFilterLevel securityLevel) 555Stream inputStream, IMessage requestMsg, Header[] h, bool bStrictBinding) 571Stream inputStream, 588Stream inputStream, 598internal static Stream SerializeMessage(String mimeType, IMessage msg, bool includeVersions) 600Stream returnStream = new MemoryStream(); 607internal static void SerializeMessage(String mimeType, IMessage msg, Stream outputStream, 630internal static IMessage DeserializeMessage(String mimeType, Stream xstm, bool methodRequest, IMessage msg) 635internal static IMessage DeserializeMessage(String mimeType, Stream xstm, bool methodRequest, IMessage msg, Header[] h) 642Stream fmtStm = null; 1000internal static void DebugOutXMLStream(Stream stm, String tag) 1096internal static void DebugStream(Stream stm)
channels\core\socketmanager.cs (6)
32protected Stream NetStream; // network stream 62public SocketHandler(Socket socket, Stream netStream) 76internal SocketHandler(Socket socket, RequestQueue requestQueue, Stream netStream) : this(socket, netStream) 360public void WriteByte(byte value, Stream outputStream) 374public void WriteUInt16(UInt16 value, Stream outputStream) 392public void WriteInt32(int value, Stream outputStream)
channels\core\streamhelper.cs (7)
28internal static void CopyStream(Stream source, Stream target) 86Stream source, Stream target, 187Stream source = state.Source; 234internal Stream Source; 235internal Stream Target;
channels\http\httpclientchannel.cs (14)
475ITransportHeaders requestHeaders, Stream requestStream, 476out ITransportHeaders responseHeaders, out Stream responseStream) 498ITransportHeaders headers, Stream stream) 534ITransportHeaders headers, Stream stream) 541public Stream GetRequestStream(IMessage msg, ITransportHeaders headers) 689Stream inputStream) 702Stream writeStream = null; 746out Stream returnStream) 927internal Stream RequestStream; 928internal Stream ActualResponseStream; // stream that will be passed to channel sinks 941Stream stream, 1022Stream sourceRequestStream = asyncRequestState.RequestStream; 1024Stream webRequestStream = httpWebRequest.EndGetRequestStream(iar); 1117Stream responseStream = asyncRequestState.ActualResponseStream;
channels\http\httpremotinghandler.cs (9)
295Stream outputStream = context.Response.OutputStream; 570Stream requestStream = httpRequest.InputStream; 578Stream responseStream; 617ITransportHeaders responseHeaders, Stream httpContentStream) 666Stream httpResponseStream = httpResponse.OutputStream; 683ITransportHeaders requestHeaders, Stream requestStream, 685out Stream responseStream) 692IMessage msg, ITransportHeaders headers, Stream stream) 701public Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state,
channels\http\httpserverchannel.cs (7)
472Stream netStream = new SocketStream(socket); 555Stream requestStream = streamManager.GetRequestStream(); 564Stream responseStream; 619ITransportHeaders requestHeaders, Stream requestStream, 621out Stream responseStream) 630IMessage msg, ITransportHeaders headers, Stream stream) 646public Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state,
channels\http\httpsocketmanager.cs (4)
39public HttpSocketHandler(Socket socket, RequestQueue requestQueue, Stream stream) : base(socket, requestQueue, stream) 101protected void WriteHeaders(ITransportHeaders headers, Stream outputStream) 120private void WriteHeader(String name, String value, Stream outputStream) 131protected void WriteResponseFirstLine(String statusCode, String reasonPhrase, Stream outputStream)
channels\http\httpstreams.cs (9)
53private Stream _outputStream = null; // funnel http data into here 56internal HttpFixedLengthResponseStream(Stream outputStream, int length) 97private Stream _outputStream = null; // funnel chunked http data into here 106internal HttpChunkedResponseStream(Stream outputStream) 509internal HttpServerSocketHandler(Socket socket, RequestQueue requestQueue, Stream stream) : base(socket, requestQueue, stream) 561Stream outputStream = new MemoryStream(); 653public Stream GetRequestStream() 663public Stream GetResponseStream(String statusCode, String reasonPhrase, 750public void SendResponse(Stream httpContentStream,
channels\ipc\ipcclientchannel.cs (12)
30ITransportHeaders requestHeaders, Stream requestStream, 31out ITransportHeaders responseHeaders, out Stream responseStream, 276ITransportHeaders requestHeaders, Stream requestStream, 277out ITransportHeaders responseHeaders, out Stream responseStream) 296Stream ipcStream = new PipeStream(port); 308ITransportHeaders requestHeaders, Stream requestStream, 309out ITransportHeaders responseHeaders, out Stream responseStream, 317ITransportHeaders headers, Stream requestStream) 321Stream responseStream; 337Stream responseStream; 358ITransportHeaders headers, Stream stream) 366public Stream GetRequestStream(IMessage msg, ITransportHeaders headers)
channels\ipc\ipcclientmanager.cs (3)
36internal IpcClientHandler(IpcPort port, Stream stream, IpcClientTransportSink sink) : base (port, null, stream) 41internal Stream GetResponseStream() 91internal void SendRequest(IMessage msg, ITransportHeaders headers, Stream contentStream)
channels\ipc\ipcmanager.cs (5)
29private Stream _stream = null; 30protected Stream _requestStream = null; 37internal IpcServerHandler(IpcPort port, RequestQueue requestQueue, Stream stream) : base (null, requestQueue, stream) 44internal Stream GetRequestStream() 236internal void SendResponse(ITransportHeaders headers, Stream contentStream)
channels\ipc\ipcserverchannel.cs (6)
384Stream requestStream = ipcServerHandler.GetRequestStream(); 394Stream responseStream = null; 498ITransportHeaders requestHeaders, Stream requestStream, 500out Stream responseStream) 509IMessage msg, ITransportHeaders headers, Stream stream) 525public Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state,
channels\sinks\binaryformattersinks.cs (15)
153Stream requestStream; 157Stream returnStream; 186Stream requestStream; 207out ITransportHeaders headers, out Stream stream) 232ITransportHeaders headers, Stream stream) 248ITransportHeaders requestHeaders, Stream requestStream, 249out ITransportHeaders responseHeaders, out Stream responseStream) 258ITransportHeaders headers, Stream stream) 267ITransportHeaders headers, Stream stream) 277public Stream GetRequestStream(IMessage msg, ITransportHeaders headers) 461ITransportHeaders requestHeaders, Stream requestStream, 463out Stream responseStream) 673IMessage msg, ITransportHeaders headers, Stream stream) 683out Stream stream) 727public Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state,
channels\sinks\soapformattersinks.cs (15)
159Stream requestStream; 163Stream returnStream; 192Stream requestStream; 218out ITransportHeaders headers, out Stream stream) 251ITransportHeaders headers, Stream stream) 301ITransportHeaders requestHeaders, Stream requestStream, 302out ITransportHeaders responseHeaders, out Stream responseStream) 311ITransportHeaders headers, Stream stream) 320ITransportHeaders headers, Stream stream) 330public Stream GetRequestStream(IMessage msg, ITransportHeaders headers) 513ITransportHeaders requestHeaders, Stream requestStream, 515out Stream responseStream) 745IMessage msg, ITransportHeaders headers, Stream stream) 757out Stream stream) 809public Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state,
channels\tcp\tcpclientchannel.cs (10)
255Stream netStream = new SocketStream(socket); 271private Stream CreateAuthenticatedStream(Stream netStream, String machinePortAndSid) 385ITransportHeaders requestHeaders, Stream requestStream, 386out ITransportHeaders responseHeaders, out Stream responseStream) 408ITransportHeaders headers, Stream stream) 430ITransportHeaders headers, Stream stream) 438public Stream GetRequestStream(IMessage msg, ITransportHeaders headers) 454Stream requestStream) 525Stream responseStream = clientSocket.GetResponseStream();
channels\tcp\tcpclientsocketmanager.cs (5)
43private Stream _requestStream; // the request stream that we return from GetRequestStream() 47public TcpClientSocketHandler(Socket socket, String machinePortAndSid, Stream stream, TcpClientTransportSink sink) : 105public Stream GetRequestStream(IMessage msg, int contentLength, 141public void SendRequest(IMessage msg, ITransportHeaders headers, Stream contentStream) 152public Stream GetResponseStream()
channels\tcp\tcpserverchannel.cs (8)
420Stream netStream = new SocketStream(socket); 492private WindowsIdentity Authenticate(ref Stream netStream, TcpServerSocketHandler streamManager) 547Stream requestStream = streamManager.GetRequestStream(); 556Stream responseStream; 654ITransportHeaders requestHeaders, Stream requestStream, 656out Stream responseStream) 665IMessage msg, ITransportHeaders headers, Stream stream) 681public Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state,
channels\tcp\tcpsocketmanager.cs (7)
37public TcpSocketHandler(Socket socket, Stream stream) : this(socket, null, stream) 41public TcpSocketHandler(Socket socket, RequestQueue requestQueue, Stream stream) : 61protected void WritePreambleAndVersion(Stream outputStream) 218protected void WriteHeaders(ITransportHeaders headers, Stream outputStream) 273private void WriteContentTypeHeader(String value, Stream outputStream) 280private void WriteCustomHeader(String name, String value, Stream outputStream) 326protected void WriteCountedString(String str, Stream outputStream)
channels\tcp\tcpstreams.cs (3)
248internal TcpServerSocketHandler(Socket socket, RequestQueue requestQueue, Stream stream) : 328public Stream GetRequestStream() 338public void SendResponse(ITransportHeaders headers, Stream contentStream)
metadata\metadata.cs (12)
45public static void ConvertTypesToSchemaToStream(Type[] types, SdlType sdlType, Stream outputStream) 67public static void ConvertTypesToSchemaToStream(ServiceType[] serviceTypes, SdlType sdlType, Stream outputStream) 81public static void RetrieveSchemaFromUrlToStream(String url, Stream outputStream) 85Stream RespStream; 106public static void ConvertSchemaStreamToCodeSourceStream(bool clientProxy, String outputDirectory, Stream inputStream, ArrayList outCodeStreamList, String proxyUrl, String proxyNamespace) 117public static void ConvertSchemaStreamToCodeSourceStream(bool clientProxy, String outputDirectory, Stream inputStream, ArrayList outCodeStreamList, String proxyUrl) 123public static void ConvertSchemaStreamToCodeSourceStream(bool clientProxy, String outputDirectory, Stream inputStream, ArrayList outCodeStreamList) 174Stream inputStream; 186else if (outCodeStreamList[item] is Stream) 189inputStream = (Stream)outCodeStreamList[item]; 264public static void SaveStreamToFile(Stream inputStream, String path) 267Stream outputStream = File.Create(path);
metadata\sdlchannelsink.cs (5)
120ITransportHeaders requestHeaders, Stream requestStream, 122out Stream responseStream) 149IMessage msg, ITransportHeaders headers, Stream stream) 157public Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, Object state, 223out Stream outputStream)
metadata\wsdlparser.cs (2)
756Stream responseStream = response.GetResponseStream(); 6913Stream stream = ((StreamWriter)textWriter).BaseStream;
System.Runtime.Serialization (109)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (2)
238public override object ReadObject(Stream stream) 277public override void WriteObject(Stream stream, object graph)
System\Runtime\Serialization\Json\IXmlJsonReaderInitializer.cs (1)
18void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas,
System\Runtime\Serialization\Json\IXmlJsonWriterInitializer.cs (1)
14void SetOutput(Stream stream, Encoding encoding, bool ownsStream);
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (4)
57Stream stream; 59public JsonEncodingStreamWrapper(Stream stream, Encoding encoding, bool isReader) 473void InitForReading(Stream inputStream, Encoding expectedEncoding) 507void InitForWriting(Stream outputStream, Encoding writeEncoding)
System\Runtime\Serialization\Json\JsonReaderWriterFactory.cs (7)
21public static XmlDictionaryReader CreateJsonReader(Stream stream, XmlDictionaryReaderQuotas quotas) 36public static XmlDictionaryReader CreateJsonReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) 55public static XmlDictionaryWriter CreateJsonWriter(Stream stream) 60public static XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding) 65public static XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding, bool ownsStream) 70public static XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding, bool ownsStream, bool indent) 75public static XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding, bool ownsStream, bool indent, string indentChars)
System\Runtime\Serialization\Json\XmlJsonReader.cs (2)
850public void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, 866public override void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (1)
302public void SetOutput(Stream stream, Encoding encoding, bool ownsStream)
System\Runtime\Serialization\NetDataContractSerializer.cs (2)
172public void Serialize(Stream stream, object graph) 177public object Deserialize(Stream stream)
System\Runtime\Serialization\XmlObjectSerializer.cs (2)
25public virtual void WriteObject(Stream stream, object graph) 243public virtual object ReadObject(Stream stream)
System\Xml\EncodingStreamWrapper.cs (3)
43Stream stream; 52public EncodingStreamWrapper(Stream stream, Encoding encoding) 189public EncodingStreamWrapper(Stream stream, Encoding encoding, bool emitBOM)
System\Xml\IFragmentCapableXmlDictionaryWriter.cs (1)
13void StartFragment(Stream stream, bool generateSelfContainedTextFragment);
System\Xml\IStreamProvider.cs (2)
10Stream GetStream(); 11void ReleaseStream(Stream stream);
System\Xml\XmlBaseReader.cs (1)
2129public override void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes)
System\Xml\XmlBaseWriter.cs (3)
31Stream oldStream; 1537public override void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes) 1571public void StartFragment(Stream stream, bool generateSelfContainedTextFragment)
System\Xml\XmlBinaryReader.cs (2)
19void SetInput(Stream stream, 61public void SetInput(Stream stream,
System\Xml\XmlBinaryWriter.cs (3)
20void SetOutput(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream); 42public void SetOutput(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream) 1128public void SetOutput(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream)
System\Xml\XmlBufferReader.cs (3)
18Stream stream; 70public void SetBuffer(Stream stream, IXmlDictionary dictionary, XmlBinaryReaderSession session) 86void SetBuffer(Stream stream, byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlBinaryReaderSession session)
System\Xml\XmlC14NWriter.cs (1)
54public void SetOutput(Stream stream, bool includeComments, string[] inclusivePrefixes)
System\Xml\XmlDictionaryReader.cs (11)
71public static XmlDictionaryReader CreateBinaryReader(Stream stream, XmlDictionaryReaderQuotas quotas) 76public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas) 81public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session) 86public static XmlDictionaryReader CreateBinaryReader(Stream stream, 119static public XmlDictionaryReader CreateTextReader(Stream stream, XmlDictionaryReaderQuotas quotas) 124static public XmlDictionaryReader CreateTextReader(Stream stream, Encoding encoding, 133static public XmlDictionaryReader CreateMtomReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas) 141static public XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) 146static public XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas) 151static public XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string contentType, 208public virtual void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes)
System\Xml\XmlDictionaryWriter.cs (13)
49static public XmlDictionaryWriter CreateBinaryWriter(Stream stream) 54static public XmlDictionaryWriter CreateBinaryWriter(Stream stream, IXmlDictionary dictionary) 59static public XmlDictionaryWriter CreateBinaryWriter(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session) 64static public XmlDictionaryWriter CreateBinaryWriter(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream) 71static public XmlDictionaryWriter CreateTextWriter(Stream stream) 76static public XmlDictionaryWriter CreateTextWriter(Stream stream, Encoding encoding) 81static public XmlDictionaryWriter CreateTextWriter(Stream stream, Encoding encoding, bool ownsStream) 88static public XmlDictionaryWriter CreateMtomWriter(Stream stream, Encoding encoding, int maxSizeInBytes, string startInfo) 93static public XmlDictionaryWriter CreateMtomWriter(Stream stream, Encoding encoding, int maxSizeInBytes, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream) 213Stream stream = value.GetStream(); 273Stream stream; 522Stream stream; 735public virtual void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes)
System\Xml\XmlMtomReader.cs (25)
20void SetInput(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose); 79public void SetInput(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose) 87void Initialize(Stream stream, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize) 378Stream contentStream = mimeReader.GetContentStream(); 430Stream contentStream = mimeReader.GetContentStream(); 1008Stream stream; 1013internal MimePart(Stream stream, MimeHeaders headers) 1019internal Stream Stream 1718public MimeMessageReader(Stream stream) 1727public Stream GetContentStream() 1734Stream s = reader.GetNextStream(null); 1758Stream currentStream; 1763public MimeReader(Stream stream, string boundary) 1790Stream s = this.reader.GetNextStream(this.boundaryBytes); 1800public Stream GetContentStream() 1819Stream stream = reader.GetNextStream(CRLFCRLF); 1856int BlockRead(Stream stream, byte[] buffer, int offset, int count) 1884public DelimittedStreamReader(Stream stream) 1917public Stream GetNextStream(byte[] delimitter) 2584Stream stream; 2586public MimeHeaderReader(Stream stream) 2757public void Reset(Stream stream) 2795Stream stream; 2801public BufferedReadStream(Stream stream) 2806public BufferedReadStream(Stream stream, bool readMore)
System\Xml\XmlMtomWriter.cs (10)
19void SetOutput(Stream stream, Encoding encoding, int maxSizeInBytes, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream); 52public void SetOutput(Stream stream, Encoding encoding, int maxSizeInBytes, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream) 81void Initialize(Stream stream, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream) 128Stream infosetContentStream = this.mimeWriter.GetContentStream(); 382Stream s = mimeWriter.GetContentStream(); 386Stream stream = null; 977Stream stream; 981Stream contentStream; 983internal MimeWriter(Stream stream, string boundary) 1121internal Stream GetContentStream()
System\Xml\XmlSigningNodeWriter.cs (1)
22public void SetOutput(XmlNodeWriter writer, Stream stream, bool includeComments, string[] inclusivePrefixes)
System\Xml\XmlStreamNodeWriter.cs (3)
15Stream stream; 35protected void SetOutput(Stream stream, bool ownsStream, Encoding encoding) 48public Stream Stream
System\Xml\XmlUTF8TextReader.cs (2)
19void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose); 321public void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose)
System\Xml\XmlUTF8TextWriter.cs (3)
13void SetOutput(Stream stream, Encoding encoding, bool ownsStream); 29public void SetOutput(Stream stream, Encoding encoding, bool ownsStream) 125new public void SetOutput(Stream stream, bool ownsStream, Encoding encoding)
System.Security (74)
system\security\cryptography\xml\canonicalxml.cs (1)
28internal CanonicalXml(Stream inputStream, bool includeComments, XmlResolver resolver, string strBaseUri) {
system\security\cryptography\xml\encryptedxml.cs (4)
210Stream inputStream = null; 217Stream decInputStream = null; 275private void DownloadCipherValue (CipherData cipherData, out Stream inputStream, out Stream decInputStream, out WebResponse response) {
system\security\cryptography\xml\exccanonicalxml.cs (1)
23internal ExcCanonicalXml(Stream inputStream, bool includeComments, string inclusiveNamespacesPrefixList, XmlResolver resolver, string strBaseUri) {
system\security\cryptography\xml\reference.cs (5)
60public Reference (Stream stream) { 327Stream hashInputStream = null; 330Stream inputStream = null; 339hashInputStream = this.TransformChain.TransformToOctetStream((Stream) m_refTarget, resolver, baseUri); 350hashInputStream = this.TransformChain.TransformToOctetStream((Stream) null, resolver, baseUri);
system\security\cryptography\xml\SignedXmlDebugLog.cs (4)
406using (StreamReader reader = new StreamReader(canonicalizationTransform.GetOutput(typeof(Stream)) as Stream)) { 544internal static Stream LogReferenceData(Reference reference, Stream data) {
system\security\cryptography\xml\transform.cs (56)
72internal Stream TransformToOctetStream(Object inputObject, Type inputType, XmlResolver resolver, string baseUri) { 84if (currentInput is Stream) { 86Stream currentInputStream = currentInput as Stream; 100if (transform.AcceptsType(typeof(Stream))) { 112if (transform.AcceptsType(typeof(Stream))) { 128if (currentInput is Stream) { 129return currentInput as Stream; 144internal Stream TransformToOctetStream(Stream input, XmlResolver resolver, string baseUri) { 145return TransformToOctetStream(input, typeof(Stream), resolver, baseUri); 148internal Stream TransformToOctetStream(XmlDocument document, XmlResolver resolver, string baseUri) { 306return hash.ComputeHash((Stream) GetOutput(typeof(Stream))); 369private Type[] _inputTypes = { typeof(Stream), typeof(XmlDocument), typeof(XmlNodeList) }; 370private Type[] _outputTypes = { typeof(Stream) }; 402if (obj is Stream) { 403_cXml = new CanonicalXml((Stream) obj, _includeComments, resolver, this.BaseURI); 423if (type != typeof(Stream) && !type.IsSubclassOf(typeof(Stream))) 448private Type[] _inputTypes = { typeof(Stream), typeof(XmlDocument), typeof(XmlNodeList) }; 449private Type[] _outputTypes = { typeof(Stream) }; 503if (obj is Stream) { 504_excCanonicalXml = new ExcCanonicalXml((Stream) obj, _includeComments, _inclusiveNamespacesPrefixList, resolver, this.BaseURI); 533if (type != typeof(Stream) && !type.IsSubclassOf(typeof(Stream))) 557private Type[] _inputTypes = { typeof(Stream), typeof(XmlNodeList), typeof(XmlDocument) }; 558private Type[] _outputTypes = { typeof(Stream) }; 583if (obj is Stream) { 584LoadStreamInput((Stream) obj); 597private void LoadStreamInput(Stream inputStream) { 652if (type != typeof(Stream) && !type.IsSubclassOf(typeof(Stream))) 662private Type[] _inputTypes = { typeof(Stream), typeof(XmlNodeList), typeof(XmlDocument) }; 751if (obj is Stream) { 752LoadStreamInput((Stream) obj); 760private void LoadStreamInput(Stream stream) { 818private Type[] _inputTypes = { typeof(Stream), typeof(XmlDocument), typeof(XmlNodeList) }; 819private Type[] _outputTypes = { typeof(Stream) }; 822private Stream _inputStream; 879if (obj is Stream) { 880_inputStream = (Stream) obj; 932if (type != typeof(Stream) && !type.IsSubclassOf(typeof(Stream))) 934return (Stream) GetOutput(); 941private Type[] _inputTypes = { typeof(Stream), typeof(XmlNodeList), typeof(XmlDocument) }; 983if (obj is Stream) { 984LoadStreamInput((Stream) obj); 997private void LoadStreamInput(Stream stream) { 1106private Type[] m_inputTypes = { typeof(Stream), typeof(XmlDocument) }; 1209if (obj is Stream) { 1210LoadStreamInput((Stream) obj); 1216private void LoadStreamInput(Stream stream) { 1379Stream decryptedContent = null; 1496Stream Decrypt(EncryptionMethod encryptionMethod, KeyInfo keyInfo, Stream toDecrypt);
system\security\cryptography\xml\utils.cs (3)
156internal static XmlReader PreProcessStreamInput (Stream inputStream, XmlResolver xmlResolver, string baseUri) { 657internal static long Pump (Stream input, Stream output) {
System.ServiceModel (233)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (5)
144XmlDictionaryWriter TakeStreamedWriter(Stream stream) 210XmlDictionaryReader TakeStreamedReader(Stream stream) 373protected override XmlDictionaryWriter TakeXmlWriter(Stream stream) 686public override Message ReadMessage(Stream stream, int maxSizeOfHeaders, string contentType) 838public override void WriteMessage(Message message, Stream stream)
System\ServiceModel\Channels\BufferedMessageWriter.cs (1)
24protected abstract XmlDictionaryWriter TakeXmlWriter(Stream stream);
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (4)
37readonly Stream stream; 52internal BufferedOutputAsyncStream(Stream stream, int bufferSize, int bufferLimit) 699Stream stream; 708internal ByteBuffer(BufferedOutputAsyncStream parent, int bufferSize, Stream stream)
System\ServiceModel\Channels\ClientWebSocketFactory.cs (1)
27public abstract WebSocket CreateWebSocket(Stream connection, WebSocketTransportSettings settings);
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
21Stream connection;
System\ServiceModel\Channels\Connection.cs (3)
558Stream stream; 560public StreamConnection(Stream stream, ConnectionStream innerStream) 596public Stream Stream
System\ServiceModel\Channels\DelegatingStream.cs (3)
11Stream stream; 13protected DelegatingStream(Stream stream) 23protected Stream BaseStream
System\ServiceModel\Channels\DetectEofStream.cs (1)
12protected DetectEofStream(Stream stream)
System\ServiceModel\Channels\FramingChannels.cs (2)
1025Stream upgradedStream = upgradeInitiator.InitiateUpgrade(connectionStream); 1315Stream stream = upgradeInitiator.EndInitiateUpgrade(result);
System\ServiceModel\Channels\HttpChannelHelpers.cs (37)
47Stream inputStream; 86public Stream GetInputStream(bool throwOnError) 115protected abstract Stream GetInputStream(); 152Message DecodeBufferedMessage(ArraySegment<byte> buffer, Stream inputStream) 183Message ReadBufferedMessage(Stream inputStream) 210Message ReadChunkedBufferedMessage(Stream inputStream) 223Message ReadStreamedMessage(Stream inputStream) 390Stream stream = this.GetInputStream(false); 403Stream stream = this.GetInputStream(false); 515Stream stream = this.GetInputStream(true); 637Stream inputStream; 917protected override Stream GetInputStream() 1082Stream outputStream; 1214protected abstract Stream GetOutputStream(); 1231protected virtual Stream EndGetOutputStream(IAsyncResult result) 1339Stream stream = null; 1490Stream GetWrappedOutputStream() 1498return this.supportsConcurrentIO ? (Stream)new BufferedOutputAsyncStream(this.outputStream, BufferSize, BufferCount) : new BufferedStream(this.outputStream, ChunkSize); 1576protected override Task<Stream> CreateContentReadStreamAsync() 1578return base.CreateContentReadStreamAsync().ContinueWith<Stream>(t => 1582protected override Task SerializeToStreamAsync(Stream stream, TransportContext context) 1610public HttpOutputByteArrayContentStream(Stream innerStream, HttpOutputByteArrayContent content) 2471protected override Stream GetOutputStream() 2475Stream outputStream; 2502protected override Stream EndGetOutputStream(IAsyncResult result) 2725Stream outputStream; 2765public static Stream End(IAsyncResult result, out ChannelBinding channelBindingToken) 2803public WebRequestOutputStream(Stream requestStream, HttpWebRequest httpWebRequest, HttpOutput httpOutput) 3076protected override Stream GetOutputStream() 3571Stream responseStream = response.GetResponseStream(); 3733Stream responseStream = webResponse.GetResponseStream(); 3769Stream responseStream = response.GetResponseStream(); 3948protected HttpDelayedAcceptStream(Stream stream) 3997protected BytesReadPositionStream(Stream stream) 4037public PreReadStream(Stream stream, byte[] preReadBuffer) 4199protected override Stream GetInputStream() 4203return Stream.Null;
System\ServiceModel\Channels\HttpRequestContext.cs (1)
987protected override Stream GetInputStream()
System\ServiceModel\Channels\InitialServerConnectionReader.cs (2)
322Stream stream = upgradeAcceptor.AcceptUpgrade(connectionStream); 374Stream stream;
System\ServiceModel\Channels\IStreamedMessageEncoder.cs (1)
11Stream GetResponseMessageStream(Message message);
System\ServiceModel\Channels\MaxMessageSizeStream.cs (1)
17public MaxMessageSizeStream(Stream stream, long maxMessageSize)
System\ServiceModel\Channels\MessageBuffer.cs (2)
25public virtual void WriteMessage(Stream stream) 207public override void WriteMessage(Stream stream)
System\ServiceModel\Channels\MessageEncoder.cs (8)
36public Message ReadMessage(Stream stream, int maxSizeOfHeaders) 41public abstract Message ReadMessage(Stream stream, int maxSizeOfHeaders, string contentType); 52internal ArraySegment<byte> BufferMessageStream(Stream stream, BufferManager bufferManager, int maxBufferSize) 87internal virtual Message ReadMessage(Stream stream, BufferManager bufferManager, int maxBufferSize, string contentType) 97public abstract void WriteMessage(Message message, Stream stream); 99public virtual IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 229Stream stream; 231public WriteMessageAsyncResult(Message message, Stream stream, MessageEncoder encoder, AsyncCallback callback, object state)
System\ServiceModel\Channels\MessageEncoderCompressionHandler.cs (14)
28using (Stream ds = compressionFormat == CompressionFormat.GZip ? 29(Stream)new GZipStream(memoryStream, CompressionMode.Decompress) : 30(Stream)new DeflateStream(memoryStream, CompressionMode.Decompress)) 64using (Stream ds = compressionFormat == CompressionFormat.GZip ? 65(Stream)new GZipStream(bufferedOutStream, CompressionMode.Compress, true) : 66(Stream)new DeflateStream(bufferedOutStream, CompressionMode.Compress, true)) 78internal static Stream GetDecompressStream(Stream compressedStream, CompressionFormat compressionFormat) 81(Stream)new GZipStream(compressedStream, CompressionMode.Decompress, false) : 82(Stream)new DeflateStream(compressedStream, CompressionMode.Decompress, false); 85internal static Stream GetCompressStream(Stream uncompressedStream, CompressionFormat compressionFormat) 88(Stream)new GZipStream(uncompressedStream, CompressionMode.Compress, true) : 89(Stream)new DeflateStream(uncompressedStream, CompressionMode.Compress, true);
System\ServiceModel\Channels\MsmqDecodeHelper.cs (2)
414static object DeserializeForIntegration(MsmqIntegrationChannelListener listener, Stream bodyStream, MsmqIntegrationMessageProperty property, long lookupId) 441static object XmlDeserializeForIntegration(MsmqIntegrationChannelListener listener, Stream stream, long lookupId)
System\ServiceModel\Channels\MtomMessageEncoder.cs (12)
258public override Message ReadMessage(Stream stream, int maxSizeOfHeaders, string contentType) 363public override void WriteMessage(Message message, Stream stream) 368internal void WriteMessage(Message message, Stream stream, string boundary) 373public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 378internal IAsyncResult BeginWriteMessage(Message message, Stream stream, string boundary, AsyncCallback callback, object state) 388void WriteMessage(Message message, Stream stream, string startInfo, string boundary, string startUri, bool writeMessageHeaders) 426XmlDictionaryWriter TakeStreamedWriter(Stream stream, string startInfo, string boundary, string startUri, bool writeMessageHeaders) 519XmlReader TakeStreamedReader(Stream stream, string contentType) 710protected override XmlDictionaryWriter TakeXmlWriter(Stream stream) 741Stream stream; 744public WriteMessageAsyncResult(Message message, Stream stream, MtomMessageEncoder encoder, AsyncCallback callback, object state) 756public WriteMessageAsyncResult(Message message, Stream stream, string boundary, MtomMessageEncoder encoder, AsyncCallback callback, object state)
System\ServiceModel\Channels\OpaqueContent.cs (3)
38public void WriteToStream(Stream stream) 52public IAsyncResult BeginWriteToStream(Stream stream, AsyncCallback callback, object state) 71protected override Task SerializeToStreamAsync(Stream stream, TransportContext context)
System\ServiceModel\Channels\SingletonConnectionReader.cs (6)
1051Stream inputStream; 1232Stream connectionStream = new SingletonInputConnectionStream(this, singletonConnection, this.transportSettings); 1634Stream connectionStream = new StreamingOutputConnectionStream(connection, settings); 1635Stream writeTimeoutStream = new TimeoutStream(connectionStream, ref timeoutHelper); 1841Stream connectionStream = new StreamingOutputConnectionStream(connection, settings); 1842Stream writeTimeoutStream = new TimeoutStream(connectionStream, ref timeoutHelper);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (16)
591protected override Stream OnAcceptUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity) 630protected override IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state) 637protected override Stream OnEndAcceptUpgrade(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 708protected override IAsyncResult OnBegin(Stream stream, AsyncCallback callback) 720protected override Stream OnCompleteAuthenticateAsServer(IAsyncResult result) 742public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity, out ChannelBinding channelBinding) 744Stream stream = StreamSecurityUpgradeAcceptorAsyncResult.End(result, out remoteSecurity); 887protected override IAsyncResult OnBeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state) 899protected override Stream OnEndInitiateUpgrade(IAsyncResult result, 905protected override Stream OnInitiateUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity) 1001protected override IAsyncResult OnBeginAuthenticateAsClient(Stream stream, AsyncCallback callback) 1018protected override Stream OnCompleteAuthenticateAsClient(IAsyncResult result) 1048public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity, out ChannelBinding channelBinding) 1050Stream stream = StreamSecurityUpgradeInitiatorAsyncResult.End(result, out remoteSecurity);
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorAsyncResult.cs (5)
15Stream upgradedStream; 24public void Begin(Stream stream) 71public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 105protected abstract IAsyncResult OnBegin(Stream stream, AsyncCallback callback); 106protected abstract Stream OnCompleteAuthenticateAsServer(IAsyncResult result);
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorBase.cs (10)
34public override Stream AcceptUpgrade(Stream stream) 41Stream result = this.OnAcceptUpgrade(stream, out this.remoteSecurity); 46public override IAsyncResult BeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state) 66public override Stream EndAcceptUpgrade(IAsyncResult result) 72Stream retValue = this.OnEndAcceptUpgrade(result, out this.remoteSecurity); 83protected abstract Stream OnAcceptUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity); 84protected abstract IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state); 85protected abstract Stream OnEndAcceptUpgrade(IAsyncResult result,
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorAsyncResult.cs (6)
13Stream originalStream; 15Stream upgradedStream; 25public void Begin(Stream stream) 74public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 109protected abstract IAsyncResult OnBeginAuthenticateAsClient(Stream stream, AsyncCallback callback); 110protected abstract Stream OnCompleteAuthenticateAsClient(IAsyncResult result);
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorBase.cs (10)
42public override IAsyncResult BeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state) 57public override Stream EndInitiateUpgrade(IAsyncResult result) 63Stream retValue = this.OnEndInitiateUpgrade(result, out this.remoteSecurity); 85public override Stream InitiateUpgrade(Stream stream) 97Stream result = this.OnInitiateUpgrade(stream, out this.remoteSecurity); 126protected abstract IAsyncResult OnBeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state); 127protected abstract Stream OnEndInitiateUpgrade(IAsyncResult result, 129protected abstract Stream OnInitiateUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity);
System\ServiceModel\Channels\StreamUpgradeAcceptor.cs (4)
16public virtual Stream AcceptUpgrade(Stream stream) 21public abstract IAsyncResult BeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state); 22public abstract Stream EndAcceptUpgrade(IAsyncResult result);
System\ServiceModel\Channels\StreamUpgradeInitiator.cs (4)
17public abstract Stream InitiateUpgrade(Stream stream); 18public abstract IAsyncResult BeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state); 19public abstract Stream EndInitiateUpgrade(IAsyncResult result);
System\ServiceModel\Channels\TextMessageEncoder.cs (8)
442public override Message ReadMessage(Stream stream, int maxSizeOfHeaders, string contentType) 510public override void WriteMessage(Message message, Stream stream) 549public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 575public WriteMessageAsyncResult(Message message, Stream stream, TextMessageEncoder textEncoder, AsyncCallback callback, object state) 637XmlDictionaryWriter TakeStreamedWriter(Stream stream) 701XmlReader TakeStreamedReader(Stream stream, Encoding enc) 734XmlDictionaryWriter CreateWriter(Stream stream) 887protected override XmlDictionaryWriter TakeXmlWriter(Stream stream)
System\ServiceModel\Channels\TimeoutStream.cs (1)
13public TimeoutStream(Stream stream, ref TimeoutHelper timeoutHelper)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (13)
199protected override Stream OnAcceptUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity) 230protected override IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state) 237protected override Stream OnEndAcceptUpgrade(IAsyncResult result, 283protected override IAsyncResult OnBegin(Stream stream, AsyncCallback callback) 290protected override Stream OnCompleteAuthenticateAsServer(IAsyncResult result) 377protected override IAsyncResult OnBeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state) 389protected override Stream OnEndInitiateUpgrade(IAsyncResult result, 413protected override Stream OnInitiateUpgrade(Stream stream, 451Stream stream, 507protected override IAsyncResult OnBeginAuthenticateAsClient(Stream stream, AsyncCallback callback) 517protected override Stream OnCompleteAuthenticateAsClient(IAsyncResult result)
System\ServiceModel\ComIntegration\ComIntegrationManifestGenerator.cs (6)
29Stream s = null; 87Stream s = null; 118static void AsmCreateWin32ManifestFile(Stream s, Type[] aTypes) 126static void WriteTypes(Stream s, Type[] aTypes, int offset) 163static void WriteUTFChars(Stream s, String value, int offset) 172static void WriteUTFChars(Stream s, String value)
System\ServiceModel\Description\MessageContractImporter.cs (3)
702return CheckAndAddPart(element.ElementSchemaType.QualifiedName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, element.RefName.Name, GetLocalElementNamespace(element.RefName.Namespace, element, elementFormDefault), typeof(Stream), description, isReply); 706return CheckAndAddPart(element.SchemaTypeName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, element.Name, GetLocalElementNamespace(ns, element, elementFormDefault), typeof(Stream), description, isReply); 719return CheckAndAddPart(typeName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, part.Name, ns, typeof(Stream), description, isReply);
System\ServiceModel\Description\OperationGenerator.cs (1)
691if (part.Type == typeof(System.IO.Stream))
System\ServiceModel\Diagnostics\MessageLogger.cs (1)
291internal static void LogMessage(Stream stream, MessageLoggingSource source)
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (1)
66internal MessageLogTraceRecord(Stream stream, MessageLoggingSource source)
System\ServiceModel\Dispatcher\StreamFormatter.cs (16)
50Stream streamValue = GetStreamAndWriteStartWrapperIfNecessary(writer, parameters, returnValue); 55Stream GetStreamAndWriteStartWrapperIfNecessary(XmlDictionaryWriter writer, object[] parameters, object returnValue) 57Stream streamValue = GetStreamValue(parameters, returnValue); 98Stream streamValue = streamFormatter.GetStreamAndWriteStartWrapperIfNecessary(writer, parameters, returnValue); 151Stream GetStreamValue(object[] parameters, object returnValue) 154return (Stream)returnValue; 155return (Stream)parameters[streamIndex]; 158void SetStreamValue(object[] parameters, ref object returnValue, Stream streamValue) 185if (messageDescription.Body.ReturnValue != null && messageDescription.Body.ReturnValue.Type == typeof(Stream)) 189if (part.Type == typeof(Stream)) 200if (messageDescription.Body.ReturnValue.Type == typeof(Stream)) 206if (messageDescription.Body.Parts[0].Type == typeof(Stream)) 347Stream stream; 349internal OperationStreamProvider(Stream stream) 354public Stream GetStream() 358public void ReleaseStream(Stream stream)
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (1)
237public void Serialize(Stream stream, object obj, ref int bodyType)
System\ServiceModel\MsmqIntegration\MsmqIntegrationChannelFactory.cs (4)
121internal Stream Serialize(MsmqIntegrationMessageProperty property) 123Stream stream; 163Stream bodyStream = property.Body as Stream;
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (1)
130Stream stream = null;
System\ServiceModel\Security\SecurityAppliedMessage.cs (6)
264public void WriteBodyToEncryptThenSign(Stream canonicalStream, EncryptedData encryptedData, SymmetricAlgorithm algorithm) 269XmlDictionaryWriter encryptingWriter = XmlDictionaryWriter.CreateTextWriter(Stream.Null); 300public void WriteBodyToSign(Stream canonicalStream) 316public void WriteBodyToSignThenEncrypt(Stream canonicalStream, EncryptedData encryptedData, SymmetricAlgorithm algorithm) 340Stream stream, bool includeComments, string[] inclusivePrefixes, 377public void WriteBodyToSignWithFragments(Stream stream, bool includeComments, string[] inclusivePrefixes, XmlDictionaryWriter writer)
System\ServiceModel\Security\SspiNegotiationTokenAuthenticator.cs (1)
111static void AddToDigest(HashAlgorithm negotiationDigest, Stream stream)
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (1)
81static void AddToDigest(HashAlgorithm negotiationDigest, Stream stream)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
450Stream stream = new MemoryStream();
System\ServiceModel\Security\WSUtilitySpecificationVersion.cs (3)
65internal abstract void WriteTimestampCanonicalForm(Stream stream, SecurityTimestamp timestamp, byte[] buffer); 149internal override void WriteTimestampCanonicalForm(Stream stream, SecurityTimestamp timestamp, byte[] workBuffer) 192public void WriteCanonicalForm(Stream stream, string id, char[] created, char[] expires, byte[] workBuffer)
System.ServiceModel.Activation (21)
System\ServiceModel\Activation\HostedHttpContext.cs (2)
347protected override Stream GetInputStream() 495protected override Stream GetOutputStream()
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (2)
562public Stream GetInputStream() 925internal Stream GetOutputStream()
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (13)
67Stream activityStream; 131internal static object LoadXaml(Stream activityStream) 153IList<Tuple<string, Stream>> streams = null; 161foreach (Tuple<string, Stream> stream in streams) 185foreach (Tuple<string, Stream> stream in streams) 244internal static void GetSupportedVersionStreams(string xamlFileName, out IList<Tuple<string, Stream>> streams) 250List<Tuple<string, Stream>> streamList = new List<Tuple<string, Stream>>(); 271Stream activityStream; 306foreach (Tuple<string, Stream> stream in streamList) 314static WorkflowService CreatetWorkflowServiceAndSetCompiledExpressionRoot(string supportedVersionXamlxfilePath, Stream activityStream, XName defaultServiceName) 335internal static WorkflowService CreatetWorkflowService(Stream activityStream, XName defaultServiceName) 435bool GetServiceFileStreamOrCompiledCustomString(string virtualPath, Uri[] baseAddresses, out Stream serviceFileStream, out string compiledCustomString)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (4)
34public void GenerateCode(AssemblyBuilder assemblyBuilder, Stream xamlStream, BuildProvider buildProvider) 48IList<Tuple<string, Stream>> streams = null; 57foreach (Tuple<string, Stream> stream in streams) 81foreach (Tuple<string, Stream> stream in streams)
System.ServiceModel.Channels (42)
System\ServiceModel\Channels\ByteStreamBufferedMessageData.cs (1)
74public Stream ToStream()
System\ServiceModel\Channels\ByteStreamMessage.cs (17)
16public static Message CreateMessage(Stream stream) 41internal static Message CreateMessage(Stream stream, XmlDictionaryReaderQuotas quotas, bool moveBodyReaderToContent) 115public InternalByteStreamMessage(Stream stream, XmlDictionaryReaderQuotas quotas, bool moveBodyReaderToContent) 334if (typeof(Stream) == typeT) 336Stream stream = (reader as XmlByteStreamReader).ToStream(); 461public static StreamedBodyWriter Create(Stream stream) 511protected abstract Stream GetStream(); 515Stream stream; 517internal ByteStreamStreamProvider(Stream stream) 522public Stream GetStream() 527public void ReleaseStream(Stream stream) 537public WriteBodyContentsAsyncResult(XmlDictionaryWriter writer, Stream stream, AsyncCallback callback, object state) 576private Stream stream; 578public StreamBasedStreamedBodyWriter(Stream stream) 584protected override Stream GetStream() 601protected override Stream GetStream() 635protected override Stream GetStream()
System\ServiceModel\Channels\ByteStreamMessageEncoder.cs (7)
66public override Message ReadMessage(Stream stream, int maxSizeOfHeaders, string contentType) 132public override void WriteMessage(Message message, Stream stream) 171public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 269public Stream GetResponseMessageStream(Message message) 283return message.GetBody<Stream>(); 301Stream stream; 306public WriteMessageAsyncResult(Message message, Stream stream, AsyncCallback callback, object state)
System\ServiceModel\Channels\MessageExtensionMethods.cs (1)
198return new StreamContent(message.GetBody<Stream>());
System\ServiceModel\Channels\XmlBufferedByteStreamReader.cs (1)
69protected override Stream OnToStream()
System\ServiceModel\Channels\XmlByteStreamReader.cs (2)
331public Stream ToStream() 341protected abstract Stream OnToStream();
System\ServiceModel\Channels\XmlByteStreamWriter.cs (2)
18Stream stream; 21public XmlByteStreamWriter(Stream stream, bool ownsStream)
System\ServiceModel\Channels\XmlStreamedByteStreamReader.cs (11)
20public static XmlStreamedByteStreamReader Create(Stream stream, XmlDictionaryReaderQuotas quotas) 51Stream stream = this.GetStream(); 66protected override Stream OnToStream() 68Stream result = this.GetStream(); 76protected abstract Stream GetStream(); 84Stream stream = this.GetStream(); 100private Stream stream; 102public StreamXmlStreamedByteStreamReader(Stream stream, XmlDictionaryReaderQuotas quotas) 110protected override Stream GetStream() 133protected override Stream GetStream() 167protected override Stream GetStream()
System.ServiceModel.Web (33)
System\ServiceModel\Channels\JavascriptXmlWriterWrapper.cs (2)
15Stream stream; 185public void SetOutput(Stream stream, XmlDictionaryWriter writer)
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (5)
204public override Message ReadMessage(Stream stream, int maxSizeOfHeaders, string contentType) 299public override void WriteMessage(Message message, Stream stream) 432XmlDictionaryReader TakeStreamedReader(Stream stream, Encoding enc) 456XmlDictionaryWriter TakeStreamedWriter(Stream stream) 600protected override XmlDictionaryWriter TakeXmlWriter(Stream stream)
System\ServiceModel\Channels\StreamBodyWriter.cs (6)
38internal static StreamBodyWriter CreateStreamBodyWriter(Action<Stream> streamAction) 47protected abstract void OnWriteBodyContents(Stream stream); 184protected override void OnWriteBodyContents(Stream stream) 192Action<Stream> actionOfStream; 194public ActionOfStreamBodyWriter(Action<Stream> actionOfStream) 200protected override void OnWriteBodyContents(Stream stream)
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (5)
211public override Message ReadMessage(Stream stream, int maxSizeOfHeaders, string contentType) 289public override void WriteMessage(Message message, Stream stream) 331public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 459Stream stream; 464public WriteMessageAsyncResult(Message message, Stream stream, WebMessageEncoder webMessageEncoder, AsyncCallback callback, object state)
System\ServiceModel\Channels\WebScriptMetadataMessageEncoderFactory.cs (4)
75public override Message ReadMessage(Stream stream, int maxSizeOfHeaders, string contentType) 116public override void WriteMessage(Message message, Stream stream) 140XmlDictionaryWriter CreateWriter(Stream stream) 171protected override XmlDictionaryWriter TakeXmlWriter(Stream stream)
System\ServiceModel\Description\WebHttpBehavior.cs (4)
991if (typeof(Stream) == message.Body.Parts[i].Type) 1010if (typeof(Stream) == message.Body.Parts[i].Type) 1015if (message.Body.ReturnValue != null && typeof(Stream) == message.Body.ReturnValue.Type) 1248if (description.Type == typeof(Stream))
System\ServiceModel\Dispatcher\HelpPage.cs (1)
313else if (typeof(Stream).IsAssignableFrom(type))
System\ServiceModel\Dispatcher\HttpStreamFormatter.cs (3)
82Stream streamData = data as Stream; 93Stream GetStreamFromMessage(Message message, bool isRequest)
System\ServiceModel\Web\WebOperationContext.cs (2)
290public Message CreateStreamResponse(Stream stream, string contentType) 323public Message CreateStreamResponse(Action<Stream> streamWriter, string contentType)
System\ServiceModel\Web\WebServiceHost.cs (1)
336return (type == typeof(Stream));
System.Web (121)
Abstractions\HttpPostedFileBase.cs (1)
34public virtual Stream InputStream {
Abstractions\HttpPostedFileWrapper.cs (1)
42public override Stream InputStream {
Abstractions\HttpRequestBase.cs (5)
121public virtual Stream Filter { 142public virtual Stream InputStream { 332public virtual Stream GetBufferedInputStream() { 337public virtual Stream GetBufferlessInputStream() { 342public virtual Stream GetBufferlessInputStream(bool disableMaxRequestLength) {
Abstractions\HttpRequestWrapper.cs (5)
150public override Stream Filter { 171public override Stream InputStream { 329public override Stream GetBufferedInputStream() { 333public override Stream GetBufferlessInputStream() { 337public override Stream GetBufferlessInputStream(bool disableMaxRequestLength) {
Abstractions\HttpResponseBase.cs (2)
114public virtual Stream Filter { 165public virtual Stream OutputStream {
Abstractions\HttpResponseWrapper.cs (2)
120public override Stream Filter { 171public override Stream OutputStream {
Cache\OutputCache.cs (2)
491public static void Serialize(Stream stream, Object data) { 503public static object Deserialize(Stream stream) {
Compilation\AssemblyBuilder.cs (4)
241Stream temp = new FileStream(generatedFilePath, FileMode.Create, FileAccess.Write, FileShare.Read); 344public Stream CreateEmbeddedResource(BuildProvider buildProvider, string name) { 667using (Stream stream = new FileStream(physicalPath, FileMode.Open, FileAccess.Read, FileShare.Read)) { 1298Stream temp = new FileStream(generatedCodeFile, FileMode.Create, FileAccess.Write, FileShare.Read);
Compilation\BaseResourcesBuildProvider.cs (3)
61using (Stream inputStream = OpenStream()) { 85protected abstract IResourceReader GetResourceReader(Stream inputStream); 110Stream outputStream = null;
Compilation\BuildManager.cs (2)
3382public static Stream CreateCachedFile(string fileName) { 3393public static Stream ReadCachedFile(string fileName) {
Compilation\BuildManagerHost.cs (3)
407using (Stream stream = virtualPath.OpenFile()) { 701public override Stream Open() { 702Stream stream = new MemoryStream();
Compilation\BuildProvider.cs (4)
155protected Stream OpenStream() { 163protected Stream OpenStream(string virtualPath) { 167internal /*protected*/ Stream OpenStream(VirtualPath virtualPath) { 188Stream stream = OpenStream(virtualPath);
Compilation\IResourceProvider.cs (1)
158Stream resourceStream = pageResAssembly.GetManifestResourceStream(resourceFileName);
Compilation\ResourcesBuildProvider.cs (1)
16protected override IResourceReader GetResourceReader(Stream inputStream) {
Compilation\ResXBuildProvider.cs (1)
17protected override IResourceReader GetResourceReader(Stream inputStream) {
Compilation\WsdlBuildProvider.cs (1)
34using (Stream stream = VirtualPathObject.OpenFile()) {
Compilation\XsdBuildProvider.cs (1)
42using (Stream stream = OpenStream()) {
Configuration\RemoteWebConfigurationHost.cs (2)
247public override Stream OpenStreamForRead(string streamName) { 256public override Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext) {
ErrorFormatter.cs (1)
1463Stream stream = VirtualPathProvider.OpenFile(virtualPath);
Handlers\AssemblyResourceLoader.cs (2)
508Stream resourceStream = null; 690Stream outputStream = context.Response.OutputStream;
Hosting\MapPathBasedVirtualPathProvider.cs (1)
184public override Stream Open() {
Hosting\VirtualPathProvider.cs (3)
259public static Stream OpenFile(string virtualPath) { 265internal static Stream OpenFile(VirtualPath virtualPath) { 376public abstract Stream Open();
HttpInputStream.cs (3)
161internal void WriteBytes(int offset, int length, Stream stream) { 215Stream _filestream; 323internal void WriteTo(Stream s) {
HttpPostedFile.cs (1)
89public Stream InputStream {
HttpRequest.cs (9)
103private Stream _readEntityBodyStream; 128private Stream _installedFilter; 2428public Stream InputStream { 2459Stream s = (_readEntityBodyStream != null) ? _readEntityBodyStream : InputStream; 2491public Stream Filter { 3247public Stream GetBufferlessInputStream() { 3255public Stream GetBufferlessInputStream(bool disableMaxRequestLength) { 3268public Stream GetBufferedInputStream() { 3272private Stream GetInputStream(bool persistEntityBody, bool disableMaxRequestLength = false) {
HttpResponse.cs (4)
1931public Stream OutputStream { 1954public Stream Filter { 2690private void WriteStreamAsText(Stream f, long offset, long size) { 2708using (Stream s = vf.Open()) {
HttpWriter.cs (4)
788private Stream _installedFilter; // installed filtering stream 1403internal Stream GetCurrentFilter() { 1417internal void InstallFilter(Stream filter) { 1824public Stream OutputStream {
ImplicitAsyncPreloadModule.cs (1)
25Stream _inputStream;
Security\FormsAuthenticationTicketSerializer.cs (2)
228public SerializingBinaryReader(Stream input) 256public SerializingBinaryWriter(Stream output)
State\SessionStateItemCollection.cs (2)
146Stream _stream; 460Stream baseStream = writer.BaseStream;
State\SessionStateUtil.cs (3)
112internal static void Serialize(SessionStateStoreData item, Stream stream) { 145internal static SessionStateStoreData Deserialize(HttpContext context, Stream stream) { 209static internal SessionStateStoreData DeserializeStoreData(HttpContext context, Stream stream, bool compressionEnabled) {
State\StateRuntime.cs (2)
414Stream responseStream; 513Stream requestStream;
StringResourceManager.cs (1)
117using (Stream strm = new FileStream(resFileName, FileMode.Create)) {
UI\BatchParser.cs (1)
109using (Stream stream = virtualPath.OpenFile()) {
UI\Control.cs (3)
2171protected internal Stream OpenFile(string path) { 2208internal Stream OpenFileAndGetDependency(VirtualPath virtualPath, string physicalPath, out CacheDependency dependency) { 2219Stream stream;
UI\EventValidationStore.cs (4)
70public static EventValidationStore DeserializeFrom(Stream inputStream) { 125public void SerializeTo(Stream outputStream) { 164public DeserializingBinaryReader(Stream input) : base(input) { } 177public SerializingBinaryWriter(Stream input) : base(input) { }
UI\LOSFormatter.cs (4)
66/// <para> Deserializes a LOS-formatted object from a <see cref='System.IO.Stream'/> object.</para> 68public object Deserialize(Stream stream) { 107/// a <see cref='System.IO.Stream'/> object.</para> 109public void Serialize(Stream stream, object value) {
UI\ObjectStateFormatter.cs (8)
312internal object DeserializeWithAssert(Stream inputStream) { 320public object Deserialize(Stream inputStream) { 815internal void SerializeWithAssert(Stream outputStream, object stateGraph) { 823public void Serialize(Stream outputStream, object stateGraph) { 1243object IFormatter.Deserialize(Stream serializationStream) { 1249void IFormatter.Serialize(Stream serializationStream, object stateGraph) { 1269public SerializerBinaryReader(Stream stream) : base(stream) { 1283public SerializerBinaryWriter(Stream stream) : base(stream) {
UI\TemplateParser.cs (1)
751using (Stream stream = virtualPath.OpenFile()) {
UI\Util.cs (2)
343internal /*public*/ static StreamReader ReaderFromStream(Stream stream, VirtualPath configPath) { 358using (Stream stream = virtualPath.OpenFile()) {
UI\WebControls\AdRotator.cs (2)
464using (Stream stream = OpenFileAndGetDependency(virtualPath, physicalPath, out dependency)) { 571private AdRec [] LoadStream(Stream stream) {
UI\WebControls\FileUpload.cs (4)
65Stream fileStream = FileContent; 66if (fileStream != null && fileStream != Stream.Null) { 108public Stream FileContent { 115return Stream.Null;
UI\WebControls\MailDefinition.cs (1)
298Stream stream = null;
UI\WebControls\xml.cs (3)
417using (Stream stream = OpenFileAndGetDependency(virtualPath, physicalPath, out dependency)) { 480using (Stream stream = OpenFileAndGetDependency(null, physicalPath, out dependency)) { 525using (Stream stream = OpenFileAndGetDependency(virtualPath, physicalPath, out dependency)) {
UI\WebControls\XmlDataSource.cs (1)
473Stream dataStream = OpenFileAndGetDependency(virtualPath, physicalPath, out cacheDependency);
UI\WebParts\ImportCatalogPart.cs (1)
380Stream contents = _upload.FileContent;
Util\XmlUtils.cs (4)
95public static XmlReader CreateXmlReader(Stream datastream) 131public static XmlReader CreateXmlReader(Stream contentStream, string baseURI) 237public NoEntitiesXmlTextReader(Stream datastream) : base(datastream) { Restrict(); } 239public NoEntitiesXmlTextReader(string baseURI, Stream contentStream) : base(baseURI, contentStream) { Restrict(); }
VirtualPath.cs (1)
313public Stream OpenFile() {
XmlSiteMapProvider.cs (1)
259using (Stream stream = _normalizedVirtualPath.OpenFile()) {
System.Web.DataVisualization (22)
Common\General\Chart.cs (5)
242 public void SaveIntoMetafile(Stream imageStream, EmfType emfType) 3455 Stream stream = LoadTemplateData(name); 3469public void LoadTemplate(Stream stream) 3525 private Stream LoadTemplateData(string url) 3529 Stream dataStream = null;
Common\General\ChartSerializer.cs (2)
427 public void Save(Stream stream) 562 public void Load(Stream stream)
Common\Utilities\XmlSerializer.cs (12)
1309internal void Serialize(object objectToSerialize, Stream stream) 1363Stream stream = writer as Stream; 1865 internal void Deserialize(object objectToDeserialize, Stream stream) 1915Stream stream = reader as Stream; 2240Stream stream = destination as Stream; 2275 internal void Serialize(object objectToSerialize, Stream stream) 2848Stream stream = source as Stream; 2882 public void Deserialize(object objectToDeserialize, Stream stream)
WebForm\ChartWebControl.cs (3)
1108 public void SaveImage( Stream imageStream, ChartImageFormat format) 1187public void SaveImage(Stream imageStream) 2863 public void LoadTemplate(Stream stream)
System.Web.Entity.Design (6)
parent\parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (6)
79private static Stream GetResourceStreamHelper(Assembly assembly, Type type, string name) { 80Stream stream = null; 136public static Stream GetResourceStream(Assembly assembly, Type type, string originalName) { 142Stream stream = GetResourceStreamHelper(assembly, type, newName); 160Stream stream = GetResourceStreamHelper(satellite, type, originalName); 186public static Stream GetResourceStream(Type type, string originalName) {
System.Web.Extensions (8)
ClientServices\Providers\ProxyHelper.cs (2)
62using(Stream s = request.GetRequestStream()) { 141using(Stream s = response.GetResponseStream()) {
Compilation\WCFModel\DataSvcMapFileLoader.cs (1)
61using (var stream = typeof(DataSvcMapFileImpl).Assembly.GetManifestResourceStream(typeof(DataSvcMapFileImpl), @"Schema.DataServiceMapSchema.xsd"))
Compilation\WCFModel\SvcMapFileLoader.cs (1)
61using (var stream = typeof(SvcMapFileImpl).Assembly.GetManifestResourceStream(typeof(SvcMapFileImpl), @"Schema.ServiceMapSchema.xsd"))
Handlers\ScriptResourceHandler.cs (3)
309using (Stream stream = file.Open()) { 515using (Stream outputStream = new GZipStream(zipped, CompressionMode.Compress)) { 732Stream scriptStream = assemblyData.Item1.GetManifestResourceStream(resourceInfo.ScriptName);
HttpResponseInternalWrapper.cs (1)
38public override Stream Filter {
System.Web.Mobile (1)
UI\MobileControls\Design\Util\FileReader.cs (1)
33Stream stream;
System.Web.Services (88)
System\Web\Services\Description\MimeAnyImporter.cs (1)
23importedReturn.TypeName = typeof(Stream).FullName;
System\Web\Services\Description\ServiceDescription.cs (3)
299public static ServiceDescription Read(Stream stream) { 335public static ServiceDescription Read(Stream stream, bool validate) { 423public void Write(Stream stream) {
System\Web\Services\Description\WebReferenceOptions.cs (1)
122public static WebReferenceOptions Read(Stream stream, ValidationEventHandler validationEventHandler) {
System\Web\Services\Discovery\ContractReference.cs (3)
169public override void WriteDocument(object document, Stream stream) { 177public override object ReadDocument(Stream stream) { 185protected internal override void Resolve(string contentType, Stream stream) {
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (8)
126Stream stream = Download(ref url, ref contentType); 222public Stream Download(ref string url) { 232public Stream Download(ref string url, ref string contentType) { 258Stream responseStream = response.GetResponseStream(); 337Stream file = File.OpenRead(topLevelFilename); 359Stream docFile = File.OpenRead(Path.Combine(topLevelPath, results.Results[i].Filename)); 499Stream file = File.Create(filename); 510Stream topLevelFile = File.Create(topLevelFullPath);
System\Web\Services\Discovery\DiscoveryDocument.cs (2)
57public static DiscoveryDocument Read(Stream stream) { 108public void Write(Stream stream) {
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (4)
102public override void WriteDocument(object document, Stream stream) { 110public override object ReadDocument(Stream stream) { 137Stream stream = client.Download(ref url, ref contentType); 159protected internal override void Resolve(string contentType, Stream stream) {
System\Web\Services\Discovery\DiscoveryReference.cs (5)
52public abstract void WriteDocument(object document, Stream stream); 57public abstract object ReadDocument(Stream stream); 134Stream stream = ClientProtocol.Download(ref newUrl, ref contentType); 152internal Exception AttemptResolve(string contentType, Stream stream) { 170protected internal abstract void Resolve(string contentType, Stream stream);
System\Web\Services\Discovery\DynamicDiscoveryDocument.cs (2)
55public void Write(Stream stream) { 64public static DynamicDiscoveryDocument Load(Stream stream) {
System\Web\Services\Discovery\LinkGrep.cs (1)
42internal static string SearchForLink(Stream stream) {
System\Web\Services\Discovery\SchemaReference.cs (3)
130public override void WriteDocument(object document, Stream stream) { 138public override object ReadDocument(Stream stream) { 193protected internal override void Resolve(string contentType, Stream stream) {
System\Web\Services\Protocols\AnyReturnReader.cs (1)
38public override object Read(WebResponse response, Stream responseStream) {
System\Web\Services\Protocols\BufferedResponseStream.cs (2)
13Stream outputStream; 18internal BufferedResponseStream(Stream outputStream, int buffersize) {
System\Web\Services\Protocols\ClientProtocol.cs (5)
277Stream requestStream = client.Request.EndGetRequestStream(asyncResult); 494internal virtual void AsyncBufferedSerialize(WebRequest request, Stream requestStream, object internalAsyncState) { 498internal WebResponse EndSend(IAsyncResult asyncResult, ref object internalAsyncState, ref Stream responseStream) { 547internal Stream ResponseStream; 548internal Stream ResponseBufferedStream;
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (2)
267internal override void WriteReturns(object[] returnValues, Stream outputStream) { 338internal override bool WriteException(Exception e, Stream outputStream) {
System\Web\Services\Protocols\DocumentationServerProtocol.cs (2)
171internal override void WriteReturns(object[] returnValues, Stream outputStream) { 206internal override bool WriteException(Exception e, Stream outputStream) {
System\Web\Services\Protocols\HtmlFormParameterWriter.cs (1)
40public override void WriteRequest(Stream requestStream, object[] values) {
System\Web\Services\Protocols\HttpClientProtocol.cs (6)
153Stream requestStream = null; 165Stream responseStream = null; 209internal override void AsyncBufferedSerialize(WebRequest request, Stream requestStream, object internalAsyncState) { 238Stream responseStream = null; 251Stream responseStream = null; 328object ReadResponse(HttpClientMethod method, WebResponse response, Stream responseStream) {
System\Web\Services\Protocols\HttpServerProtocol.cs (2)
212internal override void WriteReturns(object[] returnValues, Stream outputStream) { 219internal override bool WriteException(Exception e, Stream outputStream) {
System\Web\Services\Protocols\MimeParameterWriter.cs (1)
54public virtual void WriteRequest(Stream requestStream, object[] values) {
System\Web\Services\Protocols\MimeReturnReader.cs (1)
23public abstract object Read(WebResponse response, Stream responseStream);
System\Web\Services\Protocols\MimeReturnWriter.cs (1)
16internal abstract void Write(HttpResponse response, Stream outputStream, object returnValue);
System\Web\Services\Protocols\NopReturnReader.cs (1)
22public override object Read(WebResponse response, Stream responseStream) {
System\Web\Services\Protocols\RequestResponse.cs (4)
92internal static string ReadResponse(WebResponse response, Stream stream) 108internal static Stream StreamToMemoryStream(Stream stream) 126internal static string CreateResponseExceptionString(WebResponse response, Stream stream)
System\Web\Services\Protocols\ServerProtocol.cs (2)
88internal virtual bool WriteException(Exception e, Stream outputStream) { 95internal abstract void WriteReturns(object[] returns, Stream outputStream);
System\Web\Services\Protocols\SoapClientProtocol.cs (7)
297Stream requestStream = request.GetRequestStream(); 307Stream responseStream = null; 348internal override void AsyncBufferedSerialize(WebRequest request, Stream requestStream, object internalAsyncState) { 374Stream responseStream = null; 396Stream responseStream = null; 546Stream stream = message.Stream; 589object[] ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, bool asyncCall) {
System\Web\Services\Protocols\SoapExtension.cs (2)
32public virtual Stream ChainStream(Stream stream) {
System\Web\Services\Protocols\SoapExtensionStream.cs (2)
13internal Stream innerStream; 144internal void SetInnerStream(Stream stream) {
System\Web\Services\Protocols\SoapMessage.cs (3)
28Stream stream; 149internal void SetStream(Stream stream) { 170public Stream Stream {
System\Web\Services\Protocols\SoapServerProtocol.cs (4)
663internal override void WriteReturns(object[] returnValues, Stream outputStream) { 720internal override bool WriteException(Exception e, Stream outputStream) { 826bool WriteException_TryWriteFault(SoapServerMessage message, Stream outputStream, HttpStatusCode statusCode, bool disableExtensions) 880internal SoapEnvelopeReader(Stream input, Int64 timeout) : base(input) {
System\Web\Services\Protocols\TextReturnReader.cs (1)
25public override object Read(WebResponse response, Stream responseStream) {
System\Web\Services\Protocols\WebServiceHandler.cs (1)
359Stream outputStream = protocol.Response.OutputStream;
System\Web\Services\Protocols\WebServiceHandlerFactory.cs (2)
187internal override void WriteReturns(object[] returnValues, Stream outputStream) { } 188internal override bool WriteException(Exception e, Stream outputStream) { return false; }
System\Web\Services\Protocols\XmlReturnReader.cs (1)
112public override object Read(WebResponse response, Stream responseStream) {
System\Web\Services\Protocols\XmlReturnWriter.cs (1)
32internal override void Write(HttpResponse response, Stream outputStream, object returnValue) {
System.Windows.Forms (65)
parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (6)
79private static Stream GetResourceStreamHelper(Assembly assembly, Type type, string name) { 80Stream stream = null; 136public static Stream GetResourceStream(Assembly assembly, Type type, string originalName) { 142Stream stream = GetResourceStreamHelper(assembly, type, newName); 160Stream stream = GetResourceStreamHelper(satellite, type, originalName); 186public static Stream GetResourceStream(Type type, string originalName) {
winforms\Managed\System\Resources\ResXResourceReader.cs (6)
51Stream stream = null; 107public ResXResourceReader(Stream stream) : this(stream, (ITypeResolutionService)null, (IAliasResolver)null) { 109public ResXResourceReader(Stream stream, ITypeResolutionService typeResolver) : this(stream, typeResolver, (IAliasResolver)null) { 111internal ResXResourceReader(Stream stream, ITypeResolutionService typeResolver, IAliasResolver aliasResolver) { 120public ResXResourceReader(Stream stream, AssemblyName[] assemblyNames) : this(stream, assemblyNames, (IAliasResolver)null){ 122internal ResXResourceReader(Stream stream, AssemblyName[] assemblyNames, IAliasResolver aliasResolver) {
winforms\Managed\System\Resources\ResXResourceSet.cs (1)
52public ResXResourceSet(Stream stream) {
winforms\Managed\System\Resources\ResXResourceWriter.cs (3)
234Stream stream; 273public ResXResourceWriter(Stream stream) { 276public ResXResourceWriter(Stream stream, Func<Type, string> typeNameConverter) {
winforms\Managed\System\WinForms\AxHost.cs (5)
6618public State(Stream ms, int storageType, bool manualUpdate, string licKey) { 6753private void InitializeFromStream(Stream ids) { 6773private void InitializeBufferFromStream(Stream ids) { 6871internal void Read(Stream stream) { 6910internal void Write(Stream stream) {
winforms\Managed\System\WinForms\Clipboard.cs (3)
366public static Stream GetAudioStream() { 369return dataObject.GetData(DataFormats.WaveAudio, false) as Stream; 472public static void SetAudio(Stream audioStream) {
winforms\Managed\System\WinForms\Control.cs (2)
18770Stream stream = new DataStreamFromComStream(istream); 18824Stream stream = new DataStreamFromComStream(istream);
winforms\Managed\System\WinForms\Cursor.cs (3)
89Stream stream = typeof(Cursor).Module.Assembly.GetManifestResourceStream(typeof(Cursor), resource); 150public Cursor(Stream stream) { 667internal void SavePicture(Stream stream) {
winforms\Managed\System\WinForms\DataObject.cs (11)
333public virtual Stream GetAudioStream() { 334return GetData(DataFormats.WaveAudio, false) as Stream; 399public virtual void SetAudio(Stream audioStream) { 870if (data is Stream) { 871hr = SaveStreamToHandle(ref medium.unionmember, (Stream)data); 929Stream stream = new MemoryStream(); 939private static void SaveObjectToHandleSerializer(Stream stream, Object data) { 949private int SaveStreamToHandle(ref IntPtr handle, Stream stream) { 1692private Stream ReadByteStreamFromHandle(IntPtr handle, out bool isSerializedObject) { 1745Stream stream = ReadByteStreamFromHandle(handle, out isSerializedObject); 1757private static Object ReadObjectFromHandleDeserializer(Stream stream, bool restrictDeserialization) {
winforms\Managed\System\WinForms\IFileReaderService.cs (1)
20Stream OpenFileFromSource(string relativePath);
winforms\Managed\System\WinForms\ImageListStreamer.cs (1)
235private bool WriteImageList(IntPtr imagelistHandle, Stream stream) {
winforms\Managed\System\WinForms\OpenFileDialog.cs (2)
142public Stream OpenFile() 152Stream s = null;
winforms\Managed\System\WinForms\PictureBox.cs (5)
112Stream uriImageStream = null; 752Stream responseStream = webResponse.GetResponseStream(); 780Stream responseStream = (Stream)result.AsyncState; 820Stream rs = responseStream;
winforms\Managed\System\WinForms\RichTextBox.cs (8)
113Stream editStream = null; 2417Stream file = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read); 2430public void LoadFile(Stream data, RichTextBoxStreamType fileType) { 2769Stream file = File.Create(path); 2782public void SaveFile(Stream data, RichTextBoxStreamType fileType) { 3012private void StreamIn(Stream data, int flags) { 3107Stream stream = new MemoryStream(); 3133private void StreamOut(Stream data, int flags, bool includeCrLfs) {
winforms\Managed\System\WinForms\SaveFileDialog.cs (2)
96public Stream OpenFile() { 105Stream s = null;
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (3)
6621protected Stream dataStream; 6628public ComStreamFromDataStream(Stream dataStream) 6683public Stream GetDataStream() {
winforms\Managed\System\WinForms\WebBrowser.cs (3)
47private Stream documentStreamToSetOnLoad; 291public Stream DocumentStream { 333Stream stream = this.DocumentStream;
System.Windows.Forms.DataVisualization (22)
Common\General\Chart.cs (5)
242 public void SaveIntoMetafile(Stream imageStream, EmfType emfType) 3455 Stream stream = LoadTemplateData(name); 3469public void LoadTemplate(Stream stream) 3525 private Stream LoadTemplateData(string url) 3529 Stream dataStream = null;
Common\General\ChartSerializer.cs (2)
427 public void Save(Stream stream) 562 public void Load(Stream stream)
Common\Utilities\XmlSerializer.cs (12)
1309internal void Serialize(object objectToSerialize, Stream stream) 1363Stream stream = writer as Stream; 1865 internal void Deserialize(object objectToDeserialize, Stream stream) 1915Stream stream = reader as Stream; 2240Stream stream = destination as Stream; 2275 internal void Serialize(object objectToSerialize, Stream stream) 2848Stream stream = source as Stream; 2882 public void Deserialize(object objectToDeserialize, Stream stream)
WinForm\ChartWinControl.cs (3)
822 public void SaveImage(Stream imageStream, ImageFormat format) 858 public void SaveImage( Stream imageStream, ChartImageFormat format ) 1963 public void LoadTemplate(Stream stream)
System.Workflow.Activities (4)
Common\CompModHelpers.cs (3)
292internal static Stream SerializeDesignersToStream(ICollection activities) 294Stream stateStream = new MemoryStream(); 338internal static void DeserializeDesignersFromStream(ICollection activities, Stream stateStream)
Rules\Helpers.cs (1)
213Stream stream = workflowType.Module.Assembly.GetManifestResourceStream(workflowType, resourceName);
System.Workflow.ComponentModel (26)
AuthoringOM\Activity.cs (4)
1054public void Save(Stream stream) 1058public void Save(Stream stream, IFormatter formatter) 1096public static Activity Load(Stream stream, Activity outerActivity) 1100public static Activity Load(Stream stream, Activity outerActivity, IFormatter formatter)
AuthoringOM\Compiler\CompileXomlTask.cs (3)
1056override protected string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, Stream binaryStream) 1093override protected string CreateManifestName(string fileName, string linkFileName, string rootNamespace, string dependentUponFileName, Stream binaryStream) 1128internal static string GetXomlManifestName(string fileName, string linkFileName, string rootNamespace, Stream binaryStream)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
708Stream temp = new FileStream(filenames[i], FileMode.Create, FileAccess.Write, FileShare.Read);
AuthoringOM\Design\CommandSet.cs (2)
944Stream componentStateStream = dataObj.GetData(CF_DESIGNERSTATE) as Stream;
AuthoringOM\Design\ComponentSerializationService.cs (2)
32public override SerializationStore LoadStore(Stream stream) 283public override void Save(Stream stream)
AuthoringOM\Design\CompositeActivityDesigner.cs (4)
571Stream stream = new MemoryStream(); 600if (data is Stream) 603((Stream)data).Seek(0, SeekOrigin.Begin); 604object serializationData = formatter.Deserialize((Stream)data);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (2)
519Stream componentStateStream = eventArgs.Data.GetData(DragDropManager.CF_DESIGNERSTATE) as Stream;
AuthoringOM\Design\Themes.cs (1)
712Stream stream = designerType.Assembly.GetManifestResourceStream(designerType, themeAttrib.Xml);
AuthoringOM\Design\WorkflowView.cs (3)
873public void SaveViewState(Stream viewState) 896public void LoadViewState(Stream viewState) 985public void SaveWorkflowImage(Stream stream, ImageFormat imageFormat)
AuthoringOM\Design\XomlDesignerLoader.cs (1)
276Stream stream = type.Module.Assembly.GetManifestResourceStream(type, manifestResourceName);
Shared\CompModHelpers.cs (3)
290internal static Stream SerializeDesignersToStream(ICollection activities) 292Stream stateStream = new MemoryStream(); 336internal static void DeserializeDesignersFromStream(ICollection activities, Stream stateStream)
System.WorkflowServices (17)
System\ServiceModel\Activation\WorkflowServiceHostFactory.cs (2)
25Stream workflowDefinitionStream = null; 26Stream ruleDefinitionStream = null;
System\ServiceModel\Description\WorkflowServiceBehavior.cs (3)
54public WorkflowServiceBehavior(Stream workflowDefinitionStream) 60public WorkflowServiceBehavior(Stream workflowDefinitionStream, Stream ruleDefinitionStream)
System\ServiceModel\WorkflowServiceHost.cs (5)
46public WorkflowServiceHost(Stream workflowDefinition, params Uri[] baseAddress) : 52public WorkflowServiceHost(Stream workflowDefinition, Stream ruleDefinition, params Uri[] baseAddress) : 58public WorkflowServiceHost(Stream workflowDefinition, Stream ruleDefinition, ITypeProvider typeProvider, params Uri[] baseAddress)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
845type.Equals(typeof(System.IO.Stream));
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (6)
27internal StreamedWorkflowDefinitionContext(Stream workflowDefinition, Stream ruleDefinition, ITypeProvider typeProvider) 157System.IO.Stream definitionStream = null; 158System.IO.Stream ruleStream = null; 250System.IO.Stream definitionStream = null; 251System.IO.Stream ruleStream = null;
System.Xaml.Hosting (3)
System\Xaml\Hosting\IXamlBuildProviderExtension.cs (1)
13void GenerateCode(AssemblyBuilder assemblyBuilder, Stream xamlStream, BuildProvider buildProvider);
System\Xaml\Hosting\XamlBuildProvider.cs (2)
42using (Stream xamlStream = base.OpenStream()) 111using (Stream xamlStream = base.OpenStream())
System.Xml (121)
System\Xml\BinaryXml\SqlUtils.cs (2)
91public void Write(Stream strm) { 108private void WriteUI4(uint val, Stream strm) {
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
238Stream inStrm; 313public XmlSqlBinaryReader(System.IO.Stream stream, byte[] data, int len, string baseUri, bool closeInput, XmlReaderSettings settings) {
System\Xml\Core\HtmlEncodedRawTextWriter.cs (2)
91public HtmlEncodedRawTextWriter( Stream stream, XmlWriterSettings settings ) : base( stream, settings ) { 783public HtmlEncodedRawTextWriterIndent( Stream stream, XmlWriterSettings settings ) : base( stream, settings ) {
System\Xml\Core\HtmlUtf8RawTextWriter.cs (2)
91public HtmlUtf8RawTextWriter( Stream stream, XmlWriterSettings settings ) : base( stream, settings ) { 783public HtmlUtf8RawTextWriterIndent( Stream stream, XmlWriterSettings settings ) : base( stream, settings ) {
System\Xml\Core\TextEncodedRawTextWriter.cs (1)
52public TextEncodedRawTextWriter( Stream stream, XmlWriterSettings settings ) : base( stream, settings ) {
System\Xml\Core\TextUtf8RawTextWriter.cs (1)
52public TextUtf8RawTextWriter( Stream stream, XmlWriterSettings settings ) : base( stream, settings ) {
System\Xml\Core\XmlAutoDetectWriter.cs (2)
28private Stream strm; 49public XmlAutoDetectWriter(Stream strm, XmlWriterSettings writerSettings)
System\Xml\Core\XmlEncodedRawTextWriter.cs (3)
47protected Stream stream; 154public XmlEncodedRawTextWriter( Stream stream, XmlWriterSettings settings ) : this( settings ) { 1649public XmlEncodedRawTextWriterIndent( Stream stream, XmlWriterSettings settings ) : base( stream, settings ) {
System\Xml\Core\XmlReader.cs (6)
1565public static XmlReader Create(Stream input) { 1570public static XmlReader Create(Stream input, XmlReaderSettings settings) { 1575public static XmlReader Create(Stream input, XmlReaderSettings settings, String baseUri) { 1583public static XmlReader Create(Stream input, XmlReaderSettings settings, XmlParserContext inputContext) { 1629internal static XmlReader CreateSqlReader(Stream input, XmlReaderSettings settings, XmlParserContext inputContext) { 1703internal static int CalcBufferSize(Stream input) {
System\Xml\Core\XmlReaderSettings.cs (1)
409internal XmlReader CreateReader(Stream input, Uri baseUri, string baseUriString, XmlParserContext inputContext) {
System\Xml\Core\XmlTextReader.cs (5)
42public XmlTextReader( Stream input ) { 47public XmlTextReader( string url, Stream input ) { 52public XmlTextReader( Stream input, XmlNameTable nt ) { 57public XmlTextReader( string url, Stream input, XmlNameTable nt ) { 82public XmlTextReader( Stream xmlFragment, XmlNodeType fragType, XmlParserContext context ) {
System\Xml\Core\XmlTextReaderImpl.cs (23)
137public Stream inputStream; 493internal XmlTextReaderImpl( Stream input ) : this( string.Empty, input, new NameTable() ) { 495internal XmlTextReaderImpl( Stream input, XmlNameTable nt ) : this( string.Empty, input, nt ) { 497internal XmlTextReaderImpl( string url, Stream input ) : this( url, input, new NameTable() ) { 499internal XmlTextReaderImpl( string url, Stream input, XmlNameTable nt ) : this( nt ) { 533internal XmlTextReaderImpl( Stream xmlFragment, XmlNodeType fragType, XmlParserContext context ) 663Stream stream = null; 669System.Threading.Tasks.Task<object> t = laterInitParam.inputUriResolver.GetEntityAsync(laterInitParam.inputbaseUri, string.Empty, typeof(Stream)); 671stream = (Stream)t.Result; 676stream = (Stream)laterInitParam.inputUriResolver.GetEntity(laterInitParam.inputbaseUri, string.Empty, typeof(Stream)); 709internal XmlTextReaderImpl( Stream stream, byte[] bytes, int byteCount, XmlReaderSettings settings, Uri baseUri, string baseUriStr, 2579private void InitStreamInput( Stream stream, Encoding encoding ) { 2583private void InitStreamInput( string baseUriStr, Stream stream, Encoding encoding ) { 2589private void InitStreamInput( Uri baseUri, Stream stream, Encoding encoding ) { 2595private void InitStreamInput( Uri baseUri, string baseUriStr, Stream stream, Encoding encoding ) { 2600private void InitStreamInput( Uri baseUri, string baseUriStr, Stream stream, byte[] bytes, int byteCount, Encoding encoding ) { 2847ps.stream = (Stream) GetTempResolver().GetEntity(ps.baseUri, null, typeof(Stream)); 7168Debug.Assert( xmlResolver.SupportsType( uri, typeof( Stream ) ), "Stream must always be a supported type in XmlResolver" ); 7170Stream stream = (Stream) xmlResolver.GetEntity( uri, null, typeof( Stream ) );
System\Xml\Core\XmlTextReaderImplAsync.cs (10)
77Stream stream = (Stream)(await laterInitParam.inputUriResolver.GetEntityAsync(laterInitParam.inputbaseUri, string.Empty, typeof(Stream)).ConfigureAwait(false)); 816private Task InitStreamInputAsync( Uri baseUri, Stream stream, Encoding encoding ) { 822private Task InitStreamInputAsync( Uri baseUri, string baseUriStr, Stream stream, Encoding encoding ) { 827private async Task InitStreamInputAsync( Uri baseUri, string baseUriStr, Stream stream, byte[] bytes, int byteCount, Encoding encoding ) { 4812Debug.Assert( xmlResolver.SupportsType( uri, typeof( Stream ) ), "Stream must always be a supported type in XmlResolver" ); 4814Stream stream = (Stream)await xmlResolver.GetEntityAsync(uri, null, typeof(Stream)).ConfigureAwait(false);
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
45internal Stream stream;
System\Xml\Core\XmlTextWriter.cs (2)
264public XmlTextWriter(Stream w, Encoding encoding) : this() { 295public Stream BaseStream {
System\Xml\Core\XmlUtf8RawTextWriter.cs (3)
47protected Stream stream; 121public XmlUtf8RawTextWriter( Stream stream, XmlWriterSettings settings ) : this( settings ) { 1545public XmlUtf8RawTextWriterIndent( Stream stream, XmlWriterSettings settings ) : base( stream, settings ) {
System\Xml\Core\XmlValidatingReader.cs (1)
41public XmlValidatingReader( Stream xmlFragment, XmlNodeType fragType, XmlParserContext context ) {
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
174internal XmlValidatingReaderImpl( Stream xmlFragment, XmlNodeType fragType, XmlParserContext context )
System\Xml\Core\XmlWriter.cs (2)
619public static XmlWriter Create(Stream output) { 624public static XmlWriter Create(Stream output, XmlWriterSettings settings) {
System\Xml\Core\XmlWriterSettings.cs (1)
469internal XmlWriter CreateWriter(Stream output) {
System\Xml\Dom\XmlDocument.cs (2)
1076public virtual void Load( Stream inStream ) { 1179public virtual void Save( Stream outStream ) {
System\Xml\Dom\XmlDomTextWriter.cs (1)
20public XmlDOMTextWriter( Stream w, Encoding encoding ) : base( w,encoding ) {
System\Xml\IApplicationResourceStreamResolver.cs (1)
14Stream GetApplicationResourceStream(Uri relativeUri);
System\Xml\Resolvers\XmlPreloadedResolver.cs (7)
33internal abstract Stream AsStream(); 42if (type == null || type == typeof(Stream)) { 63internal override Stream AsStream() { 84internal override Stream AsStream() { 96internal override Stream AsStream() { 213if (ofObjectToReturn == null || ofObjectToReturn == typeof(Stream) || ofObjectToReturn == typeof(Object)) { 280public void Add(Uri uri, Stream value) {
System\Xml\Resolvers\XmlPreloadedResolverAsync.cs (1)
37if (ofObjectToReturn == null || ofObjectToReturn == typeof(Stream) || ofObjectToReturn == typeof(Object)) {
System\Xml\Schema\Preprocessor.cs (2)
319if (returnType.IsSubclassOf(typeof(Stream)) ) { 322reader = XmlReader.Create((Stream)obj, readerSettings, ruri.ToString() );
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
193Stream stream = GetSchemaEntity(ruri); 1442private Stream GetSchemaEntity(Uri ruri) { 1444return (Stream)xmlResolver.GetEntity(ruri, null, null);
System\Xml\Schema\XdrBuilder.cs (2)
493Stream stm = (Stream)xmlResolver.GetEntity(ruri,null,null);
System\Xml\Schema\XdrValidator.cs (2)
283Stream stm = (Stream)this.XmlResolver.GetEntity(ruri,null,null);
System\Xml\Schema\XmlSchema.cs (3)
96public static XmlSchema Read(Stream stream, ValidationEventHandler validationEventHandler) { 126public void Write(Stream stream) { 134public void Write(Stream stream, XmlNamespaceManager namespaceManager) {
System\Xml\Schema\XmlSchemaValidator.cs (2)
1552Stream stm = (Stream)xmlResolver.GetEntity(ruri,null,null);
System\Xml\Schema\XsdValidator.cs (2)
483Stream stm = (Stream)this.XmlResolver.GetEntity(ruri,null,null);
System\Xml\Serialization\XmlSerializer.cs (3)
289public void Serialize(Stream stream, object o) { 297public void Serialize(Stream stream, object o, XmlSerializerNamespaces namespaces) { 361public object Deserialize(Stream stream) {
System\Xml\XmlDownloadManager.cs (5)
27internal Stream GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, 37private Stream GetNonFileStream( Uri uri, ICredentials credentials, IWebProxy proxy, 103protected Stream stream; 107internal XmlRegisteredNonCachedStream( Stream stream, XmlDownloadManager downloadManager, string host ) { 214internal XmlCachedStream( Uri uri, Stream stream )
System\Xml\XmlDownloadManagerAsync.cs (3)
20internal Task<Stream> GetStreamAsync(Uri uri, ICredentials credentials, IWebProxy proxy, 23return Task.Run<Stream>(() => { return new FileStream(uri.LocalPath, FileMode.Open, FileAccess.Read, FileShare.Read, 1, true); }); 30private async Task<Stream> GetNonFileStreamAsync(Uri uri, ICredentials credentials, IWebProxy proxy,
System\Xml\XmlResolver.cs (1)
101if (type == null || type == typeof(Stream)) {
System\Xml\XmlUrlResolver.cs (1)
57if (ofObjectToReturn == null || ofObjectToReturn == typeof(System.IO.Stream) || ofObjectToReturn == typeof(System.Object)) {
System\Xml\XmlUrlResolverAsync.cs (1)
13if (ofObjectToReturn == null || ofObjectToReturn == typeof(System.IO.Stream) || ofObjectToReturn == typeof(System.Object)) {
System\Xml\XPath\XPathDocument.cs (1)
97public XPathDocument(Stream stream) {
System\Xml\Xslt\XslCompiledTransform.cs (3)
351public void Transform(IXPathNavigable input, XsltArgumentList arguments, Stream results) { 381public void Transform(XmlReader input, XsltArgumentList arguments, Stream results) { 431public void Transform(string inputUri, XsltArgumentList arguments, Stream results) {
System\Xml\Xslt\XslTransform.cs (4)
155public void Transform(XPathNavigator input, XsltArgumentList args, Stream output, XmlResolver resolver) { 161public void Transform(XPathNavigator input, XsltArgumentList args, Stream output) { 204public void Transform(IXPathNavigable input, XsltArgumentList args, Stream output, XmlResolver resolver) { 211public void Transform(IXPathNavigable input, XsltArgumentList args, Stream output) {
System.Xml.Linq (40)
System\Xml\Linq\XLinq.cs (40)
3839/// <see cref="Stream"/>, a <see cref="TextReader"/>, or an 3913/// the passed <see cref="Stream"/> parameter. 3916/// A <see cref="Stream"/> containing the raw XML to read into the newly 3921/// <see cref="Stream"/>. 3923public static XElement Load(Stream stream) { 3929/// the passed <see cref="Stream"/> parameter. Optionally whitespace handling 3938/// A <see cref="Stream"/> containing the raw XML to read into the newly 3946/// <see cref="Stream"/>. 3948public static XElement Load(Stream stream, LoadOptions options) { 4199/// be saved to a file, a <see cref="Stream"/>, a <see cref="TextWriter"/>, 4247/// Output this <see cref="XElement"/> to the passed in <see cref="Stream"/>. 4252/// <see cref="XElement.Save(Stream, SaveOptions)"/>) enabling 4258/// The <see cref="Stream"/> to output this <see cref="XElement"/> to. 4260public void Save(Stream stream) { 4265/// Output this <see cref="XElement"/> to a <see cref="Stream"/>. 4268/// The <see cref="Stream"/> to output the XML to. 4274public void Save(Stream stream, SaveOptions options) { 5524/// <see cref="Stream"/>, a <see cref="TextReader"/>, or an 5595/// the passed <see cref="Stream"/> parameter. 5598/// A <see cref="Stream"/> containing the raw XML to read into the newly 5603/// <see cref="Stream"/>. 5605public static XDocument Load(Stream stream) { 5611/// the passed <see cref="Stream"/> parameter. Optionally whitespace handling 5620/// A <see cref="Stream"/> containing the raw XML to read into the newly 5628/// <see cref="Stream"/>. 5630public static XDocument Load(Stream stream, LoadOptions options) { 5789/// be saved to a file, a <see cref="Stream"/>, a <see cref="TextWriter"/>, 5844/// Output this <see cref="XDocument"/> to the passed in <see cref="Stream"/>. 5849/// <see cref="XDocument.Save(Stream, SaveOptions)"/>) enabling 5855/// The <see cref="Stream"/> to output this <see cref="XDocument"/> to. 5857public void Save(Stream stream) { 5862/// Output this <see cref="XDocument"/> to a <see cref="Stream"/>. 5865/// The <see cref="Stream"/> to output the XML to. 5871public void Save(Stream stream, SaveOptions options) { 7292/// Save the contents of an <see cref="XStreamingElement"/> to a <see cref="Stream"/> 7295/// <param name="stream"><see cref="Stream"/> to write to </param> 7296public void Save(Stream stream) { 7301/// Save the contents of an <see cref="XStreamingElement"/> to a <see cref="Stream"/>, 7304/// <param name="stream"><see cref="Stream"/> to write to </param> 7309public void Save(Stream stream, SaveOptions options) {
WindowsBase (205)
Base\MS\Internal\IO\Packaging\Certificate.cs (2)
105using (Stream s = _part.GetStream()) 134using (Stream s = _part.GetStream(FileMode.Create, FileAccess.Write))
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (5)
71public void Decompress(Stream source, Stream sink) 205public void Compress(Stream source, Stream sink) 388private bool ReadBlockHeader(Stream source,
Base\MS\Internal\IO\Packaging\CompoundFile\CompressionTransform.cs (3)
99Stream 101Stream encodedStream, 105Stream tempStream = new SparseMemoryStream(_lowWaterMark, _highWaterMark);
Base\MS\Internal\IO\Packaging\CompoundFile\NativeCompoundFileAPIs.cs (2)
89Stream s, 120Stream s,
Base\MS\Internal\IO\Packaging\CompoundFile\PrivateUnsafeNativeCompoundFileMethods.cs (2)
108internal UnsafeLockBytesOnStream( Stream underlyingStream ) 232private Stream _baseStream;
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (2)
302Stream baseStream, 903private Stream _baseStream;
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (7)
82Stream instanceDataStream = transformEnvironment.GetPrimaryInstanceData(); 605Stream 607Stream encodedStream, 621Stream s = new RightsManagementEncryptedStream(encodedStream, _cryptoProvider); 824using (Stream stream = si.GetStream(FileMode.Open, FileAccess.Read)) 877using (Stream stream = si.GetStream(FileMode.Open, FileAccess.Read)) 919using (Stream licenseStream = si.Create())
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (2)
25Stream baseStream; 29internal StreamWithDictionary( Stream wrappedStream, IDictionary wrappedDictionary )
Base\MS\Internal\IO\Packaging\CompoundFile\UserUseLicenseDictionaryLoader.cs (1)
132using (Stream stream = si.GetStream(FileMode.Open, FileAccess.Read))
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStream.cs (4)
202internal VersionedStream(Stream baseStream, VersionedStreamOwner versionOwner) 223protected VersionedStream(Stream baseStream) 238protected Stream BaseStream 282private Stream _stream; // null indicates Disposed state
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStreamOwner.cs (1)
208internal VersionedStreamOwner(Stream baseStream, FormatVersion codeVersion)
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (8)
40void Decompress(Stream source, Stream sink); 41void Compress(Stream source, Stream sink); 264internal CompressEmulationStream(Stream baseStream, Stream tempStream, long position, IDeflateTransform transformer) 355protected Stream _baseStream; // stream we ultimately decompress from and to in the container 356protected Stream _tempStream; // temporary storage for the uncompressed stream
Base\MS\Internal\IO\Packaging\CompressStream.cs (5)
461internal CompressStream(Stream baseStream, long length) : this (baseStream, length, false) 471internal CompressStream(Stream baseStream, long length, bool creating) 740private static bool IsDeflateStreamEmpty(Stream s) 805private Stream _baseStream; // stream we ultimately decompress from and to in the container 806private Stream _current; // current stream object
Base\MS\Internal\IO\Packaging\DeflateEmulationStream.cs (4)
39public void Decompress(Stream source, Stream sink) 63public void Compress(Stream source, Stream sink)
Base\MS\Internal\IO\Packaging\IgnoreFlushAndCloseStream.cs (2)
35internal IgnoreFlushAndCloseStream(Stream stream) 225private Stream _stream;
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (3)
116Stream pieceStream = _dir.GetStream(pieceNumber); 229Stream lastPieceStream = _dir.GetStream(lastPieceNumber); 265Stream pieceStream = _dir.GetStream(pieceNumber);
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
289using (Stream s = part.GetStream(FileMode.Open, FileAccess.Read))
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (2)
564Stream stream = part.GetStream(FileMode.Open, FileAccess.Read); 769Stream writerStream;
Base\MS\Internal\IO\Packaging\PieceDirectory.cs (7)
69internal PieceStreamInfo(Stream stream, long pieceStart) 96internal Stream Stream 143private Stream _stream; 259internal Stream GetStream(int pieceNumber) 402Stream pieceStream = _sortedPieceInfoList[pieceNumber].ZipFileInfo.GetStream( 491Stream pieceStream = newLastPieceInfo.GetStream(_fileMode, _fileAccess); 543private Stream _temporaryMemoryStream = new MemoryStream(0);
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (4)
316internal void WriteToStream(Stream stream) 740private void CopyMemoryBlocksToStream(Stream targetStream) 774private long SkipWrite(Stream targetStream, long currentPos, long offset) 830private Stream _isolatedStorageStream;
Base\MS\Internal\IO\Packaging\streamingZipPartStream.cs (1)
348private Stream _pieceStream; // write-only stream on the current piece
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (15)
164Stream s = null; 454Stream s, 479Stream s, 488Stream transformStream = new IgnoreFlushAndCloseStream(s); 490List<Stream> transformStreams = null; 495transformStreams = new List<Stream>(transforms.Count); 526foreach (Stream stream in transformStreams) 538internal static Stream GenerateRelationshipNodeStream(IEnumerable<PackageRelationship> relationships) 541Stream s = new MemoryStream(); 660using (Stream s = SignaturePart.GetStream()) 945private Stream GetRelationshipStream(PartManifestEntry partEntry) 999using (Stream s = SignaturePart.GetStream(FileMode.Create, FileAccess.Write)) 1011private static byte[] HashStream(HashAlgorithm hashAlgorithm, Stream s) 1030private static Stream TransformXml(Transform xForm, Object source) 1043return (Stream)xForm.GetOutput();
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (3)
739using (Stream s = XmlDigitalSignatureProcessor.GenerateRelationshipNodeStream(GetRelationships(manager, relationshipSelectors))) // serialized node list 786using (Stream s = part.GetStream(FileMode.Open, FileAccess.Read)) 806private static XmlNode GenerateDigestValueNode(XmlDocument xDoc, HashAlgorithm hashAlgorithm, Stream s, String transformName)
Base\MS\Internal\IO\Zip\Crc32.cs (1)
51internal UInt32 CalculateStreamCrc(Stream stream)
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (3)
232internal ProgressiveCrcCalculatingStream(ZipIOBlockManager blockManager, Stream underlyingStream) : 238internal ProgressiveCrcCalculatingStream(ZipIOBlockManager blockManager, Stream underlyingStream, UInt32 expectedCrc) 362private Stream _underlyingStream;
Base\MS\Internal\IO\Zip\WriteTimeStream.cs (2)
115internal WriteTimeStream(Stream baseStream) 168private Stream _baseStream; // stream we wrap - needs to only support Write
Base\MS\Internal\IO\Zip\ZipArchive.cs (4)
126internal static ZipArchive OpenOnStream(Stream stream, FileMode mode, FileAccess access, bool streaming) 451private ZipArchive(Stream archiveStream, FileMode mode, FileAccess access, bool streaming, bool ownStream) 524static private void ValidateModeAccessShareStreaming(Stream stream, FileMode mode, FileAccess access, FileShare share, bool streaming) 569static private void ValidateModeAccessStreamStreamingCombinations(Stream stream, FileAccess access, bool streaming)
Base\MS\Internal\IO\Zip\ZipFileInfo.cs (1)
53internal Stream GetStream(FileMode mode, FileAccess access)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (4)
174internal Stream Stream 469internal ZipIOBlockManager(Stream archiveStream, bool streaming, bool ownStream) 657Stream stream, 1242private Stream _archiveStream;
Base\MS\Internal\IO\Zip\ZipIOEndOfCentralDirectoryBlock.cs (1)
304private static long FindPosition(Stream archiveStream)
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (7)
436internal Stream GetStream(FileMode mode, FileAccess access) 475Stream exposedStream; 479exposedStream = (Stream)_exposedPublicStreams[0]; 498internal void DeregisterExposedStream(Stream exposedStream) 822static private void CheckFileAccessParameter(Stream stream, FileAccess access) 849private void RegisterExposedStream(Stream exposedStream) 901private Stream _deflateStream; // may be null - only used if stream is Deflated
Base\MS\Internal\IO\Zip\ZipIOModeEnforcingStream.cs (2)
296internal ZipIOModeEnforcingStream(Stream baseStream, FileAccess access, 321private Stream _baseStream;
Base\MS\Internal\SystemDrawingExtensionMethods.cs (3)
64internal abstract Stream GetCommentFromGifStream(Stream stream); 73internal abstract void SaveMetafileToImageStream(MemoryStream metafileStream, Stream imageStream);
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (20)
165Stream primaryStream, 226internal Stream transformPrimaryStream; 339internal DirtyStateTrackingStream(Stream baseStream) 354internal Stream BaseStream 403private Stream _baseStream; 824internal Stream GetPrimaryInstanceStreamOf( string transformLabel ) 1058using(Stream dataSpaceMapStream = dataSpaceMapStreamInfo.GetStream(FileMode.Open)) 1138Stream versionStream = versionStreamInfo.GetStream(); 1143using(Stream dataSpaceMapStream = dataSpaceMapStreamInfo.GetStream(FileMode.Create)) 1212using(Stream definitionStream = definitionStreamInfo.GetStream(FileMode.Open)) 1282using(Stream singleDefinition = singleDefinitionInfo.GetStream()) 1335using(Stream transformDefinition = transformPrimary.GetStream(FileMode.Open)) 1457using(Stream transformPrimary = transformPrimaryInfo.GetStream()) 1524internal Stream CreateDataSpaceStream( CompoundFileStreamReference containerReference , Stream rawStream ) 1526Stream outputStream = rawStream; 1617using (Stream versionStream = versionStreamInfo.GetStream(FileMode.Open)) 1733Stream GetTransformedStream( Stream encodedDataStream, IDictionary transformContext ); 1898internal Stream GetPrimaryInstanceData()
Base\System\IO\Packaging\CompoundFile\FormatVersion.cs (3)
293public static FormatVersion LoadFromStream(Stream stream) 309public int SaveToStream(Stream stream) 525internal static FormatVersion LoadFromStream(Stream stream, out Int32 bytesRead)
Base\System\IO\Packaging\CompoundFile\StorageInfo.cs (2)
866((Stream)(deadStreamInfoCore.exposedStream)).Close(); 1258((Stream)(streamRelease.exposedStream)).Close();
Base\System\IO\Packaging\CompoundFile\StorageRoot.cs (2)
108internal static StorageRoot CreateOnStream( Stream baseStream ) 131internal static StorageRoot CreateOnStream(Stream baseStream, FileMode mode)
Base\System\IO\Packaging\CompoundFile\StreamInfo.cs (16)
239public Stream GetStream() 249public Stream GetStream( FileMode mode ) 260public Stream GetStream( FileMode mode, FileAccess access ) 301((Stream)(core.exposedStream)).Close(); 397Stream returnStream = 412internal Stream Create() 422private Stream Create( FileMode mode ) 432internal Stream Create( string dataSpaceLabel ) 443private Stream Create( FileMode mode, FileAccess access ) 455internal Stream Create( FileMode mode, FileAccess access, string dataSpace ) 506((Stream)(core.exposedStream)).Close(); 554Stream returnStream = 564Stream BuildStreamOnUnderlyingIStream( 569Stream rawStream = new CFStream( underlyingIStream, access, parent ); 746private Stream CFStreamOfClone( FileAccess access ) 754Stream returnStream =
Base\System\IO\Packaging\EncryptedPackage.cs (14)
100Stream envelopeStream, 147Stream packageStream, 192Stream envelopeStream, 193Stream packageStream, 265Stream envelopeStream 329Stream envelopeStream, 356Stream packageStream, 388Stream envelopeStream, 389Stream packageStream, 471Stream envelopeStream 553Stream stream 787internal Stream GetPackageStream() 1137EmbedPackage(Stream packageStream) 1208private Stream _packageStream;
Base\System\IO\Packaging\Package.cs (9)
224public static Package Open(Stream stream) 241public static Package Open(Stream stream, FileMode packageMode) 261public static Package Open(Stream stream, FileMode packageMode, FileAccess packageAccess) 1050internal static Package Open(Stream stream, FileMode packageMode, FileAccess packageAccess, bool streaming) 1062Stream ensuredStream = ValidateModeAndAccess(stream, packageMode, packageAccess); 1225private static Stream ValidateModeAndAccess(Stream s, FileMode mode, FileAccess access) 1497internal RestrictedStream(Stream stream, FileAccess access) 1718private Stream _stream;
Base\System\IO\Packaging\PackagePart.cs (10)
307public Stream GetStream() 329public Stream GetStream(FileMode mode) 353public Stream GetStream(FileMode mode, FileAccess access) 358Stream s = GetStreamCore(mode, access); 372_requestedStreams = new List<Stream>(); //Default capacity is 4 392protected abstract Stream GetStreamCore(FileMode mode, FileAccess access); 650foreach (Stream s in _requestedStreams) 679foreach (Stream s in _requestedStreams) 899private bool IsStreamClosed(Stream s) 920private List<Stream> _requestedStreams;
Base\System\IO\Packaging\ZipPackage.cs (5)
437internal ZipPackage(Stream s, FileMode mode, FileAccess access, bool streaming) 805private Stream _containerStream; // stream we are opened in if Open(Stream) was called 1044using (Stream s = _contentTypeFileInfo.GetStream(FileMode.Create, _zipArchive.OpenAccess)) 1114Stream s = OpenContentTypeStream(zipFiles); 1198private Stream OpenContentTypeStream(ZipFileInfoCollection zipFiles)
Base\System\IO\Packaging\ZipPackagePart.cs (1)
57protected override Stream GetStreamCore(FileMode mode, FileAccess access)
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (9)
114static internal void VerifyStreamReadArgs(Stream s, byte[] buffer, int offset, int count) 151static internal void VerifyStreamWriteArgs(Stream s, byte[] buffer, int offset, int count) 189internal static int ReliableRead(Stream stream, byte[] buffer, int offset, int count) 206internal static int ReliableRead(Stream stream, byte[] buffer, int offset, int requestedCount, int requiredCount) 300internal static long CopyStream(Stream sourceStream, Stream targetStream, long bytesToCopy, int bufferSize) 340internal static Stream CreateUserScopedIsolatedStorageFileStreamWithRandomName(int retryCount, out String fileName) 346Stream s = null; 732internal Stream GetStream(String fileName)
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
474typeof(Stream),