1 write to _dataSectionOffset
mscorlib (1)
system\resources\resourcereader.cs (1)
1059
_dataSectionOffset
= _store.ReadInt32();
17 references to _dataSectionOffset
mscorlib (17)
system\resources\resourcereader.cs (17)
294
if (r < 0 || r >
_dataSectionOffset
- _nameSectionOffset) {
387
if (dataPos < 0 || dataPos >= _store.BaseStream.Length -
_dataSectionOffset
) {
477
if (dataOffset < 0 || dataOffset >= _store.BaseStream.Length -
_dataSectionOffset
) {
495
if (dataOffset < 0 || dataOffset >= _store.BaseStream.Length -
_dataSectionOffset
) {
514
if (dataPos < 0 || dataPos >= _store.BaseStream.Length -
_dataSectionOffset
) {
533
_store.BaseStream.Seek(
_dataSectionOffset
+pos, SeekOrigin.Begin);
605
_store.BaseStream.Seek(
_dataSectionOffset
+pos, SeekOrigin.Begin);
679
_store.BaseStream.Seek(
_dataSectionOffset
+pos, SeekOrigin.Begin);
1060
if (
_dataSectionOffset
< 0) {
1068
if (
_dataSectionOffset
< _nameSectionOffset) {
1072
BCLDebug.Log("RESMGRFILEFORMAT", String.Format(CultureInfo.InvariantCulture, "ReadResources: _nameOffset = 0x{0:x} _dataOffset = 0x{1:x}", _nameSectionOffset,
_dataSectionOffset
));
1214
if (dPos < 0 || dPos >= _store.BaseStream.Length -
_dataSectionOffset
) {
1223
long nextData = (index < _numResources - 1) ? sortedDataPositions[index + 1] +
_dataSectionOffset
: _store.BaseStream.Length;
1224
int len = (int) (nextData - (dataPos +
_dataSectionOffset
));
1225
Contract.Assert(len >= 0 && len <= (int) _store.BaseStream.Length - dataPos +
_dataSectionOffset
, "Length was negative or outside the bounds of the file!");
1228
_store.BaseStream.Position =
_dataSectionOffset
+ dataPos;
1237
len -= (int) (_store.BaseStream.Position - (
_dataSectionOffset
+ dataPos));