86 references to Seek
mscorlib (4)
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 (27)
Core\CSharp\MS\internal\Media\ParserStreamGeometryContext.cs (3)
261
return checked((int)_bw.
Seek
(0, SeekOrigin.Current));
274
_bw.
Seek
(_figureStreamPosition, SeekOrigin.Begin);
277
_bw.
Seek
(currentOffset, SeekOrigin.Begin);
Framework\System\Windows\Markup\BamlRecords.cs (20)
1106
long startSeekPosition = bamlBinaryWriter.
Seek
(0,SeekOrigin.Current);
1108
long endSeekPosition = bamlBinaryWriter.
Seek
(0,SeekOrigin.Current);
1114
bamlBinaryWriter.
Seek
((int)startSeekPosition, SeekOrigin.Begin);
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);
4225
bamlBinaryWriter.
Seek
((int)FilePos,SeekOrigin.Begin);
4227
bamlBinaryWriter.
Seek
( (int) currentPosiition,SeekOrigin.Begin);
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 (3)
Core\CSharp\MS\Internal\Media\ParserStreamGeometrycontext.cs (3)
261
return checked((int)_bw.
Seek
(0, SeekOrigin.Current));
274
_bw.
Seek
(_figureStreamPosition, SeekOrigin.Begin);
277
_bw.
Seek
(currentOffset, SeekOrigin.Begin);
PresentationFramework (24)
src\Framework\System\Windows\Markup\BamlRecords.cs (20)
1106
long startSeekPosition = bamlBinaryWriter.
Seek
(0,SeekOrigin.Current);
1108
long endSeekPosition = bamlBinaryWriter.
Seek
(0,SeekOrigin.Current);
1114
bamlBinaryWriter.
Seek
((int)startSeekPosition, SeekOrigin.Begin);
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);
4225
bamlBinaryWriter.
Seek
((int)FilePos,SeekOrigin.Begin);
4227
bamlBinaryWriter.
Seek
( (int) currentPosiition,SeekOrigin.Begin);
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);
System.Web.DataVisualization (13)
Common\Utilities\XmlSerializer.cs (13)
2313
writer.
Seek
(0, SeekOrigin.Begin);
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.DataVisualization (13)
Common\Utilities\XmlSerializer.cs (13)
2313
writer.
Seek
(0, SeekOrigin.Begin);
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.Workflow.ComponentModel (2)
AuthoringOM\Design\DesignerHelpers.cs (2)
1279
writer.
Seek
(activityDataLengthPosition, SeekOrigin.Begin);
1281
writer.
Seek
(0, SeekOrigin.End);