Fix pragma warning restore (dotnet/coreclr#26389)
[mono-project.git] / netcore / System.Private.CoreLib / shared / System / Threading / SemaphoreFullException.cs
blobf79cdb8927f39dbbbd43044e15240d13f4d1965c
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 using System.Runtime.Serialization;
7 namespace System.Threading
9 [Serializable]
10 [System.Runtime.CompilerServices.TypeForwardedFrom("System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
11 public class SemaphoreFullException : SystemException
13 public SemaphoreFullException() : base(SR.Threading_SemaphoreFullException)
17 public SemaphoreFullException(string? message) : base(message)
21 public SemaphoreFullException(string? message, Exception? innerException) : base(message, innerException)
25 protected SemaphoreFullException(SerializationInfo info, StreamingContext context) : base(info, context)