File: src\libraries\System.Runtime.InteropServices\gen\Common\UnreachableException.cs
Web Access
Project: src\src\libraries\System.Runtime.InteropServices\gen\LibraryImportGenerator\LibraryImportGenerator.csproj (Microsoft.Interop.LibraryImportGenerator)
// 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) { }
    }
}