27 references to FormatException
dotnet (1)
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (1)
542throw new FormatException();
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\TryParseModelBinder.cs (1)
136Expression.Call(AddModelErrorMethod, BindingContextExpression, Expression.Constant(new FormatException()))),
Microsoft.Build.Framework (1)
BinaryReaderExtensions.cs (1)
39throw new FormatException();
Microsoft.Build.Tasks.Core (1)
ManifestUtil\ApplicationManifest.cs (1)
310throw new FormatException();
Microsoft.Extensions.Identity.Core (1)
Base32.cs (1)
93throw new FormatException();
Microsoft.Maui.Controls (1)
GridLengthTypeConverter.cs (1)
35 throw new FormatException();
Microsoft.ML.Core (2)
Utilities\Contracts.cs (2)
370=> Process(new FormatException()); 372=> Process(new FormatException(), ctx);
Microsoft.ML.CpuMath (2)
src\Microsoft.ML.Core\Utilities\Contracts.cs (2)
370=> Process(new FormatException()); 372=> Process(new FormatException(), ctx);
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\Utils.LateBinder.vb (2)
290Throw New FormatException 328Throw New FormatException
System.Net.Primitives (1)
System\Net\CookieException.cs (1)
13public CookieException() : base()
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
787return new System.FormatException();
System.Private.Uri (1)
System\UriFormatException.cs (1)
16public UriFormatException() : base()
System.Security.Cryptography (1)
System\Security\Cryptography\Base64Transforms.cs (1)
395public static void ThrowBase64FormatException() => throw new FormatException();
System.Speech (8)
AudioFormat\AudioFormatConverter.cs (1)
183throw new FormatException();
Internal\SapiInterop\SpAudioStreamWrapper.cs (2)
91throw new FormatException(); 100throw new FormatException();
Internal\Synthesis\AudioFormatConverter.cs (3)
57throw new FormatException(); 62throw new FormatException(); 92throw new FormatException();
Internal\Synthesis\PcmConverter.cs (2)
30throw new FormatException(); 37throw new FormatException();
System.Text.Json (1)
System\Text\Json\ThrowHelper.cs (1)
654throw new FormatException { Source = ExceptionSourceValueToRethrowAsJsonException };
UIAutomationTypes (2)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (2)
2112throw new FormatException(/*SR.GetString(SR.CannotConvertIntToFloat)*/); 2119throw new FormatException(/*SR.GetString(SR.CannotConvertDoubleToDate)*/);