[asp.net] Implemented CustomErrorsRedirectMode
[mono.git] / mcs / class / System / System.Threading / SemaphoreFullException.cs
index 03965aa65bb501f324679a5c89dd3036bc6baf4b..6995b35d98c5c63c4be48bf5136a1a40a54de91c 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
+#if (!NET_4_0 && !INSIDE_CORLIB) || (NET_4_0 && INSIDE_CORLIB)
 
 using System.Runtime.InteropServices;
 using System.Runtime.Serialization;
+using System.Runtime.CompilerServices;
 
 namespace System.Threading {
 
+#if NET_4_0 && INSIDE_CORLIB
+       [TypeForwardedFrom (Consts.AssemblySystem_2_0)]
+#endif
        [ComVisible (false)]
        [Serializable]
        public class SemaphoreFullException : SystemException {
@@ -57,6 +61,11 @@ namespace System.Threading {
                {
                }
        }
+
 }
+#elif NET_4_0 && !INSIDE_CORLIB
+using System.Runtime.CompilerServices;
+using System.Threading;
 
+[assembly: TypeForwardedTo (typeof (SemaphoreFullException))]
 #endif