// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; namespace Microsoft.AspNetCore.Diagnostics { /// /// Specifies the contract for an exception representing compilation failure. /// /// /// This interface is implemented on exceptions thrown during compilation to enable consumers /// to read compilation-related data out of the exception /// public interface ICompilationException { /// /// Gets a sequence of with compilation failures. /// IEnumerable CompilationFailures { get; } } }