Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Position

override long System.IO.UnmanagedMemoryStream.Position
getsetinherited

Definition at line 71 of file UnmanagedMemoryStream.cs.

72 {
73 get
74 {
75 if (!CanSeek)
76 {
77 ThrowHelper.ThrowObjectDisposedException_StreamClosed(null);
78 }
79 return Interlocked.Read(ref _position);
80 }
81 set
82 {
83 if (value < 0)
84 {
85 throw new ArgumentOutOfRangeException("value", SR.ArgumentOutOfRange_NeedNonNegNum);
86 }
87 if (!CanSeek)
88 {
89 ThrowHelper.ThrowObjectDisposedException_StreamClosed(null);
90 }
92 }
93 }
static int Exchange(ref int location1, int value)
static long Read(ref long location)

Referenced by System.Resources.ResourceReader._LoadObjectV2(), System.Resources.ResourceReader.AllocateStringForNameIndex(), and System.Resources.ResourceReader.CompareStringEqualsName().