18 references to OutOfMemoryException
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\ExceptionUtils.vb (1)
236
Return New
OutOfMemoryException
(Description)
PresentationCore (2)
System\Windows\Media\MediaContext.cs (1)
426
throw new System.
OutOfMemoryException
(SR.MediaContext_OutOfVideoMemory);
System\Windows\Media\textformatting\TextFormatterContext.cs (1)
391
throw new
OutOfMemoryException
(message);
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
236
throw new
OutOfMemoryException
(SR.Format(SR.BufferSizeTooLarge, _internalBufferSize));
System.Memory (1)
src\libraries\Common\src\System\Buffers\ArrayBufferWriter.cs (1)
250
throw new
OutOfMemoryException
(SR.Format(SR.BufferMaximumSizeExceeded, capacity));
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Environment.Variables.Windows.cs (1)
61
throw new
OutOfMemoryException
(Marshal.GetPInvokeErrorMessage(errorCode));
src\libraries\System.Private.CoreLib\src\System\InsufficientMemoryException.cs (2)
21
public InsufficientMemoryException() :
base
(GetDefaultMessage())
27
:
base
(message ?? GetDefaultMessage())
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (2)
512
throw new
OutOfMemoryException
(SR.OutOfMemory_StringTooLong);
518
throw new
OutOfMemoryException
(SR.Lock_Enter_WaiterCountOverflow_OutOfMemoryException);
System.Private.Windows.Core (2)
Windows\Win32\Graphics\GdiPlus\StatusExtensions.cs (2)
30
return new
OutOfMemoryException
(SR.GdiplusOutOfMemory);
34
return new
OutOfMemoryException
(SR.GdiplusInsufficientBuffer);
System.Text.Json (1)
System\Text\Json\ThrowHelper.cs (1)
604
throw new
OutOfMemoryException
(SR.Format(SR.BufferMaximumSizeExceeded, capacity));
System.Windows.Forms (5)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2161
return insertIndex < 0 ? throw new
OutOfMemoryException
(SR.ComboBoxItemOverflow) : insertIndex;
2214
throw new
OutOfMemoryException
(SR.ComboBoxItemOverflow);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
1546
throw new
OutOfMemoryException
(SR.ListBoxItemOverflow);
1602
throw new
OutOfMemoryException
(SR.ListBoxItemOverflow);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3202
throw new
OutOfMemoryException
(SR.OutOfMemory);