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