X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mcs%2Fclass%2FSystem%2FSystem.Threading%2FSemaphoreFullException.cs;h=6995b35d98c5c63c4be48bf5136a1a40a54de91c;hb=1171cacd8dbc0f4b160a12fa5a293f5506b7e12b;hp=03965aa65bb501f324679a5c89dd3036bc6baf4b;hpb=00e065484e866f3a0349c882f804c4a79a13ee5c;p=mono.git diff --git a/mcs/class/System/System.Threading/SemaphoreFullException.cs b/mcs/class/System/System.Threading/SemaphoreFullException.cs index 03965aa65bb..6995b35d98c 100644 --- a/mcs/class/System/System.Threading/SemaphoreFullException.cs +++ b/mcs/class/System/System.Threading/SemaphoreFullException.cs @@ -26,13 +26,17 @@ // 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