/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/Test/Core/CompilationVerifier.EmitException.cs
24 строки
798 B
Jared Parsons
PR feedback
16 апр 2025, 23:14
16 апр 2025, 23:14
0b626fe
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using Roslyn.Test.Utilities; namespace Microsoft.CodeAnalysis.Test.Utilities { public sealed partial class CompilationVerifier { public sealed class EmitException : Exception { public ImmutableArray<Diagnostic> Diagnostics { get; } public EmitException(ImmutableArray<Diagnostic> diagnostics, string? directory) : base(ExceptionHelper.GetMessageFromResult(diagnostics, directory)) { this.Diagnostics = diagnostics; } } } }