60 references to OutOfMemoryException
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EditAndContinue\ActiveStatementTests.cs (1)
14330throw outOfMemory ? new OutOfMemoryException() : new SimpleToStringException();
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
753throw outOfMemory ? new OutOfMemoryException() : new NullReferenceException("NullRef!");
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157throw new OutOfMemoryException();
Microsoft.ML.Tokenizers (1)
Tokenizer.cs (1)
403throw new OutOfMemoryException();
PresentationCore (7)
MS\Internal\Generic\Span.cs (2)
232throw new OutOfMemoryException(); 245throw new OutOfMemoryException();
MS\Internal\Span.cs (2)
315throw new OutOfMemoryException(); 326throw new OutOfMemoryException();
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (2)
783return new OutOfMemoryException(); 794return new System.OutOfMemoryException();
System\Windows\Media\MediaContext.cs (1)
424throw new System.OutOfMemoryException();
PresentationFramework (2)
MS\Internal\PtsHost\Pts.cs (2)
53throw new OutOfMemoryException(); 88throw new OutOfMemoryException();
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
30throw new OutOfMemoryException();
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\Interop\SafeHandles.Linux.cs (1)
59throw new OutOfMemoryException();
System.IO.Compression (6)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157throw new OutOfMemoryException();
System\IO\Compression\Zstandard\ZstandardDecoder.cs (2)
117throw new OutOfMemoryException(); 292throw new OutOfMemoryException();
System\IO\Compression\Zstandard\ZstandardEncoder.cs (2)
189throw new OutOfMemoryException(); 354throw new OutOfMemoryException();
System\IO\Compression\Zstandard\ZstandardUtils.cs (1)
76return new OutOfMemoryException();
System.Linq (1)
System\Linq\SegmentedArrayBuilder.cs (1)
346throw new OutOfMemoryException();
System.Net.Http (1)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157throw new OutOfMemoryException();
System.Net.NameResolution (1)
System\Net\NameResolutionPal.Unix.cs (1)
46throw new OutOfMemoryException();
System.Net.Quic (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ERR.cs (1)
78return new OutOfMemoryException();
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157throw new OutOfMemoryException();
System.Net.Security (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ERR.cs (1)
78return new OutOfMemoryException();
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157throw new OutOfMemoryException();
System.Net.ServerSentEvents (1)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157throw new OutOfMemoryException();
System.Net.Sockets (1)
System\Net\Sockets\SocketAsyncContext.Unix.cs (1)
938throw new OutOfMemoryException();
System.Private.CoreLib (19)
src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\ExceptionHandling.cs (1)
327ExceptionIDs.OutOfMemory => new OutOfMemoryException(),
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
2502throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventProvider.cs (1)
83throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\Environment.Variables.Windows.cs (1)
87throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Icu.cs (1)
971throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\Globalization\Normalization.Nls.cs (4)
98throw new OutOfMemoryException(); 157throw new OutOfMemoryException(); 194throw new OutOfMemoryException(); 216throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.Unix.cs (4)
101throw new OutOfMemoryException(); 108throw new OutOfMemoryException(); 127throw new OutOfMemoryException(); 134throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (3)
965throw new OutOfMemoryException(); 2435throw new OutOfMemoryException(); 2636throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\Threading\LowLevelMonitor.Unix.cs (1)
17throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\Threading\NamedMutex.Unix.cs (1)
328Interop.Error.EAGAIN => throw new OutOfMemoryException(),
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
494throw new OutOfMemoryException();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\GetTypeCoreCache.cs (1)
129throw new OutOfMemoryException();
System.Security.Cryptography (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.ERR.cs (1)
78return new OutOfMemoryException();
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (1)
1156throw new OutOfMemoryException();
System.Security.Cryptography.ProtectedData (1)
System\Security\Cryptography\ProtectedData.cs (1)
376throw new OutOfMemoryException();
System.Text.Json (1)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157throw new OutOfMemoryException();
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
1535throw new OutOfMemoryException(); 1591throw new OutOfMemoryException();
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1990throw new OutOfMemoryException();
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
247throw new OutOfMemoryException();
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
373throw new OutOfMemoryException();
MS\Internal\AutomationProxies\Misc.cs (1)
1691throw new OutOfMemoryException();