| File: System\ComponentModel\Composition\CompositionErrorDebuggerProxy.cs | Web Access |
| Project: src\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj (System.ComponentModel.Composition) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.Composition.Primitives; using Microsoft.Internal; namespace System.ComponentModel.Composition { internal sealed class CompositionErrorDebuggerProxy { private readonly CompositionError _error; public CompositionErrorDebuggerProxy(CompositionError error) { Requires.NotNull(error, nameof(error)); _error = error; } public string Description { get { return _error.Description; } } public Exception? Exception { get { return _error.Exception; } } public ICompositionElement? Element { get { return _error.Element; } } } }