41 references to UnreachableException
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationExtensions.cs (1)
232var projectDirectory = Path.GetDirectoryName(project.GetProjectMetadata().ProjectPath) ?? throw new UnreachableException();
Aspire.RabbitMQ.Client (1)
src\Components\Aspire.RabbitMQ.Client\RabbitMQEventSourceLogForwarder.cs (1)
119_ => throw new UnreachableException()
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionMethodExecutor.cs (1)
53throw new UnreachableException();
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (1)
22private static readonly Exception _successfullyCompletedSentinel = new UnreachableException();
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Resolver\DnsResolver.cs (1)
485throw new UnreachableException();
System.DirectoryServices.Protocols (1)
src\libraries\Common\src\Interop\Interop.Ldap.cs (1)
198public static int* ConvertToUnmanaged(BerVal _) => throw new UnreachableException();
System.IO.Hashing (1)
System\ThrowHelper.cs (1)
12internal static void ThrowUnreachableException() => throw new UnreachableException();
System.Linq.Expressions (1)
System\Dynamic\Utils\ContractUtils.cs (1)
23return new UnreachableException();
System.Net.Security (1)
src\libraries\Common\src\System\Text\UrlBase64Encoding.cs (1)
23throw new UnreachableException();
System.Private.CoreLib (24)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64Helper.cs (1)
165throw new UnreachableException();
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeHelpers.cs (2)
186internal static unsafe void SetNextCallGenericContext(void* value) => throw new UnreachableException(); // Unconditionally expanded intrinsic 189internal static void SetNextCallAsyncContinuation(object value) => throw new UnreachableException(); // Unconditionally expanded intrinsic
src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValues.T.cs (7)
26internal virtual T[] GetValues() => throw new UnreachableException(); 35internal virtual bool ContainsCore(T value) => throw new UnreachableException(); 37internal virtual int IndexOfAny(ReadOnlySpan<T> span) => throw new UnreachableException(); 38internal virtual int IndexOfAnyExcept(ReadOnlySpan<T> span) => throw new UnreachableException(); 39internal virtual int LastIndexOfAny(ReadOnlySpan<T> span) => throw new UnreachableException(); 40internal virtual int LastIndexOfAnyExcept(ReadOnlySpan<T> span) => throw new UnreachableException(); 46internal virtual int IndexOfAnyMultiString(ReadOnlySpan<char> span) => throw new UnreachableException();
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (4)
447public static char TransformInput(char input) => throw new UnreachableException(); 448public static Vector128<byte> TransformInput(Vector128<byte> input) => throw new UnreachableException(); 449public static Vector256<byte> TransformInput(Vector256<byte> input) => throw new UnreachableException(); 450public static Vector512<byte> TransformInput(Vector512<byte> input) => throw new UnreachableException();
src\libraries\System.Private.CoreLib\src\System\Threading\NamedMutex.Unix.cs (1)
659_ => throw new UnreachableException()
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadBlockingInfo.cs (1)
95throw new UnreachableException();
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
59throw new UnreachableException();
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (3)
190private static void AsyncSuspend(Continuation continuation) => throw new UnreachableException(); 198private static Continuation? AsyncCallContinuation() => throw new UnreachableException(); 202private static void TailAwait() => throw new UnreachableException();
src\System\RuntimeType.CoreCLR.cs (1)
2017throw new UnreachableException();
src\System\RuntimeType.GenericCache.cs (1)
27void IGenericCacheEntry.InitializeCompositeCache(CompositeCacheEntry compositeEntry) => throw new UnreachableException();
src\System\StubHelpers.cs (2)
1650internal static IntPtr GetStubContext() => throw new UnreachableException(); // Unconditionally expanded intrinsic 1662internal static IntPtr NextCallReturnAddress() => throw new UnreachableException(); // Unconditionally expanded intrinsic
System.Private.Uri (1)
System\Uri.cs (1)
709_ => throw new UnreachableException()
System.Runtime.Numerics (1)
System\ThrowHelper.cs (1)
39throw new UnreachableException();
System.Security.Cryptography (5)
src\libraries\Common\src\System\Text\UrlBase64Encoding.cs (1)
23throw new UnreachableException();
System\Security\Cryptography\LiteHash.OpenSsl.cs (1)
25throw new UnreachableException();
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (1)
59throw new UnreachableException();
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Load.cs (1)
277throw new UnreachableException();
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
145throw new UnreachableException();
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexCompiler.cs (1)
6450throw new UnreachableException());