106 overrides of Position
mscorlib (9)
system\io\__consolestream.cs (1)
82public override long Position {
system\io\bufferedstream.cs (1)
242public override Int64 Position {
system\io\filestream.cs (1)
1221public override long Position {
system\io\memorystream.cs (1)
320public override long Position {
system\io\stream.cs (2)
881public override long Position { 1123public override long Position {
system\io\unmanagedmemorystream.cs (1)
324public override long Position {
system\security\cryptography\cryptostream.cs (1)
96public override long Position {
system\security\cryptography\mactripledes.cs (1)
197public override long Position {
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
91public override long Position
PresentationCore (4)
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
119public override long Position
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
293public override long Position
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (1)
198public override long Position
Shared\MS\Internal\IO\SynchronizingStream.cs (1)
197public override long Position
PresentationFramework (7)
src\Framework\MS\Internal\AppModel\BamlStream.cs (1)
116public override long Position
src\Framework\MS\Internal\IO\Packaging\ByteStream.cs (1)
151public override long Position
src\Framework\MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (1)
247public override long Position
src\Framework\MS\Internal\Navigation\BindStream.cs (1)
139public override long Position
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (1)
135public override long Position
src\Framework\System\Windows\Markup\XamlStream.cs (2)
690public override long Position 856public override long Position
System (21)
net\System\Net\_ConnectStream.cs (1)
549public override long Position {
net\System\Net\_FtpDataStream.cs (1)
151public override long Position {
net\System\Net\_ListenerRequestStream.cs (1)
89public override long Position {
net\System\Net\_ListenerResponseStream.cs (1)
97public override long Position {
net\System\Net\_PooledStream.cs (1)
425public override long Position {
net\System\Net\Cache\_CacheStreams.cs (4)
90public override long Position { 406public override long Position { 920public override long Position { 1085public override long Position {
net\System\Net\Cache\_SingleItemRequestCache.cs (2)
318public override long Position { 477public override long Position {
net\System\Net\mail\DelegatedStream.cs (1)
74public override long Position
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
486public override long Position {
net\System\Net\SecureProtocols\SslStream.cs (1)
469public override long Position {
net\System\Net\Sockets\NetworkStream.cs (1)
360public override long Position {
net\System\Net\webclient.cs (1)
3040public override long Position {
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
112public override long Position
sys\system\configuration\ClientSettingsStore.cs (1)
365public override long Position {
sys\System\IO\compression\DeflateStream.cs (1)
283public override long Position {
sys\System\IO\compression\GZipStream.cs (1)
81public override long Position {
sys\system\io\ports\SerialStream.cs (1)
126public override long Position
System.Core (2)
System\IO\LogStream.cs (1)
191public override long Position {
System\IO\Pipes\PipeStream.cs (1)
1045public override long Position {
System.Data (12)
fx\src\data\Microsoft\SqlServer\Server\SmiGettersStream.cs (1)
62public override long Position {
fx\src\data\Microsoft\SqlServer\Server\SmiSettersStream.cs (1)
62public override long Position {
fx\src\data\System\Data\Sql\sqlser.cs (1)
222public override long Position {
fx\src\data\System\Data\SqlClient\SqlClientWrapperSmiStream.cs (1)
55public override long Position {
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
66public override long Position
fx\src\data\System\Data\SqlClient\SqlSequentialStreamSmi.cs (1)
47public override long Position
fx\src\data\System\Data\SqlClient\SqlStream.cs (2)
72override public long Position { 305override public long Position {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
10135public override long Position {
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (1)
665 public override long Position {
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
241public override long Position
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
332 public override long Position {
System.Data.Services (3)
parent\Client\System\Data\Services\Client\BatchStream.cs (2)
178public override long Position 1525public override long Position
System\Data\Services\DelegateBodyWriter.cs (1)
130public override long Position
System.Data.Services.Client (2)
System\Data\Services\Client\BatchStream.cs (2)
178public override long Position 1525public override long Position
System.IdentityModel (1)
System\IdentityModel\HashStream.cs (1)
55public override long Position
System.IO.Log (3)
System\IO\Log\FileLogRecordStream.cs (1)
201public override long Position
System\IO\Log\FileRegion.cs (1)
114public override long Position
System\IO\Log\LogLogRecord.cs (1)
132public override long Position
System.Runtime.Remoting (6)
channels\core\chunkedmemorystream.cs (1)
78public override long Position
channels\core\socketstream.cs (1)
51public override long Position
channels\http\httpstreams.cs (2)
35public override long Position 262public override long Position
channels\ipc\pipestream.cs (1)
42public override long Position
channels\tcp\tcpstreams.cs (1)
52public override long Position
System.Runtime.Serialization (4)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
132public override long Position
System\Xml\EncodingStreamWrapper.cs (1)
583public override long Position
System\Xml\XmlMtomReader.cs (2)
2109public override long Position 2839public override long Position
System.ServiceModel (5)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
86public override long Position
System\ServiceModel\Channels\Connection.cs (1)
346public override long Position
System\ServiceModel\Channels\DelegatingStream.cs (1)
71public override long Position
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1105public override long Position
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
308public override long Position
System.ServiceModel.Internals (1)
System\Runtime\BufferedOutputStream.cs (1)
80public override long Position
System.ServiceModel.Web (1)
System\ServiceModel\Channels\StreamBodyWriter.cs (1)
114public override long Position
System.Web (4)
Configuration\RemoteWebConfigurationHostStream.cs (1)
123public override long Position
HttpBufferlessInputStream.cs (1)
105public override long Position {
HttpInputStream.cs (1)
348public override long Position {
HttpWriter.cs (1)
683public override long Position {
System.Web.Services (2)
System\Web\Services\Protocols\BufferedResponseStream.cs (1)
31public override long Position {
System\Web\Services\Protocols\SoapExtensionStream.cs (1)
59public override long Position {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataStreamFromComStream.cs (1)
27public override long Position {
System.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
200public override long Position {
WindowsBase (16)
Base\MS\Internal\IO\Packaging\CompoundFile\CFStream.cs (1)
95public override long Position
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
111public override long Position
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
49public override long Position
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStream.cs (1)
129public override long Position
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (1)
181public override long Position
Base\MS\Internal\IO\Packaging\CompressStream.cs (1)
350public override long Position
Base\MS\Internal\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
109public override long Position
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (1)
415public override long Position
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (1)
68override public long Position
Base\MS\Internal\IO\Packaging\streamingZipPartStream.cs (1)
213public override long Position
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (1)
74override public long Position
Base\MS\Internal\IO\Zip\WriteTimeStream.cs (1)
61override public long Position
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (1)
76override public long Position
Base\MS\Internal\IO\Zip\ZipIOModeEnforcingStream.cs (1)
93override public long Position
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (1)
278public override long Position
Base\System\IO\Packaging\Package.cs (1)
1588public override long Position
134 writes to Position
mscorlib (21)
system\io\binaryreader.cs (1)
120m_stream.Position = origPos;
system\io\isolatedstorage\isolatedstoragefile.cs (3)
2650domain.Position = 0; 2681assem.Position = 0; 2699app.Position = 0;
system\io\stream.cs (1)
1131_stream.Position = value;
system\reflection\emit\modulebuilder.cs (1)
455resWriter.m_memoryStream.Position = 0;
system\resources\manifestbasedresourcegroveler.cs (2)
330store.Position = startPos; 382store.Position = startPos;
system\resources\resourcereader.cs (9)
1086_store.BaseStream.Position = _typeNamePositions[typeIndex]; 1107_store.BaseStream.Position = oldPos; 1123_store.BaseStream.Position = _typeNamePositions[i]; 1127_store.BaseStream.Position = oldPos; 1205_store.BaseStream.Position = _nameSectionOffset + GetNamePosition(i); 1211_store.BaseStream.Position += numBytesToSkip; 1228_store.BaseStream.Position = _dataSectionOffset + dataPos; 1257_store.BaseStream.Position = _typeNamePositions[typeIndex]; 1261_store.BaseStream.Position = oldPos;
system\resources\resourcewriter.cs (2)
513dataSection.Position = 0; 702s.Position = 0;
system\security\permissions\permissionattributes.cs (1)
1152stream.Position = 0;
system\security\util\tokenizer.cs (1)
286stream.Position = reader._in.CurrentEncoding.GetByteCount( fakeReadString );
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
94set { SourceStream.Position = value; }
PresentationCore (12)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (3)
109inkData.Position = (long)isfBase64PrefixLength; 263inkdata.Position = currentPosition; 2183data.Position = currentPosition;
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
131_obfuscatedStream.Position = value;
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (1)
208_innerStream.Position = value;
Core\CSharp\System\Windows\DataObject.cs (2)
1895inkStream.Position = 0; 2048stream.Position = 0;
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (4)
198dataStream.Position = virtualPosition; 404dataStream.Position = offset; 415dataStream.Position = len + offset; 426dataStream.Position = pos + offset;
Shared\MS\Internal\IO\SynchronizingStream.cs (1)
212_baseStream.Position = value;
PresentationFramework (6)
src\Framework\MS\Internal\AppModel\BamlStream.cs (1)
119set { _stream.Position = value; }
src\Framework\MS\Internal\Navigation\BindStream.cs (1)
147_stream.Position = value;
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
400_stream.Position = 0;
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
2216imageStream.Position = 0;
src\Framework\System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
33_stream.Position = 0;
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
477BinaryReader.BaseStream.Position = startPosition;
System (6)
compmod\system\diagnostics\DefaultTraceListener.cs (1)
136stream.Position = stream.Length;
net\System\Net\Cache\_CacheStreams.cs (3)
923set {WrappedStream.Position = value;} 1056WrappedStream.Position = offset; 1093WrappedStream.Position = value;
net\System\Net\mail\DelegatedStream.cs (1)
88this.stream.Position = value;
net\System\Net\webclient.cs (1)
3045m_stream.Position = value;
System.Data.Services.Client (4)
System\Data\Services\Client\DataServiceContext.cs (3)
4456this.httpWebResponseStream.Position = 0; 5036this.buildBatchWriter.BaseStream.Position -= NewLine.Length; 6058this.httpWebResponseStream.Position = 0;
System\Data\Services\Client\QueryResult.cs (1)
375this.responseStream.Position = 0;
System.Drawing (10)
commonui\System\Drawing\Advanced\GPStream.cs (4)
51dataStream.Position = virtualPosition; 141dataStream.Position = offset; 150dataStream.Position = len + offset; 159dataStream.Position = pos + offset;
commonui\System\Drawing\Image.cs (2)
423dataStream.Position = 0; 439dataStream.Position = lastPos;
commonui\System\Drawing\UnsafeNativeMethods.cs (4)
237dataStream.Position = virtualPosition; 322dataStream.Position = offset; 331dataStream.Position = len + offset; 340dataStream.Position = pos + offset;
System.IO.Log (4)
System\IO\Log\FileRegion.cs (1)
123this.innerStream.Position = value + this.offset;
System\IO\Log\LogLogRecord.cs (3)
148this.innerStream.Position = value; 223this.innerStream.Position = 0; 232this.innerStream.Position = originalPosition;
System.Messaging (6)
System\Messaging\ActiveXMessageFormatter.cs (4)
430dataStream.Position = virtualPosition; 534dataStream.Position = offset; 545dataStream.Position = len + offset; 556dataStream.Position = pos + offset;
System\Messaging\Message.cs (1)
2211this.cachedBodyStream.Position = 0;
System\Messaging\XmlMessageFormatter.cs (1)
140message.BodyStream.Position = 0; // reset stream in case CanRead is followed by Deserialize
System.Runtime.Remoting (12)
channels\core\corechannel.cs (2)
602returnStream.Position = 0; 668xstm.Position = Position;
channels\http\httpclientchannel.cs (2)
724inputStream.Position = initialPosition; 993RequestStream.Position = _initialStreamPosition;
channels\sinks\binaryformattersinks.cs (3)
226stream.Position = 0; 655responseStream.Position = 0; 722stream.Position = 0;
channels\sinks\soapformattersinks.cs (3)
245stream.Position = 0; 725responseStream.Position = 0; 804stream.Position = 0;
channels\tcp\tcpclientchannel.cs (1)
490requestStream.Position = initialPosition;
metadata\sdlchannelsink.cs (1)
344outputStream.Position = 0;
System.Security (2)
system\security\cryptography\xml\transform.cs (2)
888_inputStream.Position = 0; 896_inputStream.Position = 0;
System.ServiceModel (2)
System\ServiceModel\Channels\DelegatingStream.cs (1)
79stream.Position = value;
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (1)
159stream.Position = 0;
System.Web.Services (5)
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (1)
138stream.Position = 0;
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (1)
185stream.Position = 0;
System\Web\Services\Protocols\ClientProtocol.cs (1)
611ResponseBufferedStream.Position = 0;
System\Web\Services\Protocols\SoapExtensionStream.cs (1)
67innerStream.Position = value;
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
1009message.Stream.Position = savedPosition;
System.Windows.Forms (10)
winforms\Managed\System\WinForms\AxHost.cs (1)
6765ids.Position = ids.Position + len;
winforms\Managed\System\WinForms\DataObject.cs (1)
964stream.Position = 0;
winforms\Managed\System\WinForms\RichTextBox.cs (3)
3008editStream.Position = 0; 3036editStream.Position = streamStart; 3109stream.Position = 0;
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (4)
6640dataStream.Position = virtualPosition; 6727dataStream.Position = offset; 6736dataStream.Position = len + offset; 6745dataStream.Position = pos + offset;
winforms\Managed\System\WinForms\WebBrowser.cs (1)
339stream.Position = 0;
System.Workflow.ComponentModel (3)
AuthoringOM\Design\DesignerHelpers.cs (2)
1307reader.BaseStream.Position += length; // skip activity data 1314reader.BaseStream.Position += length; // skip activity data
AuthoringOM\Design\WorkflowView.cs (1)
908viewState.Position = 0;
System.WorkflowServices (4)
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (4)
165definitionStream.Position = 0; 172ruleStream.Position = 0; 259definitionStream.Position = 0; 265ruleStream.Position = 0;
System.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
202set { stream.Position = value; }
WindowsBase (25)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (6)
90source.Position = 0; 93sink.Position = 0; 181source.Position = storedPosition; 225source.Position = 0; 235sink.Position = 0; 330source.Position = storedPosition;
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
59baseStream.Position = value;
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStreamOwner.cs (2)
100checked { BaseStream.Position = temp + _dataOffset; } 373checked { BaseStream.Position = tempPos + _dataOffset; }
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (8)
128_tempStream.Position = newLength; 164_tempStream.Position = 0; 165_baseStream.Position = 0; 169_tempStream.Position = tempPosition; 195_tempStream.Position = value; 290_baseStream.Position = 0; 291_tempStream.Position = 0; 295_tempStream.Position = position;
Base\MS\Internal\IO\Packaging\CompressStream.cs (3)
260_current.Position = newPos; // Update to new value 700_baseStream.Position = 0; 762s.Position = 0; // restore position
Base\MS\Internal\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
119_stream.Position = value;
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (2)
87_underlyingStream.Position = value; 310_underlyingStream.Position = _highWaterMark;
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (1)
291_baseStream.Position = value;
Base\System\IO\Packaging\Package.cs (1)
1598_stream.Position = value;
155 references to Position
mscorlib (21)
system\io\binaryreader.cs (3)
118long origPos = m_stream.Position; 419posSav = m_stream.Position; 462m_stream.Seek((posSav - m_stream.Position), SeekOrigin.Current);
system\io\bufferedstream.cs (2)
248return _stream.Position + (_readPos - _readLen + _writePos); 1297Contract.Assert(oldPos == _stream.Position + (_readPos - _readLen));
system\io\stream.cs (1)
1126return _stream.Position;
system\io\streamwriter.cs (1)
208if (stream.CanSeek && stream.Position > 0)
system\resources\manifestbasedresourcegroveler.cs (2)
291long startPos = store.Position; 315long endPosition = br.BaseStream.Position + numBytesToSkip;
system\resources\resourcereader.cs (9)
610BCLDebug.Log("RESMGRFILEFORMAT", "LoadObject type: "+type.Name+" pos: 0x"+_store.BaseStream.Position.ToString("x", CultureInfo.InvariantCulture)); 682BCLDebug.Log("RESMGRFILEFORMAT", "LoadObjectV2 type: "+typeCode+" pos: 0x"+_store.BaseStream.Position.ToString("x", CultureInfo.InvariantCulture)); 965_typeNamePositions[i] = (int) _store.BaseStream.Position; 982long pos = _store.BaseStream.Position; 1065_nameSectionOffset = _store.BaseStream.Position; 1084long oldPos = _store.BaseStream.Position; 1120long oldPos = _store.BaseStream.Position; 1237len -= (int) (_store.BaseStream.Position - (_dataSectionOffset + dataPos)); 1255long oldPos = _store.BaseStream.Position;
system\resources\resourcewriter.cs (3)
458int alignBytes = ((int)bw.BaseStream.Position) & 7; 466Contract.Assert((bw.BaseStream.Position & 7) == 0, "ResourceWriter: Name hashes array won't be 8 byte aligned! Ack!"); 483Contract.Assert((bw.BaseStream.Position & 3) == 0, "ResourceWriter: Name positions array won't be 4 byte aligned! Ack!");
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
93get { return SourceStream.Position; }
PresentationCore (13)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
569long currentPosition = stream.Position; 571if ((uint)(stream.Position - currentPosition) != ropSize)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (4)
253long currentPosition = inkdata.Position; 1887long preEncodingPosition = outputStream.Position; 1899if (cbFinal != outputStream.Position - preEncodingPosition) 2162long currentPosition = data.Position;
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (2)
59long readPosition = _obfuscatedStream.Position; 125return _obfuscatedStream.Position;
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (1)
203return _innerStream.Position;
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
140int bytesToRead = (int)( stream.Length - stream.Position );
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (2)
395pos = dataStream.Position; 444*plibNewPostion = dataStream.Position;
Shared\MS\Internal\IO\SynchronizingStream.cs (1)
204return _baseStream.Position;
PresentationFramework (20)
src\Framework\MS\Internal\AppModel\BamlStream.cs (1)
118get { return _stream.Position; }
src\Framework\MS\Internal\Navigation\BindStream.cs (1)
143return _stream.Position;
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (7)
181if (_binaryReader.BaseStream.Length == _binaryReader.BaseStream.Position && 330if (_binaryReader.BaseStream.Length == _binaryReader.BaseStream.Position) 341long endOfKeysStartOfObjects = _binaryReader.BaseStream.Position; 454if (_binaryReader.BaseStream.Position == _binaryReader.BaseStream.Length) 940long position = _binaryReader.BaseStream.Position; 2324long offset = _binaryReader.BaseStream.Position; 2326int sizeOfEncoding = (int)(_binaryReader.BaseStream.Position - offset);
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (3)
164_position = _baseStream.Position - _offset; 199_position = _baseStream.Position - _offset; 311if (_position + _offset != _baseStream.Position)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (8)
201return (int)(stream.Length - stream.Position); 231long currentPosition = stream.Position; 263XamlReaderStream.ReaderDoneWithFileUpToPosition(stream.Position -1); 274BinaryReader.BaseStream.Position) 326long bytesAvailable = stream.Length - stream.Position; 1727long startPosition = stream.Position; 1742long endOfKeysPosition = stream.Position; 5667get { return _bamlStream.Position; }
System (15)
net\System\Net\Cache\_CacheStreams.cs (6)
92return WrappedStream.Position + (m_HeadEOF? m_HeadLength: m_HeadStream.Position); 408return WrappedStream.Position - m_BytesToSkip; 921get {return WrappedStream.Position;} 1086get {return WrappedStream.Position-m_Offset;} 1151m_Position = WrappedStream.Position;
net\System\Net\mail\DelegatedStream.cs (1)
81return this.stream.Position;
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
488return InnerStream.Position;
net\System\Net\SecureProtocols\SslStream.cs (1)
471return InnerStream.Position;
net\System\Net\webclient.cs (1)
3042return m_stream.Position;
sys\system\configuration\ClientSettingsStore.cs (5)
367get { return _originalStream.Position; } 427newLen = _originalStream.Position + offset; 446long newLen = _originalStream.CanSeek ? _originalStream.Position + (long)count : 458long newLen = _originalStream.CanSeek ? _originalStream.Position + 1 : _originalStream.Length + 1; 481long newLen = _originalStream.CanSeek ? _originalStream.Position + (long)numBytes :
System.AddIn (3)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (3)
270UInt32 Offset = (UInt32)B.BaseStream.Position; 413UInt32 Position = (UInt32)B.BaseStream.Position; 438UInt32 position = (UInt32) B.BaseStream.Position;
System.Configuration (1)
System\Configuration\XmlUtilWriter.cs (1)
454_streamPosition = writer._baseStream.Position;
System.Data (8)
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (4)
233 if (m_stream.Position != 0) 365 if (m_stream.Position != offset) 381 if (m_stream.Position != offset) 490 if (m_stream.Position != 0)
fx\src\data\System\Data\SQLTypes\SqlXml.cs (4)
397 if (m_stream.CanSeek && m_stream.Position != m_lPosition) 416 if (m_stream.CanSeek && m_stream.Position != m_lPosition) 432 if (m_stream.CanSeek && m_stream.Position != m_lPosition) 443 if (m_stream.CanSeek && m_stream.Position != m_lPosition)
System.Data.Services.Client (6)
System\Data\Services\Client\DataServiceContext.cs (2)
4357httpWebRequest.ContentLength = contentStream.Stream.Length - contentStream.Stream.Position; 4376httpWebRequest.ContentLength = contentStream.Stream.Length - contentStream.Stream.Position;
System\Data\Services\Client\QueryResult.cs (4)
251else if (copy.Position < copy.Length) 253((MemoryStream)copy).SetLength(copy.Position); 692if (outputResponse.Position < outputResponse.Length) 695((MemoryStream)outputResponse).SetLength(outputResponse.Position);
System.Drawing (5)
commonui\System\Drawing\Advanced\GPStream.cs (2)
135pos = dataStream.Position; 171return dataStream.Position;
commonui\System\Drawing\Image.cs (1)
422lastPos = dataStream.Position;
commonui\System\Drawing\UnsafeNativeMethods.cs (2)
316pos = dataStream.Position; 352return dataStream.Position;
System.IO.Log (3)
System\IO\Log\FileRegion.cs (1)
118return this.innerStream.Position - this.offset;
System\IO\Log\LogLogRecord.cs (2)
139return this.innerStream.Position; 217long originalPosition = this.innerStream.Position;
System.Messaging (2)
System\Messaging\ActiveXMessageFormatter.cs (2)
526pos = dataStream.Position; 571return dataStream.Position;
System.Runtime.Remoting (4)
channels\core\corechannel.cs (1)
665long Position = xstm.Position;
channels\http\httpclientchannel.cs (2)
698initialPosition = inputStream.Position; 952_initialStreamPosition = RequestStream.Position;
channels\tcp\tcpclientchannel.cs (1)
461initialPosition = requestStream.Position;
System.Runtime.Serialization (1)
System\Xml\XmlStreamNodeWriter.cs (1)
80return (int)stream.Position + offset;
System.ServiceModel (1)
System\ServiceModel\Channels\DelegatingStream.cs (1)
75return stream.Position;
System.Web (5)
State\SessionStateItemCollection.cs (3)
503iOffsetStart = baseStream.Position; 506iValueStart = baseStream.Position; 543curPos = baseStream.Position;
State\StateRuntime.cs (1)
528int bufferSize = (int)(requestStream.Length - requestStream.Position);
UI\WebControls\FileUpload.cs (1)
79int currentStreamPosition = (int)fileStream.Position;
System.Web.Services (2)
System\Web\Services\Protocols\SoapExtensionStream.cs (1)
62return innerStream.Position;
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
979long savedPosition = message.Stream.Position;
System.Windows.Forms (4)
winforms\Managed\System\WinForms\AxHost.cs (1)
6765ids.Position = ids.Position + len;
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3028long streamStart = editStream.Position;
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (2)
6721pos = dataStream.Position; 6757return dataStream.Position;
System.Xml (3)
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
182if ( !stream.CanSeek || stream.Position == 0 ) {
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
135if ( !stream.CanSeek || stream.Position == 0 ) {
System\Xml\XmlDownloadManager.cs (1)
201get { return stream.Position; }
WindowsBase (37)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (2)
89storedPosition = source.Position; 224storedPosition = source.Position;
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
54return baseStream.Position;
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStream.cs (1)
134return _stream.Position;
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStreamOwner.cs (3)
140return checked(BaseStream.Position - _dataOffset); 357long tempPos = checked(BaseStream.Position - _dataOffset); 425_dataOffset = BaseStream.Position;
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (4)
95checked { temp = _tempStream.Position + offset; } 127if (newLength < _tempStream.Position) 161long tempPosition = _tempStream.Position; 186return _tempStream.Position;
Base\MS\Internal\IO\Packaging\CompressStream.cs (3)
482Debug.Assert(_baseStream.Position == 0, 707Debug.Assert(_baseStream.Position == 0); 753Debug.Assert(s.Position == 0);
Base\MS\Internal\IO\Packaging\DeflateEmulationStream.cs (1)
83sink.SetLength(sink.Position);
Base\MS\Internal\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
114return _stream.Position;
Base\MS\Internal\IO\Zip\ProgressiveCrcCalculatingStream.cs (6)
80return _underlyingStream.Position; 144long originalPosition = _underlyingStream.Position; 159_highWaterMark = _underlyingStream.Position; 190long originalPosition = _underlyingStream.Position; 211_highWaterMark = _underlyingStream.Position; 300long originalPosition = _underlyingStream.Position;
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryBlock.cs (2)
150if (_blockManager.Stream.Position != _offset) 407if (reader.BaseStream.Position - centralDirectoryOffset > expectedCentralDirectorySize)
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryDigitalSignature.cs (1)
57if ((reader.BaseStream.Length - reader.BaseStream.Position) < _fixedMinimalRecordSize)
Base\MS\Internal\IO\Zip\ZipIOEndOfCentralDirectoryBlock.cs (1)
86if (!_blockManager.Streaming && _blockManager.Stream.Position != _offset)
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (1)
495if (_blockManager.Stream.Position != checked (_offset + _persistedSize))
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (2)
135_offset = _blockManager.Stream.Position; 201if (_blockManager.Stream.Position != _offset)
Base\MS\Internal\IO\Zip\ZipIORawDataFileBlock.cs (1)
102if (_blockManager.Stream.Position != _offset)
Base\MS\Internal\IO\Zip\ZipIOZip64EndOfCentralDirectoryBlock.cs (1)
80if (_blockManager.Stream.Position != _offset)
Base\MS\Internal\IO\Zip\ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs (1)
79if (_blockManager.Stream.Position != _offset)
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (4)
284return _baseStream.Position; 1350int extraDataSize = checked ((int) (headerLength - transformDefinition.Position)); 1369if( transformDefinition.Length > transformDefinition.Position ) 1372int instanceDataSize = checked ((int)(transformDefinition.Length - transformDefinition.Position));
Base\System\IO\Packaging\Package.cs (1)
1593return _stream.Position;