File: ResourceHandling\PreserializedResourceWriterRequiredException.cs
Web Access
Project: ..\..\..\src\Tasks\Microsoft.Build.Tasks.csproj (Microsoft.Build.Tasks.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
using System.Runtime.Serialization;
 
#nullable disable
 
namespace Microsoft.Build.Tasks.ResourceHandling
{
    [Serializable]
    internal sealed class PreserializedResourceWriterRequiredException : Exception
    {
        public PreserializedResourceWriterRequiredException() { }
 
#if NET8_0_OR_GREATER
        [Obsolete(DiagnosticId = "SYSLIB0051")]
#endif
        private PreserializedResourceWriterRequiredException(SerializationInfo info, StreamingContext context)
            : base(info, context) { }
    }
}