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

◆ SetLength()

override void System.IO.MemoryMappedFiles.MemoryMappedViewStream.SetLength ( long value)
inline

Definition at line 19 of file MemoryMappedViewStream.cs.

20 {
21 if (value < 0)
22 {
23 throw new ArgumentOutOfRangeException("value", System.SR.ArgumentOutOfRange_NeedNonNegNum);
24 }
25 throw new NotSupportedException(System.SR.NotSupported_MMViewStreamsFixedLength);
26 }
static string ArgumentOutOfRange_NeedNonNegNum
Definition SR.cs:32
static string NotSupported_MMViewStreamsFixedLength
Definition SR.cs:68
Definition SR.cs:7

References System.SR.ArgumentOutOfRange_NeedNonNegNum, System.SR.NotSupported_MMViewStreamsFixedLength, and System.value.