90 references to OutOfMemoryException
mscorlib (43)
system\Collections\Concurrent\ConcurrentDictionary.cs (2)
2039if (count < 0) throw new OutOfMemoryException(); 2072if (count < 0) throw new OutOfMemoryException();
system\convert.cs (1)
2333throw new OutOfMemoryException();
system\environment.cs (1)
726throw new OutOfMemoryException();
system\runtime\interopservices\marshal.cs (9)
1195throw new OutOfMemoryException(); 1224throw new OutOfMemoryException(); 1253throw new OutOfMemoryException(); 1284throw new OutOfMemoryException(); 1859throw new OutOfMemoryException(); 1883throw new OutOfMemoryException(); 1922throw new OutOfMemoryException(); 1946throw new OutOfMemoryException(); 2208throw new OutOfMemoryException();
system\security\accesscontrol\privilege.cs (4)
125throw new OutOfMemoryException(); 305throw new OutOfMemoryException(); 570throw new OutOfMemoryException(); 661throw new OutOfMemoryException();
system\security\accesscontrol\securitydescriptor.cs (1)
668throw new OutOfMemoryException();
system\security\accesscontrol\win32.cs (3)
64throw new OutOfMemoryException(); 224throw new OutOfMemoryException(); 380throw new OutOfMemoryException();
system\security\cryptography\utils.cs (1)
271throw new OutOfMemoryException();
system\security\principal\ntaccount.cs (1)
331throw new OutOfMemoryException();
system\security\principal\sid.cs (4)
420throw new OutOfMemoryException(); 517throw new OutOfMemoryException(); 749throw new OutOfMemoryException(); 983throw new OutOfMemoryException();
system\security\principal\win32.cs (1)
147throw new OutOfMemoryException();
system\security\principal\windowsidentity.cs (5)
840return new OutOfMemoryException(); 956throw new OutOfMemoryException(); 989throw new OutOfMemoryException(); 1040throw new OutOfMemoryException(); 1076throw new OutOfMemoryException();
system\security\securestring.cs (5)
328throw new OutOfMemoryException(); 353throw new OutOfMemoryException(); 497throw new OutOfMemoryException(); 551throw new OutOfMemoryException(); 619throw new OutOfMemoryException();
system\string.cs (3)
244throw new OutOfMemoryException(); 3138throw new OutOfMemoryException(); 3324throw new OutOfMemoryException();
system\text\stringbuilder.cs (2)
842throw new OutOfMemoryException(); 1988throw new OutOfMemoryException();
PresentationCore (7)
Core\CSharp\MS\Internal\Generic\Span.cs (2)
238throw new OutOfMemoryException(); 251throw new OutOfMemoryException();
Core\CSharp\MS\Internal\Span.cs (2)
320throw new OutOfMemoryException(); 331throw new OutOfMemoryException();
Core\CSharp\System\Windows\Media\MediaContext.cs (1)
462throw new System.OutOfMemoryException();
Graphics\include\wgx_render.cs (2)
805return new OutOfMemoryException(); 816return new System.OutOfMemoryException();
PresentationFramework (2)
src\Framework\MS\Internal\PtsHost\Pts.cs (2)
63throw new OutOfMemoryException(); 98throw new OutOfMemoryException();
System (10)
compmod\system\codedom\compiler\Executor.cs (1)
322throw new OutOfMemoryException();
net\System\Net\_SafeNetHandles.cs (3)
668throw new OutOfMemoryException(); 719throw new OutOfMemoryException(); 2833throw new OutOfMemoryException();
net\System\Net\_WinHttpWebProxyDataBuilder.cs (1)
52throw new OutOfMemoryException();
net\System\Net\HttpListener.cs (1)
2480throw new OutOfMemoryException();
net\System\Net\WinHttpWebProxyFinder.cs (1)
248throw new OutOfMemoryException();
security\system\security\cryptography\cryptoapi.cs (1)
2990throw new OutOfMemoryException();
services\monitoring\system\diagnosticts\ProcessManager.cs (2)
1047throw new OutOfMemoryException(); 1056throw new OutOfMemoryException();
System.Core (1)
System\Security\Cryptography\CapiNative.cs (1)
809throw new OutOfMemoryException();
System.Data (6)
fx\src\data\System\Data\OleDb\DBPropSet.cs (2)
45throw new OutOfMemoryException(); 227throw new OutOfMemoryException();
fx\src\data\System\Data\OleDb\RowBinding.cs (1)
251throw new OutOfMemoryException();
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
40throw new OutOfMemoryException();
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (2)
131throw new OutOfMemoryException(); 146throw new OutOfMemoryException();
System.Drawing (2)
commonui\System\Drawing\Advanced\GPStream.cs (1)
75if (buffer == IntPtr.Zero) throw new OutOfMemoryException();
commonui\System\Drawing\UnsafeNativeMethods.cs (1)
256if (buffer == IntPtr.Zero) throw new OutOfMemoryException();
System.IO.Log (1)
System\IO\Log\Error.cs (1)
130return new OutOfMemoryException();
System.Messaging (1)
System\Messaging\ActiveXMessageFormatter.cs (1)
452if (buffer == IntPtr.Zero) throw new OutOfMemoryException();
System.Security (3)
system\security\cryptography\cryptoapi.cs (1)
2473throw new OutOfMemoryException();
system\security\cryptography\dataprotection.cs (2)
90throw new OutOfMemoryException(); 153throw new OutOfMemoryException();
System.ServiceModel (2)
System\ServiceModel\ComIntegration\PersistStreamTypeWrapper.cs (2)
54throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new OutOfMemoryException()); 103throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new OutOfMemoryException());
System.Web (2)
HttpWriter.cs (2)
200throw new OutOfMemoryException(); 579throw new OutOfMemoryException();
System.Windows.Forms (6)
winforms\Managed\System\WinForms\DataObject.cs (1)
765throw new OutOfMemoryException();
winforms\Managed\System\WinForms\ListBox.cs (2)
1586throw new OutOfMemoryException(); 1629throw new OutOfMemoryException();
winforms\Managed\System\WinForms\NativeWindow.cs (1)
956throw new OutOfMemoryException();
winforms\Managed\System\WinForms\RichTextBox.cs (1)
2137throw new OutOfMemoryException();
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
6659if (buffer == IntPtr.Zero) throw new OutOfMemoryException();
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
284throw new OutOfMemoryException();
UIAutomationClientsideProviders (2)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
382throw new OutOfMemoryException();
MS\Internal\AutomationProxies\Misc.cs (1)
1723throw new OutOfMemoryException();
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (1)
451throw new OutOfMemoryException();