19 references to _sharedStatics
mscorlib (19)
system\sharedstatics.cs (19)
48
if (
_sharedStatics
._Remoting_Identity_IDGuid == null)
53
Monitor.Enter(
_sharedStatics
, ref tookLock);
55
if (
_sharedStatics
._Remoting_Identity_IDGuid == null)
57
_sharedStatics
._Remoting_Identity_IDGuid = Guid.NewGuid().ToString().Replace('-', '_');
62
Monitor.Exit(
_sharedStatics
);
66
Contract.Assert(
_sharedStatics
._Remoting_Identity_IDGuid != null,
68
return
_sharedStatics
._Remoting_Identity_IDGuid;
82
Monitor.Enter(
_sharedStatics
, ref tookLock);
84
if (
_sharedStatics
._maker != null)
86
maker =
_sharedStatics
._maker;
87
_sharedStatics
._maker = null;
92
Monitor.Exit(
_sharedStatics
);
111
Monitor.Enter(
_sharedStatics
, ref tookLock);
113
_sharedStatics
._maker = maker;
118
Monitor.Exit(
_sharedStatics
);
127
return Interlocked.Increment(ref
_sharedStatics
._Remoting_Identity_IDSeqNum);
140
return Interlocked.Add(ref
_sharedStatics
._memFailPointReservedMemory, (long) size);
145
Contract.Assert(Volatile.Read(ref
_sharedStatics
._memFailPointReservedMemory) >= 0, "Process-wide MemoryFailPoint reserved memory was negative!");
146
return (ulong) Volatile.Read(ref
_sharedStatics
._memFailPointReservedMemory);