File: System\Reflection\TypeLoading\Assemblies\RoExceptionAssembly.cs
Web Access
Project: src\src\libraries\System.Reflection.MetadataLoadContext\src\System.Reflection.MetadataLoadContext.csproj (System.Reflection.MetadataLoadContext)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Reflection.TypeLoading
{
    /// <summary>
    /// This "assembly" holds an exception resulting from a failure to bind an assembly name. It can be stored in bind caches and assembly ref
    /// memoization tables.
    /// </summary>
    internal sealed class RoExceptionAssembly : RoStubAssembly
    {
        internal RoExceptionAssembly(Exception exception)
            : base()
        {
            Exception = exception;
        }
 
        internal Exception Exception { get; }
    }
}