File: src\libraries\System.Runtime.InteropServices\gen\Common\UnreachableException.cs
Web Access
Project: src\src\libraries\System.Runtime.InteropServices\gen\ComInterfaceGenerator\ComInterfaceGenerator.csproj (Microsoft.Interop.ComInterfaceGenerator)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
using System.Collections.Generic;
using System.Text;
 
namespace Microsoft.Interop
{
    /// <summary>
    /// An exception that should be thrown on code-paths that are unreachable.
    /// </summary>
    internal sealed class UnreachableException : Exception
    {
        public UnreachableException() { }
 
        public UnreachableException(string message) : base(message) { }
    }
}