45 references to OutOfMemoryException
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EditAndContinue\ActiveStatementTests.cs (1)
14265throw outOfMemory ? new OutOfMemoryException() : new SimpleToStringException();
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
749throw 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.Collections.Concurrent (1)
System\ThrowHelper.cs (1)
23internal static void ThrowOutOfMemoryException() => throw new OutOfMemoryException();
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
30throw new OutOfMemoryException();
System.Linq (1)
System\Linq\SegmentedArrayBuilder.cs (1)
346throw new OutOfMemoryException();
System.Net.ServerSentEvents (1)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157throw 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)
2631throw 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)
972throw 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)
955throw new OutOfMemoryException(); 2366throw new OutOfMemoryException(); 2567throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\Threading\LowLevelMonitor.Unix.cs (1)
17throw new OutOfMemoryException();
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
500throw new OutOfMemoryException();
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
498throw new OutOfMemoryException();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\GetTypeCoreCache.cs (1)
129throw 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)
1537throw new OutOfMemoryException(); 1593throw new OutOfMemoryException();
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1999throw 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();