| File: FrameworkException.cs | Web Access |
| Project: src\nuget-client\src\NuGet.Core\NuGet.Frameworks\NuGet.Frameworks.csproj (NuGet.Frameworks) |
// 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; using System.Runtime.Serialization; namespace NuGet.Frameworks { [Serializable] public class FrameworkException : Exception { public FrameworkException(string message) : base(message) { } #if NET8_0_OR_GREATER [Obsolete(DiagnosticId = "SYSLIB0051")] // https://github.com/dotnet/docs/issues/34893 #endif protected FrameworkException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }