187 instantiations of OverflowException
dotnet-svcutil-lib (13)
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (1)
1020return new OverflowException(string.Format(ResXml.XmlConvert_Overflow, value.ToString(), datatype.TypeCodeString));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (9)
888throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int32" })); 896throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int64" })); 904throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt64" })); 912throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Byte" })); 920throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int16" })); 928throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "SByte" })); 936throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt16" })); 944throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int32" })); 952throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt32" }));
FrameworkFork\Microsoft.Xml\Xml\schema\XsdDuration.cs (3)
288throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, ToString(), "Duration")); 386exception = new OverflowException(string.Format(ResXml.XmlConvert_Overflow, durationType, "TimeSpan")); 679return new OverflowException(string.Format(ResXml.XmlConvert_Overflow, s, durationType));
Microsoft.AspNetCore.OutputCaching (1)
FormatterBinaryReader.cs (1)
196private static void ThrowOverflowException() => throw new OverflowException();
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\Errors.cs (1)
58return new OverflowException(SR.Format(SR.COMDispatchInvokeError, p0));
Microsoft.Extensions.Caching.Hybrid (1)
Internal\HybridCachePayload.cs (1)
406throw new OverflowException();
Microsoft.Private.Windows.Core (1)
Windows\Win32\Graphics\GdiPlus\StatusExtensions.cs (1)
51return new OverflowException(SR.GdiplusOverflow);
Microsoft.VisualBasic.Core (3)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (1)
1601Throw New OverflowException
Microsoft\VisualBasic\CompilerServices\ExceptionUtils.vb (1)
233Return New OverflowException(Description)
Microsoft\VisualBasic\CompilerServices\SingleType.vb (1)
37Throw New OverflowException
NuGet.Packaging (1)
Signing\Cms\HeapBlockRetainer.cs (1)
22throw new OverflowException();
PresentationCore (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (1)
801return new System.OverflowException(SR.Image_Overflow, exceptionForHR);
System.Data.Common (75)
System\Data\Filter\FilterException.cs (1)
66OverflowException e = new OverflowException(error);
System\Data\SQLTypes\SQLByte.cs (8)
102throw new OverflowException(SQLResource.ArithOverflowMessage); 114throw new OverflowException(SQLResource.ArithOverflowMessage); 126throw new OverflowException(SQLResource.ArithOverflowMessage); 199throw new OverflowException(SQLResource.ArithOverflowMessage); 211throw new OverflowException(SQLResource.ArithOverflowMessage); 223throw new OverflowException(SQLResource.ArithOverflowMessage); 235throw new OverflowException(SQLResource.ArithOverflowMessage); 247throw new OverflowException(SQLResource.ArithOverflowMessage);
System\Data\SQLTypes\SQLDateTime.cs (3)
163throw new OverflowException(SQLResource.DateTimeOverflowMessage); 174throw new OverflowException(SQLResource.DateTimeOverflowMessage); 225throw new OverflowException(SQLResource.DateTimeOverflowMessage);
System\Data\SQLTypes\SQLDecimal.cs (16)
621throw new OverflowException(SQLResource.ArithOverflowMessage); 661throw new OverflowException(SQLResource.ArithOverflowMessage); 678throw new OverflowException(SQLResource.ArithOverflowMessage); 1149throw new OverflowException(SQLResource.ConversionOverflowMessage); 1326throw new OverflowException(SQLResource.ArithOverflowMessage); 1373throw new OverflowException(SQLResource.ArithOverflowMessage); 1568throw new OverflowException(SQLResource.ArithOverflowMessage); 1576throw new OverflowException(SQLResource.ArithOverflowMessage); 1593throw new OverflowException(SQLResource.ArithOverflowMessage); 1614throw new OverflowException(SQLResource.ArithOverflowMessage); 1622throw new OverflowException(SQLResource.ArithOverflowMessage); 2150throw new OverflowException(SQLResource.ArithOverflowMessage); 2157throw new OverflowException(SQLResource.ArithOverflowMessage); 2194throw new OverflowException(SQLResource.ArithOverflowMessage); 2202throw new OverflowException(SQLResource.ArithOverflowMessage); 2301throw new OverflowException(SQLResource.ArithOverflowMessage);
System\Data\SQLTypes\SQLDouble.cs (5)
39throw new OverflowException(SQLResource.ArithOverflowMessage); 110throw new OverflowException(SQLResource.ArithOverflowMessage); 123throw new OverflowException(SQLResource.ArithOverflowMessage); 136throw new OverflowException(SQLResource.ArithOverflowMessage); 152throw new OverflowException(SQLResource.ArithOverflowMessage);
System\Data\SQLTypes\SQLInt16.cs (9)
105throw new OverflowException(SQLResource.ArithOverflowMessage); 117throw new OverflowException(SQLResource.ArithOverflowMessage); 130throw new OverflowException(SQLResource.ArithOverflowMessage); 143throw new OverflowException(SQLResource.ArithOverflowMessage); 159throw new OverflowException(SQLResource.ArithOverflowMessage); 207throw new OverflowException(SQLResource.ArithOverflowMessage); 220throw new OverflowException(SQLResource.ArithOverflowMessage); 233throw new OverflowException(SQLResource.ArithOverflowMessage); 246throw new OverflowException(SQLResource.ArithOverflowMessage);
System\Data\SQLTypes\SQLInt32.cs (9)
107throw new OverflowException(SQLResource.ArithOverflowMessage); 119throw new OverflowException(SQLResource.ArithOverflowMessage); 132throw new OverflowException(SQLResource.ArithOverflowMessage); 145throw new OverflowException(SQLResource.ArithOverflowMessage); 161throw new OverflowException(SQLResource.ArithOverflowMessage); 216throw new OverflowException(SQLResource.ArithOverflowMessage); 229throw new OverflowException(SQLResource.ArithOverflowMessage); 242throw new OverflowException(SQLResource.ArithOverflowMessage); 266throw new OverflowException(SQLResource.ConversionOverflowMessage);
System\Data\SQLTypes\SQLInt64.cs (13)
107throw new OverflowException(SQLResource.ArithOverflowMessage); 119throw new OverflowException(SQLResource.ArithOverflowMessage); 155throw new OverflowException(SQLResource.ArithOverflowMessage); 160throw new OverflowException(SQLResource.ArithOverflowMessage); 167throw new OverflowException(SQLResource.ArithOverflowMessage); 174throw new OverflowException(SQLResource.ArithOverflowMessage); 179throw new OverflowException(SQLResource.ArithOverflowMessage); 195throw new OverflowException(SQLResource.ArithOverflowMessage); 211throw new OverflowException(SQLResource.ArithOverflowMessage); 271throw new OverflowException(SQLResource.ArithOverflowMessage); 284throw new OverflowException(SQLResource.ArithOverflowMessage); 309throw new OverflowException(SQLResource.ConversionOverflowMessage); 316throw new OverflowException(SQLResource.ConversionOverflowMessage);
System\Data\SQLTypes\SQLMoney.cs (6)
70throw new OverflowException(SQLResource.ArithOverflowMessage); 86throw new OverflowException(SQLResource.ArithOverflowMessage); 92throw new OverflowException(SQLResource.ArithOverflowMessage); 273throw new OverflowException(SQLResource.ArithOverflowMessage); 289throw new OverflowException(SQLResource.ArithOverflowMessage); 301throw new OverflowException(SQLResource.ArithOverflowMessage);
System\Data\SQLTypes\SQLSingle.cs (5)
36throw new OverflowException(SQLResource.ArithOverflowMessage); 111throw new OverflowException(SQLResource.ArithOverflowMessage); 124throw new OverflowException(SQLResource.ArithOverflowMessage); 137throw new OverflowException(SQLResource.ArithOverflowMessage); 153throw new OverflowException(SQLResource.ArithOverflowMessage);
System.Data.Odbc (2)
Common\System\Data\Common\AdapterUtil.Odbc.cs (1)
410e = new OverflowException(message, inner);
System\Data\Odbc\DbDataRecord.cs (1)
66throw new OverflowException(innerException.Message, innerException);
System.Data.OleDb (1)
System\Data\Common\AdapterUtil.cs (1)
733e = new OverflowException(message, inner);
System.Formats.Asn1 (2)
System\Formats\Asn1\AsnWriter.cs (2)
390throw new OverflowException(); 503throw new OverflowException();
System.Formats.Cbor (4)
System\Formats\Cbor\Reader\CborReader.Integer.cs (1)
115throw new OverflowException();
System\Formats\Cbor\Writer\CborWriter.cs (1)
281throw new OverflowException();
System\Formats\Cbor\Writer\CborWriter.Tag.cs (2)
174throw new OverflowException(SR.Cbor_Writer_DecimalOverflow); 204throw new OverflowException(SR.Cbor_Writer_DecimalOverflow);
System.Linq (1)
System\Linq\ThrowHelper.cs (1)
36internal static void ThrowOverflowException() => throw new OverflowException();
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\ArrayOperations.cs (1)
87throw new OverflowException();
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1847throw new OverflowException(SR.net_maximumbindretries);
System.Numerics.Tensors (1)
System\Numerics\Tensors\TensorPrimitives.Helpers.cs (1)
40private static void ThrowNegateTwosCompOverflow() => throw new OverflowException(SR.Overflow_NegateTwosCompNum);
System.Private.CoreLib (41)
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\CompilerHelpers\ThrowHelpers.cs (1)
53throw new OverflowException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (11)
287private static void ThrowCharOverflowException() { throw new OverflowException(SR.Overflow_Char); } 290private static void ThrowByteOverflowException() { throw new OverflowException(SR.Overflow_Byte); } 293private static void ThrowSByteOverflowException() { throw new OverflowException(SR.Overflow_SByte); } 296private static void ThrowInt16OverflowException() { throw new OverflowException(SR.Overflow_Int16); } 299private static void ThrowUInt16OverflowException() { throw new OverflowException(SR.Overflow_UInt16); } 302private static void ThrowInt32OverflowException() { throw new OverflowException(SR.Overflow_Int32); } 305private static void ThrowUInt32OverflowException() { throw new OverflowException(SR.Overflow_UInt32); } 308private static void ThrowInt64OverflowException() { throw new OverflowException(SR.Overflow_Int64); } 311private static void ThrowUInt64OverflowException() { throw new OverflowException(SR.Overflow_UInt64); } 1075throw new OverflowException(SR.Overflow_Int32); 1196throw new OverflowException(SR.Overflow_UInt32);
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1661throw new OverflowException(SR.Arg_OleAutDateInvalid);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (5)
788throw new OverflowException(SR.Overflow_Int32); 811throw new OverflowException(SR.Overflow_Int64); 849throw new OverflowException(SR.Overflow_UInt32); 866throw new OverflowException(SR.Overflow_UInt64); 935throw new OverflowException(SR.Overflow_Char, e);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (1)
1321throw new OverflowException(SR.Overflow_Currency);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanParse.cs (1)
554throw new OverflowException(SR.Format(SR.Overflow_TimeSpanElementTooLarge, new string(_originalTimeSpanString)));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
228throw new OverflowException(SR.Overflow_UInt32);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
148throw new OverflowException(SR.Overflow_NegateTwosCompNum);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (2)
3886throw new OverflowException(SR.Overflow_Decimal); 3912throw new OverflowException(SR.Overflow_Decimal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs (2)
1737throw new OverflowException(TInteger.OverflowMessage); 1743throw new OverflowException(SR.Overflow_Decimal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\ParseNumbers.cs (2)
56throw new OverflowException(SR.Overflow_NegativeUnsigned); 144throw new OverflowException(SR.Overflow_NegativeUnsigned);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
833return new System.OverflowException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitSubsystem.ThreadWaitInfo.Unix.cs (1)
270throw new OverflowException(SR.Overflow_MutexReacquireCount);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitSubsystem.WaitableObject.Unix.cs (3)
329throw new OverflowException(SR.Overflow_MutexReacquireCount); 405throw new OverflowException(SR.Overflow_MutexReacquireCount); 440throw new OverflowException(SR.Overflow_MutexReacquireCount);
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (4)
260throw new OverflowException(); 266throw new OverflowException(SR.Overflow_NegateTwosCompNum); 272throw new OverflowException(SR.Overflow_TimeSpanTooLong); 278throw new OverflowException(SR.Overflow_Duration);
System\Array.NativeAot.cs (1)
149throw new OverflowException();
System\GC.NativeAot.cs (2)
839throw new OverflowException(); 866throw new OverflowException();
System\RuntimeExceptionHelpers.cs (1)
93return new OverflowException();
System.Private.Windows.Core (1)
Windows\Win32\Graphics\GdiPlus\StatusExtensions.cs (1)
51return new OverflowException(SR.GdiplusOverflow);
System.Private.Xml (12)
System\Xml\Schema\FacetChecker.cs (1)
1012return new OverflowException(SR.Format(SR.XmlConvert_Overflow, value.ToString(CultureInfo.InvariantCulture), datatype.TypeCodeString));
System\Xml\Schema\XmlValueConverter.cs (9)
803throw new OverflowException(SR.Format(SR.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int32" })); 811throw new OverflowException(SR.Format(SR.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int64" })); 819throw new OverflowException(SR.Format(SR.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt64" })); 827throw new OverflowException(SR.Format(SR.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Byte" })); 835throw new OverflowException(SR.Format(SR.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int16" })); 843throw new OverflowException(SR.Format(SR.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "SByte" })); 851throw new OverflowException(SR.Format(SR.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt16" })); 859throw new OverflowException(SR.Format(SR.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int32" })); 867throw new OverflowException(SR.Format(SR.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt32" }));
System\Xml\Schema\XsdDuration.cs (2)
326exception = new OverflowException(SR.Format(SR.XmlConvert_Overflow, durationType, "TimeSpan")); 632return new OverflowException(SR.Format(SR.XmlConvert_Overflow, s, durationType));
System.Private.Xml.Linq (1)
System\Xml\Linq\XHashtable.cs (1)
213throw new OverflowException();
System.Runtime.InteropServices.JavaScript (2)
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Int52.cs (2)
43throw new OverflowException(SR.Format(SR.ValueOutOf52BitRange, value, I52_MIN_VALUE, I52_MAX_VALUE)); 82throw new OverflowException(SR.Format(SR.ValueOutOf52BitRange, value, I52_MIN_VALUE, I52_MAX_VALUE));
System.Runtime.Numerics (13)
System\Number.BigInteger.cs (1)
40: new OverflowException(SR.Overflow_ParseBigInteger);
System\Numerics\BigInteger.cs (11)
166throw new OverflowException(double.IsInfinity(value) ? SR.Overflow_BigIntInfinity : SR.Overflow_NotANumber); 1563throw new OverflowException(SR.Overflow_Negative_Unsigned); 2254throw new OverflowException(SR.Overflow_Int32); 2265throw new OverflowException(SR.Overflow_Int32); 2282throw new OverflowException(SR.Overflow_Int64); 2305throw new OverflowException(SR.Overflow_Int64); 2323throw new OverflowException(SR.Overflow_Int128); 2354throw new OverflowException(SR.Overflow_Int128); 2406: throw new OverflowException(SR.Overflow_UInt32); 2422throw new OverflowException(SR.Overflow_UInt64); 2451throw new OverflowException(SR.Overflow_UInt128);
System\ThrowHelper.cs (1)
15throw new OverflowException();
System.Security.AccessControl (2)
System\Security\AccessControl\ACL.cs (2)
386throw new OverflowException(SR.AccessControl_AclTooLong); 400throw new OverflowException(SR.AccessControl_AclTooLong);
System.Security.Cryptography.Pkcs (2)
Internal\Cryptography\Pal\Windows\HeapBlockRetainer.cs (2)
29throw new OverflowException(); 38throw new OverflowException();
System.Speech (1)
Internal\SrgsCompiler\BackEnd.cs (1)
87throw new OverflowException(SR.Get(SRID.TooManyRulesWithSemanticsGlobals));
System.Threading (2)
System\Threading\ReaderWriterLock.cs (2)
96throw new OverflowException(SR.Overflow_UInt16); 296throw new OverflowException(SR.Overflow_UInt16);
532 references to OverflowException
Aspire.Hosting (3)
Ats\CollectionExports.cs (1)
175catch (Exception ex) when (ex is FormatException or InvalidCastException or OverflowException or ArgumentException)
IInteractionService.cs (2)
718/// <exception cref="OverflowException">Thrown when the input value is outside the range of a <see cref="int"/>.</exception> 731/// <exception cref="OverflowException">Thrown when the input value is outside the range of a <see cref="double"/>.</exception>
Aspire.Hosting.RemoteHost (1)
Ats\AtsMarshaller.cs (1)
758catch (OverflowException)
Aspire.Hosting.Tests (1)
Utils\PasswordGeneratorTests.cs (1)
37Assert.Throws<OverflowException>(() => Generate(10, true, true, true, true, int.MaxValue, 1, 0, 0));
dotnet-svcutil-lib (72)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (9)
977catch (OverflowException e) 1237catch (OverflowException e) 1332catch (OverflowException e) 1427catch (OverflowException e) 1522catch (OverflowException e) 1617catch (OverflowException e) 1712catch (OverflowException e) 1752catch (OverflowException e) 1799catch (OverflowException e)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (1)
7389catch (OverflowException e)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (18)
472catch (OverflowException e) 505catch (OverflowException e) 538catch (OverflowException e) 571catch (OverflowException e) 604catch (OverflowException e) 637catch (OverflowException e) 670catch (OverflowException e) 703catch (OverflowException e) 745catch (OverflowException e) 791catch (OverflowException e) 826catch (OverflowException e) 861catch (OverflowException e) 896catch (OverflowException e) 931catch (OverflowException e) 966catch (OverflowException e) 1001catch (OverflowException e) 1036catch (OverflowException e) 1078catch (OverflowException e)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (4)
72catch (OverflowException e) 117catch (OverflowException e) 167catch (OverflowException e) 213catch (OverflowException e)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (3)
623catch (OverflowException e) 1112catch (OverflowException e) 1356catch (OverflowException e)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (13)
1489catch (OverflowException) 1503catch (OverflowException) 1520catch (OverflowException) 1534catch (OverflowException) 1551catch (OverflowException) 1565catch (OverflowException) 1582catch (OverflowException) 1596catch (OverflowException) 1631catch (OverflowException) 1640catch (OverflowException) 1657catch (OverflowException) { } 1673catch (OverflowException) 1687catch (OverflowException)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdDuration.cs (2)
286catch (OverflowException) 383catch (OverflowException)
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (1)
1241catch (OverflowException)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlReaderDelegator.cs (1)
560catch (OverflowException exception)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBufferReader.cs (2)
480catch (OverflowException exception) 502catch (OverflowException exception)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlConverter.cs (8)
113catch (OverflowException exception) 141catch (OverflowException exception) 169catch (OverflowException exception) 197catch (OverflowException exception) 225catch (OverflowException exception) 307catch (OverflowException exception) 332catch (OverflowException exception) 357catch (OverflowException exception)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (7)
798catch (OverflowException exception) 1552catch (OverflowException exception) 1572catch (OverflowException exception) 1592catch (OverflowException exception) 1612catch (OverflowException exception) 1632catch (OverflowException exception) 1652catch (OverflowException exception)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (1)
331catch (OverflowException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (2)
260catch (OverflowException exception) 276catch (OverflowException exception)
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
150catch (OverflowException)
ILCompiler.Compiler (2)
Compiler\DependencyAnalysis\ResourceDataNode.cs (1)
104catch (OverflowException)
Compiler\UserDefinedTypeDescriptor.cs (1)
207catch (OverflowException)
ILLink.RoslynAnalyzer (1)
src\runtime\src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeName.cs (1)
441/// <exception cref="OverflowException">The total number of <see cref="TypeName"/> instances that are used to describe
Microsoft.AspNetCore.Components.Server (8)
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\T4\MessagePackReader.Integers.cs (8)
23/// <exception cref="OverflowException">Thrown when the value exceeds what can be stored in the returned type.</exception> 76/// <exception cref="OverflowException">Thrown when the value exceeds what can be stored in the returned type.</exception> 129/// <exception cref="OverflowException">Thrown when the value exceeds what can be stored in the returned type.</exception> 182/// <exception cref="OverflowException">Thrown when the value exceeds what can be stored in the returned type.</exception> 235/// <exception cref="OverflowException">Thrown when the value exceeds what can be stored in the returned type.</exception> 288/// <exception cref="OverflowException">Thrown when the value exceeds what can be stored in the returned type.</exception> 341/// <exception cref="OverflowException">Thrown when the value exceeds what can be stored in the returned type.</exception> 394/// <exception cref="OverflowException">Thrown when the value exceeds what can be stored in the returned type.</exception>
Microsoft.AspNetCore.Mvc.Abstractions (5)
ModelBinding\Metadata\ModelBindingMessageProvider.cs (4)
43/// <see cref="FormatException"/> or <see cref="OverflowException"/>, value is known, and error is associated 51/// <see cref="FormatException"/> or <see cref="OverflowException"/>, value is known, and error is associated 59/// <see cref="FormatException"/> or <see cref="OverflowException"/>, value is unknown, and error is associated 67/// <see cref="FormatException"/> or <see cref="OverflowException"/>, value is unknown, and error is associated
ModelBinding\ModelStateDictionary.cs (1)
274if (exception is FormatException || exception is OverflowException)
Microsoft.AspNetCore.Mvc.Core (1)
Formatters\SystemTextJsonInputFormatter.cs (1)
100catch (Exception exception) when (exception is FormatException || exception is OverflowException)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonInputFormatter.cs (1)
192if (exception is not null && exception is not (JsonException or OverflowException or FormatException))
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
506catch (OverflowException ex)
Microsoft.Build (3)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
1090ex is OverflowException) // overflow when converting string representation of a numerical type 1616ex is OverflowException) // overflow when converting string representation of a numerical type
Evaluation\Expander.Function.cs (1)
1050catch (OverflowException)
Microsoft.Build.Framework (1)
ValueTypeParser.cs (1)
116catch (Exception ex) when (ex is FormatException || ex is InvalidCastException || ex is OverflowException || ex is ArgumentException || ex is NotSupportedException)
Microsoft.Build.Tasks.Core (3)
GenerateResource.cs (1)
3780catch (OverflowException)
ManifestUtil\DeployManifest.cs (1)
278catch (OverflowException)
ManifestUtil\Util.cs (1)
349catch (OverflowException)
Microsoft.Build.Tasks.Git (1)
GitDataReader\GitConfig.cs (1)
195catch (OverflowException)
Microsoft.CodeAnalysis (4)
Collections\ImmutableMemoryStream.cs (1)
100catch (OverflowException)
CvtRes.cs (2)
222catch (OverflowException) 257catch (OverflowException)
InternalUtilities\ReadOnlyUnmanagedMemoryStream.cs (1)
115catch (OverflowException)
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
150catch (OverflowException)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
150catch (OverflowException)
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
150catch (OverflowException)
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Operators.cs (5)
2833catch (OverflowException) 2848catch (OverflowException) 2869catch (OverflowException) 4507catch (OverflowException) 4528catch (OverflowException)
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.UnmanagedHelper.cs (1)
251=> ex is FormatException or InvalidCastException or OverflowException or ArgumentNullException;
Microsoft.NetCore.Analyzers\Runtime\AttributeStringLiteralsShouldParseCorrectly.cs (1)
65catch (OverflowException)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
150catch (OverflowException)
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
150catch (OverflowException)
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (1)
1506catch (OverflowException)
Microsoft.Deployment.DotNet.Releases (1)
ReleaseVersion.cs (1)
810/// <exception cref="OverflowException">If <paramref name="throwOnFailure"/> is <see langword="true"/> and the value exceeds <see cref="int.MaxValue"/>.</exception>
Microsoft.DotNet.Cli.Definitions (1)
Commands\Test\TestCommandDefinition.MicrosoftTestingPlatform.cs (1)
343catch (Exception ex) when (ex is OverflowException or ArgumentException)
Microsoft.Extensions.AI.Abstractions (1)
AdditionalPropertiesDictionary{TValue}.cs (1)
177catch (Exception e) when (e is ArgumentException or FormatException or InvalidCastException or OverflowException)
Microsoft.Maui.Controls (2)
BindingExpression.cs (1)
376 catch (OverflowException)
BindingExpressionHelper.cs (1)
51 catch (Exception ex) when (ex is InvalidCastException || ex is FormatException || ex is InvalidOperationException || ex is OverflowException)
Microsoft.ML.Data (1)
Transforms\KeyToVector.cs (1)
265catch (OverflowException e)
Microsoft.ML.FastTree (1)
FastTreeRanking.cs (1)
164if (ex is FormatException || ex is OverflowException)
Microsoft.ML.TimeSeries (1)
AdaptiveSingularSpectrumSequenceModeler.cs (1)
1077catch (OverflowException)
Microsoft.ML.Transforms (4)
Expression\BuiltinFunctions.cs (1)
1088catch (OverflowException)
Expression\Lexer.cs (3)
351catch (System.OverflowException) 377catch (OverflowException) 388catch (OverflowException)
Microsoft.NET.HostModel (1)
ComHost\TypeLibReader.cs (1)
65catch (System.OverflowException)
Microsoft.VisualBasic.Core (24)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (1)
1363Catch e1 As OverflowException
Microsoft\VisualBasic\CompilerServices\DecimalType.vb (1)
43Catch e1 As OverflowException
Microsoft\VisualBasic\CompilerServices\ObjectType.vb (8)
1773Catch e As OverflowException 1803Catch e As OverflowException 2117Catch e As OverflowException 2391Catch ex1 As OverflowException 2394Catch ex2 As OverflowException 2421Catch e As OverflowException 2683Catch e As OverflowException 3033Catch ex As OverflowException
Microsoft\VisualBasic\CompilerServices\Operators.vb (12)
2884Catch e As OverflowException 2894Catch e As OverflowException 2906Catch ex As OverflowException 3352Catch ex As OverflowException 3362Catch ex As OverflowException 3374Catch ex As OverflowException 3799Catch ex As OverflowException 3804Catch ex As OverflowException 3812Catch ex As OverflowException 3817Catch ex As OverflowException 3828Catch ex As OverflowException 4133Catch ex As OverflowException
Microsoft\VisualBasic\Conversion.vb (2)
328Catch ex As OverflowException 439Catch ex As OverflowException
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
TestCase.cs (1)
385catch (OverflowException)
Microsoft.Win32.Registry (1)
Microsoft\Win32\RegistryKey.cs (1)
1357catch (Exception exc) when (exc is OverflowException || exc is InvalidOperationException || exc is FormatException || exc is InvalidCastException)
MSBuild (2)
XMake.cs (2)
3145catch (OverflowException ex) 3503catch (OverflowException ex)
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
384[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.OverflowException))]
netstandard (1)
netstandard.cs (1)
1348[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.OverflowException))]
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\UidManager.cs (2)
867catch (OverflowException) 903catch (OverflowException)
PresentationCore (2)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (1)
951catch (OverflowException ex)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
155catch (OverflowException ex)
PresentationFramework (9)
System\Windows\Controls\DocumentViewer.cs (1)
1918catch (OverflowException)
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
972catch(System.OverflowException)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1534catch (OverflowException) { }
System\Windows\Documents\RtfToXamlReader.cs (4)
242catch (System.OverflowException) 263catch (System.OverflowException) 293catch (System.OverflowException) 8568catch (System.OverflowException)
System\Windows\Documents\XamlToRtfWriter.cs (1)
3798catch (System.OverflowException)
System\Windows\Documents\ZoomPercentageConverter.cs (1)
191catch (OverflowException) { }
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
1893catch (OverflowException) { } 1984catch (OverflowException) { }
ReachFramework (2)
PrintConfig\PrintSchema.cs (2)
2437catch (OverflowException e) 2472catch (OverflowException e)
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
150catch (OverflowException)
System.Collections.Concurrent (2)
System\Collections\Concurrent\PartitionerStatic.cs (2)
218catch (OverflowException) 272catch (OverflowException)
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (1)
160catch (OverflowException)
System.Console (1)
System\ConsolePal.Unix.cs (1)
639catch (OverflowException) { }
System.Data.Common (44)
System\Data\Common\BooleanStorage.cs (1)
72catch (OverflowException)
System\Data\Common\ByteStorage.cs (1)
144catch (OverflowException)
System\Data\Common\CharStorage.cs (1)
71catch (OverflowException)
System\Data\Common\DateTimeOffsetStorage.cs (1)
81catch (OverflowException)
System\Data\Common\DateTimeStorage.cs (1)
81catch (OverflowException)
System\Data\Common\DecimalStorage.cs (1)
149catch (OverflowException)
System\Data\Common\DoubleStorage.cs (1)
144catch (OverflowException)
System\Data\Common\Int16Storage.cs (1)
158catch (OverflowException)
System\Data\Common\Int32Storage.cs (1)
157catch (OverflowException)
System\Data\Common\Int64Storage.cs (1)
149catch (OverflowException)
System\Data\Common\SByteStorage.cs (1)
144catch (OverflowException)
System\Data\Common\SingleStorage.cs (1)
145catch (OverflowException)
System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
45catch (OverflowException)
System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
79catch (OverflowException)
System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
46catch (OverflowException)
System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
154catch (OverflowException)
System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
46catch (OverflowException)
System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
81catch (OverflowException)
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
153catch (OverflowException)
System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
154catch (OverflowException)
System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
46catch (OverflowException)
System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
154catch (OverflowException)
System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
154catch (OverflowException)
System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
155catch (OverflowException)
System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
154catch (OverflowException)
System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
152catch (OverflowException)
System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
87catch (OverflowException)
System\Data\Common\TimeSpanStorage.cs (1)
140catch (OverflowException)
System\Data\Common\UInt16Storage.cs (1)
157catch (OverflowException)
System\Data\Common\UInt32Storage.cs (1)
155catch (OverflowException)
System\Data\Common\UInt64Storage.cs (1)
149catch (OverflowException)
System\Data\Filter\BinaryNode.cs (2)
270catch (System.OverflowException e) 1126catch (OverflowException)
System\Data\Filter\ConstNode.cs (5)
158catch (System.OverflowException e) 178catch (System.OverflowException e) 236catch (System.OverflowException e) 257catch (System.OverflowException e) 278catch (System.OverflowException e)
System\Data\Filter\FilterException.cs (2)
64private static OverflowException _Overflow(string error) 66OverflowException e = new OverflowException(error);
System\Data\SQLTypes\SQLDecimal.cs (2)
2820catch (OverflowException) 2833catch (OverflowException)
System\Data\SQLTypes\SQLMoney.cs (2)
287catch (OverflowException) 299catch (OverflowException)
System.Data.Odbc (5)
Common\System\Data\Common\AdapterUtil.Odbc.cs (1)
408else if (inner is OverflowException)
Common\System\Data\Common\DbConnectionOptions.cs (1)
241catch (OverflowException e)
System\Data\Odbc\DbDataRecord.cs (2)
65OverflowException innerException = (OverflowException)Values[i]!;
System\Data\Odbc\OdbcDataReader.cs (1)
878catch (OverflowException)
System.Data.OleDb (2)
DbConnectionOptions.cs (1)
305catch (OverflowException e)
System\Data\Common\AdapterUtil.cs (1)
731else if (inner is OverflowException)
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\SAM\SAMUtils.cs (1)
84catch (OverflowException)
System.Drawing.Common (1)
System\Drawing\Icon.cs (1)
529catch (OverflowException)
System.Formats.Cbor (5)
System\Formats\Cbor\Reader\CborReader.Integer.cs (4)
15/// <exception cref="OverflowException">The encoded integer is out of range for <see cref="int" />.</exception> 32/// <exception cref="OverflowException">The encoded integer is out of range for <see cref="uint" />.</exception> 50/// <exception cref="OverflowException">The encoded integer is out of range for <see cref="long" />.</exception> 67/// <exception cref="OverflowException">The encoded integer is out of range for <see cref="ulong" />.</exception>
System\Formats\Cbor\Reader\CborReader.Tag.cs (1)
193/// <exception cref="OverflowException">The decoded decimal fraction is either too large or too small for a <see cref="decimal" /> value.</exception>
System.Formats.Tar (1)
System\Formats\Tar\GnuSparseStream.cs (1)
90catch (OverflowException ex)
System.Linq.AsyncEnumerable (11)
System\Linq\AverageAsync.cs (4)
18/// <exception cref="OverflowException">The sum of the elements in the sequence is larger than <see cref="long.MaxValue"/> (via the returned task).</exception> 53/// <exception cref="OverflowException">The sum of the elements in the sequence is larger than <see cref="long.MaxValue"/> (via the returned task).</exception> 187/// <exception cref="OverflowException">The sum of the elements in the sequence is larger than <see cref="long.MaxValue"/> (via the returned task).</exception> 219/// <exception cref="OverflowException">The sum of the elements in the sequence is larger than <see cref="long.MaxValue"/> (via the returned task).</exception>
System\Linq\CountAsync.cs (3)
19/// <exception cref="OverflowException">The number of elements in source is larger than <see cref="int.MaxValue"/> (via the returned task).</exception> 51/// <exception cref="OverflowException">The number of elements that satisfy the condition is larger than <see cref="int.MaxValue"/> (via the returned task).</exception> 86/// <exception cref="OverflowException">The number of elements that satisfy the condition is larger than <see cref="int.MaxValue"/> (via the returned task).</exception>
System\Linq\SumAsync.cs (4)
18/// <exception cref="OverflowException">The sum is larger than <see cref="int.MaxValue"/>.</exception> 44/// <exception cref="OverflowException">The sum is larger than <see cref="long.MaxValue"/>.</exception> 145/// <exception cref="OverflowException">The sum is larger than <see cref="int.MaxValue"/>.</exception> 174/// <exception cref="OverflowException">The sum is larger than <see cref="long.MaxValue"/>.</exception>
System.Management (2)
System\Management\WMIGenerator.cs (2)
817catch (OverflowException) 1653catch (OverflowException)
System.Net.ServerSentEvents (2)
System\Net\ServerSentEvents\SseParser_1.cs (2)
314catch (OverflowException) 408catch (OverflowException)
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\TensorPrimitives.Abs.cs (1)
16/// <exception cref="OverflowException"><typeparamref name="T"/> is a signed integer type and <paramref name="x"/> contained a value equal to <typeparamref name="T"/>'s minimum value.</exception>
System\Numerics\Tensors\netcore\TensorPrimitives.Sum.cs (1)
29/// <exception cref="OverflowException"><typeparamref name="T"/> is a signed integer type and <paramref name="x"/> contained a value equal to <typeparamref name="T"/>'s minimum value.</exception>
System\Numerics\Tensors\TensorPrimitives.Helpers.cs (1)
39/// <summary>Throws an <see cref="OverflowException"/> for trying to negate the minimum value of a two-complement value.</summary>
System.Private.CoreLib (173)
src\runtime\src\libraries\System.Private.CoreLib\src\System\AppContextConfigHelper.cs (4)
88catch (OverflowException) 126catch (OverflowException) 198catch (OverflowException) 236catch (OverflowException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (11)
366/// <exception cref="OverflowException">The <see cref="ConcurrentDictionary{TKey, TValue}"/> contains too many elements.</exception> 1129/// <exception cref="OverflowException">The dictionary contains too many 1177/// <exception cref="OverflowException">The dictionary contains too many 1218/// <exception cref="OverflowException">The dictionary contains too many 1257/// <exception cref="OverflowException">The dictionary contains too many 1297/// <exception cref="OverflowException">The dictionary contains too many 1372/// <exception cref="OverflowException">The dictionary contains too many 1443/// <exception cref="OverflowException">The dictionary contains too many 1540/// <exception cref="OverflowException">The dictionary contains too many 1597/// <exception cref="OverflowException">The <see 1666/// <exception cref="OverflowException">The dictionary contains too many
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (5)
710catch (OverflowException) 731catch (OverflowException) 751catch (OverflowException) 826catch (OverflowException) 933catch (OverflowException e)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (4)
547/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying type of <paramref name="enumType"/></exception> 559/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying type of <paramref name="enumType"/></exception> 575/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying type of <paramref name="enumType"/></exception> 600/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying type of <paramref name="enumType"/></exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.OSVersion.Unix.cs (1)
51catch (OverflowException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (13)
846/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="byte" />.</exception> 857/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="char" />.</exception> 873/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="short" />.</exception> 885/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="int" />.</exception> 897/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="long" />.</exception> 908/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 919/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="IntPtr" />.</exception> 931/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="sbyte" />.</exception> 944/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="ushort" />.</exception> 958/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="uint" />.</exception> 972/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="ulong" />.</exception> 985/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 998/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UIntPtr" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (14)
181/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 199/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 256/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 275/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 294/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 313/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 333/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 367/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 387/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 407/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 427/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 447/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 503/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 569/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IParsable.cs (1)
19/// <exception cref="OverflowException"><paramref name="s" /> is not representable by <typeparamref name="TSelf" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\ISpanParsable.cs (1)
18/// <exception cref="OverflowException"><paramref name="s" /> is not representable by <typeparamref name="TSelf" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IUtf8SpanParsable.cs (1)
18/// <exception cref="OverflowException"><paramref name="utf8Text" /> is not representable by <typeparamref name="TSelf" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (3)
3505/// is <c>true</c>, NaN, infinities, and out-of-range values throw <see cref="OverflowException"/>; 3876/// represented and throw <see cref="OverflowException"/>; finite values are rendered to their decimal 3878/// precision and throws <see cref="OverflowException"/> when the value is outside the System.Decimal range.
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (13)
660/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="byte" />.</exception> 671/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="char" />.</exception> 687/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="short" />.</exception> 698/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="int" />.</exception> 709/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="long" />.</exception> 720/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 731/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="IntPtr" />.</exception> 743/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="sbyte" />.</exception> 756/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="ushort" />.</exception> 769/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="uint" />.</exception> 782/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="ulong" />.</exception> 795/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 808/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UIntPtr" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (14)
460/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="byte" />.</exception> 472/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="sbyte" />.</exception> 484/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="char" />.</exception> 495/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="short" />.</exception> 507/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="ushort" />.</exception> 519/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="int" />.</exception> 531/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="uint" />.</exception> 543/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.IntPtr" />.</exception> 555/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.UIntPtr" />.</exception> 567/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="long" />.</exception> 579/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="ulong" />.</exception> 591/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.Int128" />.</exception> 603/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.UInt128" />.</exception> 625/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="decimal" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (14)
495/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="byte" />.</exception> 507/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="sbyte" />.</exception> 519/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="char" />.</exception> 530/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="short" />.</exception> 542/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="ushort" />.</exception> 554/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="int" />.</exception> 566/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="uint" />.</exception> 578/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.IntPtr" />.</exception> 590/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.UIntPtr" />.</exception> 602/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="long" />.</exception> 614/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="ulong" />.</exception> 626/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.Int128" />.</exception> 638/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.UInt128" />.</exception> 660/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="decimal" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (14)
482/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="byte" />.</exception> 494/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="sbyte" />.</exception> 506/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="char" />.</exception> 517/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="short" />.</exception> 529/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="ushort" />.</exception> 541/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="int" />.</exception> 553/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="uint" />.</exception> 565/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.IntPtr" />.</exception> 577/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.UIntPtr" />.</exception> 589/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="long" />.</exception> 601/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="ulong" />.</exception> 613/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.Int128" />.</exception> 625/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="System.UInt128" />.</exception> 647/// <exception cref="System.OverflowException"><paramref name="value" /> is not representable by <see cref="decimal" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IAdditionOperators.cs (1)
23/// <exception cref="OverflowException">The sum of <paramref name="left" /> and <paramref name="right" /> is not representable by <typeparamref name="TResult" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IBinaryInteger.cs (6)
321/// <exception cref="OverflowException"><paramref name="source" /> is not representable by <typeparamref name="TSelf" /></exception> 336/// <exception cref="OverflowException"><paramref name="source" /> is not representable by <typeparamref name="TSelf" /></exception> 350/// <exception cref="OverflowException"><paramref name="source" /> is not representable by <typeparamref name="TSelf" /></exception> 364/// <exception cref="OverflowException"><paramref name="source" /> is not representable by <typeparamref name="TSelf" /></exception> 379/// <exception cref="OverflowException"><paramref name="source" /> is not representable by <typeparamref name="TSelf" /></exception> 393/// <exception cref="OverflowException"><paramref name="source" /> is not representable by <typeparamref name="TSelf" /></exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IDecrementOperators.cs (1)
19/// <exception cref="OverflowException">The result of decrementing <paramref name="value" /> is not representable by <typeparamref name="TSelf" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IDivisionOperators.cs (1)
23/// <exception cref="OverflowException">The quotient of <paramref name="left" /> divided-by <paramref name="right" /> is not representable by <typeparamref name="TResult" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IIncrementOperators.cs (1)
19/// <exception cref="OverflowException">The result of incrementing <paramref name="value" /> is not representable by <typeparamref name="TSelf" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IMultiplyOperators.cs (1)
23/// <exception cref="OverflowException">The product of <paramref name="left" /> multiplied-by <paramref name="right" /> is not representable by <typeparamref name="TResult" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (7)
46/// <exception cref="OverflowException">The absolute of <paramref name="value" /> is not representable by <typeparamref name="TSelf" />.</exception> 54/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <typeparamref name="TSelf" />.</exception> 283/// <exception cref="OverflowException"><paramref name="s" /> is not representable by <typeparamref name="TSelf" />.</exception> 293/// <exception cref="OverflowException"><paramref name="s" /> is not representable by <typeparamref name="TSelf" />.</exception> 303/// <exception cref="OverflowException"><paramref name="utf8Text" /> is not representable by <typeparamref name="TSelf" />.</exception> 356/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <typeparamref name="TSelf" />.</exception> 387/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <typeparamref name="TOther" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\ISubtractionOperators.cs (1)
23/// <exception cref="OverflowException">The difference of <paramref name="right" /> subtracted from <paramref name="left" /> is not representable by <typeparamref name="TResult" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IUnaryNegationOperators.cs (1)
20/// <exception cref="OverflowException">The unary negation of <paramref name="value" /> is not representable by <typeparamref name="TResult" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CLong.cs (1)
42/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying storage type.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CULong.cs (1)
42/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying storage type.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MemoryMarshal.cs (2)
27/// <exception cref="OverflowException"> 51/// <exception cref="OverflowException">
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (13)
260/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="byte" />.</exception> 273/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="char" />.</exception> 298/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="short" />.</exception> 311/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="int" />.</exception> 324/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="long" />.</exception> 337/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="Int128" />.</exception> 350/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="IntPtr" />.</exception> 364/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="sbyte" />.</exception> 385/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="ushort" />.</exception> 400/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="uint" />.</exception> 415/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="ulong" />.</exception> 430/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 445/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UIntPtr" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (1)
665/// <exception cref="OverflowException">
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.StringSerializer.cs (1)
673catch (Exception e) when (e is ArgumentException or OverflowException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (19)
183/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 201/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 292/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 310/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 328/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 347/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 366/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 385/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 410/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 430/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 450/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 470/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 521/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 582/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 604/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 626/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 648/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 671/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception> 690/// <exception cref="OverflowException"><paramref name="value" /> is not representable by <see cref="UInt128" />.</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
314/// <exception cref="OverflowException">At least one component in <paramref name="utf8Text" /> represents a number that is greater than <see cref="int.MaxValue"/>.</exception>
src\runtime\src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeName.cs (1)
441/// <exception cref="OverflowException">The total number of <see cref="TypeName"/> instances that are used to describe
System.Private.DataContractSerialization (25)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (3)
176catch (Exception exception) when (exception is ArgumentException or FormatException or OverflowException) 281catch (OverflowException exception) 314catch (OverflowException exception)
System\Runtime\Serialization\Json\XmlJsonReader.cs (4)
691catch (Exception exception) when (exception is ArgumentException or FormatException or OverflowException) 709catch (Exception exception) when (exception is ArgumentException or FormatException or OverflowException) 936catch (OverflowException exception) 948catch (Exception exception) when (exception is ArgumentException or FormatException or OverflowException)
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
775catch (OverflowException exception) 796catch (OverflowException exception)
System\Xml\XmlBufferReader.cs (2)
437catch (OverflowException exception) 459catch (OverflowException exception)
System\Xml\XmlConverter.cs (8)
80catch (OverflowException exception) 108catch (OverflowException exception) 136catch (OverflowException exception) 164catch (OverflowException exception) 192catch (OverflowException exception) 274catch (OverflowException exception) 299catch (OverflowException exception) 324catch (OverflowException exception)
System\Xml\XmlDictionaryReader.cs (6)
906catch (OverflowException exception) 1690catch (OverflowException exception) 1710catch (OverflowException exception) 1730catch (OverflowException exception) 1750catch (OverflowException exception) 1770catch (OverflowException exception)
System.Private.Xml (53)
System\Xml\BinaryXml\XmlBinaryReader.cs (9)
966catch (OverflowException e) 1226catch (OverflowException e) 1321catch (OverflowException e) 1416catch (OverflowException e) 1511catch (OverflowException e) 1606catch (OverflowException e) 1701catch (OverflowException e) 1741catch (OverflowException e) 1788catch (OverflowException e)
System\Xml\Core\XmlTextReaderImpl.cs (1)
7272catch (OverflowException e)
System\Xml\Core\XsdValidatingReader.cs (18)
484catch (OverflowException e) 518catch (OverflowException e) 552catch (OverflowException e) 586catch (OverflowException e) 620catch (OverflowException e) 654catch (OverflowException e) 689catch (OverflowException e) 724catch (OverflowException e) 766catch (OverflowException e) 812catch (OverflowException e) 847catch (OverflowException e) 882catch (OverflowException e) 917catch (OverflowException e) 952catch (OverflowException e) 987catch (OverflowException e) 1022catch (OverflowException e) 1057catch (OverflowException e) 1100catch (OverflowException e)
System\Xml\Core\XsdValidatingReaderAsync.cs (4)
69catch (OverflowException e) 116catch (OverflowException e) 168catch (OverflowException e) 216catch (OverflowException e)
System\Xml\Schema\DataTypeImplementation.cs (3)
609catch (OverflowException e) 1077catch (OverflowException e) 1332catch (OverflowException e)
System\Xml\Schema\Inference\Infer.cs (13)
1470catch (OverflowException) 1484catch (OverflowException) 1501catch (OverflowException) 1515catch (OverflowException) 1532catch (OverflowException) 1546catch (OverflowException) 1563catch (OverflowException) 1577catch (OverflowException) 1611catch (OverflowException) 1620catch (OverflowException) 1637catch (OverflowException) { } 1653catch (OverflowException) 1667catch (OverflowException)
System\Xml\Schema\XsdDuration.cs (1)
323catch (OverflowException)
System\Xml\XmlConvert.cs (1)
1079catch (OverflowException)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (2)
5417catch (OverflowException) { } 5564catch (OverflowException)
System\Xml\Xsl\XsltOld\NumberAction.cs (1)
506catch (System.OverflowException) { }
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeName.cs (1)
441/// <exception cref="OverflowException">The total number of <see cref="TypeName"/> instances that are used to describe
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
422[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.OverflowException))]
System.Runtime.Numerics (3)
System\Numerics\BigInteger.cs (3)
1433/// <exception cref="OverflowException"> 1478/// <exception cref="OverflowException">If <paramref name="isUnsigned"/> is <c>true</c> and <see cref="Sign"/> is negative.</exception> 1531/// <exception cref="OverflowException">If <paramref name="isUnsigned"/> is <c>true</c> and <see cref="Sign"/> is negative.</exception>
System.Security.AccessControl (1)
System\Security\AccessControl\ACL.cs (1)
2051catch (OverflowException)
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Certificate2Collection.cs (1)
546/// <exception cref="OverflowException">
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CborReaderExtensions.cs (1)
16catch (OverflowException ex)
System\Security\Cryptography\Cose\CoseHeaderValue.cs (1)
135catch (Exception ex) when (ex is CborContentException or InvalidOperationException or OverflowException)
System.ServiceModel.Primitives (1)
Internals\System\Runtime\Fx.cs (1)
349catch (OverflowException)
System.Transactions.Local (1)
System\Transactions\Oletx\DtcTransactionManager.cs (1)
119catch (OverflowException caughtEx)
System.Windows.Forms (4)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
2240catch (OverflowException)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (2)
404catch (OverflowException) 693catch (OverflowException)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
617catch (OverflowException)
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\WinFormsSpinner.cs (2)
73catch (OverflowException) 80catch (OverflowException)