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

◆ AllocateBuffer()

byte[] System.IO.FileSystemWatcher.AllocateBuffer ( )
inlineprivate

Definition at line 406 of file FileSystemWatcher.cs.

407 {
408 try
409 {
410 return new byte[_internalBufferSize];
411 }
412 catch (OutOfMemoryException)
413 {
414 throw new OutOfMemoryException(System.SR.Format(System.SR.BufferSizeTooLarge, _internalBufferSize));
415 }
416 }
static string BufferSizeTooLarge
Definition SR.cs:14
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.IO.FileSystemWatcher._internalBufferSize, System.SR.BufferSizeTooLarge, and System.SR.Format().

Referenced by System.IO.FileSystemWatcher.StartRaisingEvents().