3 writes to _ums
mscorlib (3)
system\resources\resourcereader.cs (3)
191
_ums
= stream as UnmanagedMemoryStream;
211
_ums
= stream as UnmanagedMemoryStream;
244
_ums
= null;
35 references to _ums
mscorlib (35)
system\resources\resourcereader.cs (35)
168
BCLDebug.Log("RESMGRFILEFORMAT", "ResourceReader .ctor(String). UnmanagedMemoryStream: "+(
_ums
!=null));
193
BCLDebug.Log("RESMGRFILEFORMAT", "ResourceReader .ctor(Stream). UnmanagedMemoryStream: "+(
_ums
!=null));
213
BCLDebug.Log("RESMGRFILEFORMAT", "ResourceReader .ctor(Stream, Hashtable). UnmanagedMemoryStream: "+(
_ums
!=null));
275
Contract.Assert((
_ums
== null && _nameHashes != null && _nameHashesPtr == null) ||
276
(
_ums
!= null && _nameHashes == null && _nameHashesPtr != null), "Internal state mangled.");
277
if (
_ums
== null)
287
Contract.Assert((
_ums
== null && _namePositions != null && _namePositionsPtr == null) ||
288
(
_ums
!= null && _namePositions == null && _namePositionsPtr != null), "Internal state mangled.");
290
if (
_ums
== null)
410
if (
_ums
!= null) {
411
byte* bytes =
_ums
.PositionPointer;
413
_ums
.Seek(byteLen, SeekOrigin.Current);
414
if (
_ums
.Position >
_ums
.Length) {
455
if (
_ums
!= null) {
456
if (
_ums
.Position >
_ums
.Length - byteLen)
460
char* charPtr = (char*)
_ums
.PositionPointer;
475
_ums
.Position += byteLen;
746
if (
_ums
== null) {
753
if (len >
_ums
.Length -
_ums
.Position) {
758
int r =
_ums
.Read(bytes, 0, len);
768
if (
_ums
== null) {
775
if (len >
_ums
.Length -
_ums
.Position) {
782
return new UnmanagedMemoryStream(
_ums
.PositionPointer, len, len, FileAccess.Read, true);
998
if (
_ums
== null) {
1014
_nameHashesPtr = (int*)
_ums
.PositionPointer;
1016
_ums
.Seek(seekPos, SeekOrigin.Current);
1018
byte* junk =
_ums
.PositionPointer;
1029
if (
_ums
== null) {
1050
_namePositionsPtr = (int*)
_ums
.PositionPointer;
1052
_ums
.Seek(seekPos, SeekOrigin.Current);
1054
byte* junk =
_ums
.PositionPointer;