45 references to OutOfMemoryException
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EditAndContinue\ActiveStatementTests.cs (1)
14265
throw outOfMemory ? new
OutOfMemoryException
() : new SimpleToStringException();
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
749
throw outOfMemory ? new
OutOfMemoryException
() : new NullReferenceException("NullRef!");
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157
throw new
OutOfMemoryException
();
Microsoft.ML.Tokenizers (1)
Tokenizer.cs (1)
403
throw new
OutOfMemoryException
();
PresentationCore (7)
MS\Internal\Generic\Span.cs (2)
232
throw new
OutOfMemoryException
();
245
throw new
OutOfMemoryException
();
MS\Internal\Span.cs (2)
315
throw new
OutOfMemoryException
();
326
throw new
OutOfMemoryException
();
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (2)
783
return new
OutOfMemoryException
();
794
return new System.
OutOfMemoryException
();
System\Windows\Media\MediaContext.cs (1)
424
throw new System.
OutOfMemoryException
();
PresentationFramework (2)
MS\Internal\PtsHost\Pts.cs (2)
53
throw new
OutOfMemoryException
();
88
throw new
OutOfMemoryException
();
System.Collections.Concurrent (1)
System\ThrowHelper.cs (1)
23
internal static void ThrowOutOfMemoryException() => throw new
OutOfMemoryException
();
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
30
throw new
OutOfMemoryException
();
System.Linq (1)
System\Linq\SegmentedArrayBuilder.cs (1)
346
throw new
OutOfMemoryException
();
System.Net.ServerSentEvents (1)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157
throw new
OutOfMemoryException
();
System.Private.CoreLib (19)
src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\ExceptionHandling.cs (1)
327
ExceptionIDs.OutOfMemory => new
OutOfMemoryException
(),
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
2631
throw new
OutOfMemoryException
();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventProvider.cs (1)
83
throw new
OutOfMemoryException
();
src\libraries\System.Private.CoreLib\src\System\Environment.Variables.Windows.cs (1)
87
throw new
OutOfMemoryException
();
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Icu.cs (1)
972
throw new
OutOfMemoryException
();
src\libraries\System.Private.CoreLib\src\System\Globalization\Normalization.Nls.cs (4)
98
throw new
OutOfMemoryException
();
157
throw new
OutOfMemoryException
();
194
throw new
OutOfMemoryException
();
216
throw new
OutOfMemoryException
();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.Unix.cs (4)
101
throw new
OutOfMemoryException
();
108
throw new
OutOfMemoryException
();
127
throw new
OutOfMemoryException
();
134
throw new
OutOfMemoryException
();
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (3)
955
throw new
OutOfMemoryException
();
2366
throw new
OutOfMemoryException
();
2567
throw new
OutOfMemoryException
();
src\libraries\System.Private.CoreLib\src\System\Threading\LowLevelMonitor.Unix.cs (1)
17
throw new
OutOfMemoryException
();
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
500
throw new
OutOfMemoryException
();
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
498
throw new
OutOfMemoryException
();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\GetTypeCoreCache.cs (1)
129
throw new
OutOfMemoryException
();
System.Security.Cryptography.ProtectedData (1)
System\Security\Cryptography\ProtectedData.cs (1)
376
throw new
OutOfMemoryException
();
System.Text.Json (1)
src\libraries\Common\src\System\Net\ArrayBuffer.cs (1)
157
throw new
OutOfMemoryException
();
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
1537
throw new
OutOfMemoryException
();
1593
throw new
OutOfMemoryException
();
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1999
throw new
OutOfMemoryException
();
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
247
throw new
OutOfMemoryException
();
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
373
throw new
OutOfMemoryException
();
MS\Internal\AutomationProxies\Misc.cs (1)
1691
throw new
OutOfMemoryException
();