// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#nullable disable

using System.Collections.Immutable;
using System.Reflection;
using Microsoft.CodeAnalysis;

namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests;

public class CompiledAssembly
{
    public CompiledAssembly(Compilation compilation, RazorCodeDocument codeDocument, Assembly assembly)
    {
        Compilation = compilation;
        CodeDocument = codeDocument;
        Assembly = assembly;
    }

    public Assembly Assembly { get; }

    public RazorCodeDocument CodeDocument { get; }

    public Compilation Compilation { get; }

    public ImmutableArray<Diagnostic> EmitDiagnostics { get; init; }
}
