140 references to Current
mscorlib (27)
system\io\binaryreader.cs (1)
462
m_stream.Seek((posSav - m_stream.Position), SeekOrigin.
Current
);
system\io\bufferedstream.cs (3)
405
_stream.Seek(_readPos - _readLen, SeekOrigin.
Current
);
1289
if (_readLen - _readPos > 0 && origin == SeekOrigin.
Current
) {
1311
_stream.Seek(_readLen - _readPos, SeekOrigin.
Current
);
system\io\filestream.cs (10)
1073
SeekCore(0, SeekOrigin.
Current
);
1364
SeekCore(_readPos - _readLen, SeekOrigin.
Current
);
1626
else if (origin == SeekOrigin.
Current
) {
1664
SeekCore(_readLen, SeekOrigin.
Current
);
1673
SeekCore(_readLen, SeekOrigin.
Current
);
1735
long curPos = SeekCore(0, SeekOrigin.
Current
);
2058
SeekCore(numBytes, SeekOrigin.
Current
);
2092
SeekCore(0, SeekOrigin.
Current
);
2315
SeekCore(numBytes, SeekOrigin.
Current
);
2349
SeekCore(0, SeekOrigin.
Current
);
system\io\isolatedstorage\isolatedstoragefilestream.cs (1)
578
case SeekOrigin.
Current
:
system\io\memorystream.cs (1)
495
case SeekOrigin.
Current
: {
system\io\unmanagedmemorystream.cs (1)
521
case SeekOrigin.
Current
:
system\resources\resourcereader.cs (6)
259
_store.BaseStream.Seek(4, SeekOrigin.
Current
);
268
_store.BaseStream.Seek(stringLength, SeekOrigin.
Current
);
413
_ums.Seek(byteLen, SeekOrigin.
Current
);
901
_store.BaseStream.Seek(numBytesToSkip, SeekOrigin.
Current
);
1016
_ums.Seek(seekPos, SeekOrigin.
Current
);
1052
_ums.Seek(seekPos, SeekOrigin.
Current
);
system\resources\resourcewriter.cs (4)
411
namePositions[curNameNumber++] = (int)names.Seek(0, SeekOrigin.
Current
);
413
names.Write((int)data.Seek(0, SeekOrigin.
Current
)); // virtual offset of value.
502
int startOfDataSection = (int)(bw.Seek(0, SeekOrigin.
Current
) + nameSection.Length);
512
Contract.Assert(startOfDataSection == bw.Seek(0, SeekOrigin.
Current
), "ResourceWriter::Generate - start of data section is wrong!");
PresentationBuildTasks (22)
Core\CSharp\MS\internal\Media\ParserStreamGeometryContext.cs (1)
261
return checked((int)_bw.Seek(0, SeekOrigin.
Current
));
Framework\System\Windows\Markup\BamlRecords.cs (17)
1106
long startSeekPosition = bamlBinaryWriter.Seek(0,SeekOrigin.
Current
);
1108
long endSeekPosition = bamlBinaryWriter.Seek(0,SeekOrigin.
Current
);
1529
_valuePositionPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
1548
Int64 existingPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
1551
bamlBinaryWriter.Seek(deltaPosition, SeekOrigin.
Current
);
1553
bamlBinaryWriter.Seek(-ValuePositionSize-deltaPosition, SeekOrigin.
Current
);
1716
_valuePositionPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
1735
Int64 existingPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
1738
bamlBinaryWriter.Seek(deltaPosition, SeekOrigin.
Current
);
1740
bamlBinaryWriter.Seek(-ValuePositionSize-deltaPosition, SeekOrigin.
Current
);
2564
int writePositionStart = (int)bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
3616
_contentSizePosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
3632
Int64 existingPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
3635
bamlBinaryWriter.Seek(deltaPosition, SeekOrigin.
Current
);
3637
bamlBinaryWriter.Seek((int)(-ContentSizeSize-deltaPosition), SeekOrigin.
Current
);
4200
FilePos = bamlBinaryWriter.Seek(0,SeekOrigin.
Current
);
4216
long currentPosiition = bamlBinaryWriter.Seek(0,SeekOrigin.
Current
);
Framework\System\Windows\Markup\BamlRecordWriter.cs (4)
1556
Int64 endOfStart = BinaryWriter.Seek(0, SeekOrigin.
Current
);
1621
Int64 endOfKeys = BinaryWriter.Seek(0, SeekOrigin.
Current
);
1629
Int64 position = BinaryWriter.Seek(0, SeekOrigin.
Current
);
1656
Int64 startOfEnd = BinaryWriter.Seek(0, SeekOrigin.
Current
);
PresentationCore (6)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
262
stream.Seek (-cb, SeekOrigin.
Current
);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
568
inputStream.Seek(bytesDecodedInCurrentTag, SeekOrigin.
Current
);
793
inputStream.Seek(bytesDecodedInCurrentTag + localBytesDecoded, SeekOrigin.
Current
);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (1)
577
inputStream.Seek(0 - (long)locallyDecodedBytesRemaining, SeekOrigin.
Current
);
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
258
case SeekOrigin.
Current
:
Core\CSharp\MS\Internal\Media\ParserStreamGeometrycontext.cs (1)
261
return checked((int)_bw.Seek(0, SeekOrigin.
Current
));
PresentationFramework (32)
src\Framework\MS\Internal\IO\Packaging\ByteStream.cs (1)
246
case SeekOrigin.
Current
:
src\Framework\MS\Internal\IO\Packaging\managedIStream.cs (1)
92
seekOrigin = SeekOrigin.
Current
;
src\Framework\MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (1)
252
return Seek(0, SeekOrigin.
Current
);
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
292
_binaryReader.BaseStream.Seek(-1, SeekOrigin.
Current
);
309
_binaryReader.BaseStream.Seek(-1, SeekOrigin.
Current
);
325
_binaryReader.BaseStream.Seek(-1, SeekOrigin.
Current
);
2339
_binaryReader.BaseStream.Seek(offset, SeekOrigin.
Current
);
src\Framework\System\Windows\Markup\Baml2006\SharedStream.cs (1)
244
case SeekOrigin.
Current
:
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
341
stream.Seek( -1, SeekOrigin.
Current
);
src\Framework\System\Windows\Markup\BamlRecords.cs (17)
1106
long startSeekPosition = bamlBinaryWriter.Seek(0,SeekOrigin.
Current
);
1108
long endSeekPosition = bamlBinaryWriter.Seek(0,SeekOrigin.
Current
);
1529
_valuePositionPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
1548
Int64 existingPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
1551
bamlBinaryWriter.Seek(deltaPosition, SeekOrigin.
Current
);
1553
bamlBinaryWriter.Seek(-ValuePositionSize-deltaPosition, SeekOrigin.
Current
);
1716
_valuePositionPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
1735
Int64 existingPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
1738
bamlBinaryWriter.Seek(deltaPosition, SeekOrigin.
Current
);
1740
bamlBinaryWriter.Seek(-ValuePositionSize-deltaPosition, SeekOrigin.
Current
);
2564
int writePositionStart = (int)bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
3616
_contentSizePosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
3632
Int64 existingPosition = bamlBinaryWriter.Seek(0, SeekOrigin.
Current
);
3635
bamlBinaryWriter.Seek(deltaPosition, SeekOrigin.
Current
);
3637
bamlBinaryWriter.Seek((int)(-ContentSizeSize-deltaPosition), SeekOrigin.
Current
);
4200
FilePos = bamlBinaryWriter.Seek(0,SeekOrigin.
Current
);
4216
long currentPosiition = bamlBinaryWriter.Seek(0,SeekOrigin.
Current
);
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (4)
1556
Int64 endOfStart = BinaryWriter.Seek(0, SeekOrigin.
Current
);
1621
Int64 endOfKeys = BinaryWriter.Seek(0, SeekOrigin.
Current
);
1629
Int64 position = BinaryWriter.Seek(0, SeekOrigin.
Current
);
1656
Int64 startOfEnd = BinaryWriter.Seek(0, SeekOrigin.
Current
);
src\Framework\System\Windows\Markup\XamlStream.cs (2)
179
case SeekOrigin.
Current
:
333
case SeekOrigin.
Current
:
System (2)
net\System\Net\Cache\_SingleItemRequestCache.cs (1)
399
case SeekOrigin.
Current
:
sys\system\configuration\ClientSettingsStore.cs (1)
426
case SeekOrigin.
Current
:
System.AddIn (1)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (1)
234
B.BaseStream.Seek(4, SeekOrigin.
Current
); // Skip reserved
System.Core (1)
System\Diagnostics\Eventing\Reader\EventLogReader.cs (1)
281
case SeekOrigin.
Current
:
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
402
case SeekOrigin.
Current
:
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (1)
695
case SeekOrigin.
Current
:
fx\src\data\System\Data\SQLTypes\SQLChars.cs (1)
682
case SeekOrigin.
Current
:
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
365
case SeekOrigin.
Current
:
System.Data.Services (2)
parent\Client\System\Data\Services\Client\BatchStream.cs (2)
229
if (SeekOrigin.
Current
!= origin)
1616
this.target.Seek(this.length, SeekOrigin.
Current
);
System.Data.Services.Client (2)
System\Data\Services\Client\BatchStream.cs (2)
229
if (SeekOrigin.
Current
!= origin)
1616
this.target.Seek(this.length, SeekOrigin.
Current
);
System.Runtime.Remoting (1)
channels\core\chunkedmemorystream.cs (1)
163
case SeekOrigin.
Current
:
System.Web (2)
HttpInputStream.cs (1)
377
case SeekOrigin.
Current
:
State\SessionStateItemCollection.cs (1)
504
baseStream.Seek(SIZE_OF_INT32 * count, SeekOrigin.
Current
);
System.Web.DataVisualization (12)
Common\Utilities\XmlSerializer.cs (12)
2362
long elementStartPosition = writer.Seek(0, SeekOrigin.
Current
);
2452
if(writer.Seek(0, SeekOrigin.
Current
) == elementStartPosition)
2455
writer.Seek(-2, SeekOrigin.
Current
);
2457
writer.Seek(-2, SeekOrigin.
Current
);
2481
long elementStartPosition = writer.Seek(0, SeekOrigin.
Current
);
2520
if (writer.Seek(0, SeekOrigin.
Current
) == elementStartPosition)
2523
writer.Seek(-2, SeekOrigin.
Current
);
2525
writer.Seek(-2, SeekOrigin.
Current
);
2551
long elementStartPosition = writer.Seek(0, SeekOrigin.
Current
);
2567
if(writer.Seek(0, SeekOrigin.
Current
) == elementStartPosition)
2570
writer.Seek(-2, SeekOrigin.
Current
);
2572
writer.Seek(-2, SeekOrigin.
Current
);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataStreamFromComStream.cs (1)
29
return Seek(0, SeekOrigin.
Current
);
System.Windows.Forms.DataVisualization (12)
Common\Utilities\XmlSerializer.cs (12)
2362
long elementStartPosition = writer.Seek(0, SeekOrigin.
Current
);
2452
if(writer.Seek(0, SeekOrigin.
Current
) == elementStartPosition)
2455
writer.Seek(-2, SeekOrigin.
Current
);
2457
writer.Seek(-2, SeekOrigin.
Current
);
2481
long elementStartPosition = writer.Seek(0, SeekOrigin.
Current
);
2520
if (writer.Seek(0, SeekOrigin.
Current
) == elementStartPosition)
2523
writer.Seek(-2, SeekOrigin.
Current
);
2525
writer.Seek(-2, SeekOrigin.
Current
);
2551
long elementStartPosition = writer.Seek(0, SeekOrigin.
Current
);
2567
if(writer.Seek(0, SeekOrigin.
Current
) == elementStartPosition)
2570
writer.Seek(-2, SeekOrigin.
Current
);
2572
writer.Seek(-2, SeekOrigin.
Current
);
WindowsBase (13)
Base\MS\Internal\IO\Packaging\CompoundFile\CFStream.cs (1)
178
case SeekOrigin.
Current
:
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
159
case SeekOrigin.
Current
:
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStreamOwner.cs (1)
88
case SeekOrigin.
Current
:
Base\MS\Internal\IO\Packaging\CompressEmulationStream.cs (1)
93
case SeekOrigin.
Current
:
Base\MS\Internal\IO\Packaging\CompressStream.cs (2)
220
case SeekOrigin.
Current
: newPos = _position + offset; break;
362
Seek(checked(value - _position), SeekOrigin.
Current
);
Base\MS\Internal\IO\Packaging\InterleavedZipPartStream.cs (1)
175
case SeekOrigin.
Current
:
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (1)
162
else if (origin == SeekOrigin.
Current
)
Base\MS\Internal\IO\Zip\ZipIOExtraFieldPaddingElement.cs (1)
74
reader.BaseStream.Seek(size, SeekOrigin.
Current
);
Base\MS\Internal\IO\Zip\ZipIOExtraFieldZip64Element.cs (1)
115
reader.BaseStream.Seek(size, SeekOrigin.
Current
);
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (1)
151
else if (origin == SeekOrigin.
Current
)
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (1)
738
_blockManager.Stream.Seek(centralDirFileHeader.CompressedSize, SeekOrigin.
Current
);
Base\MS\Internal\IO\Zip\ZipIOModeEnforcingStream.cs (1)
135
else if (origin == SeekOrigin.
Current
)