Excluded ObservableSet and ReadOnlySet implementations from Xbox 360 and Windows Phone 7 builds because these platforms don't support the ISet interface

git-svn-id: file:///srv/devel/repo-conversion/nusu@258 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2012-03-01 14:39:50 +00:00
parent 13579c5162
commit ca373846aa
2 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,8 @@ using System.Collections;
using System.Collections.Specialized; using System.Collections.Specialized;
#endif #endif
#if !(WINDOWS_PHONE || XBOX360)
namespace Nuclex.Support.Collections { namespace Nuclex.Support.Collections {
/// <summary>Set which fires events when items are removed or added to it</summary> /// <summary>Set which fires events when items are removed or added to it</summary>
@ -309,3 +311,5 @@ namespace Nuclex.Support.Collections {
} }
} // namespace Nuclex.Support.Collections } // namespace Nuclex.Support.Collections
#endif // !(WINDOWS_PHONE || XBOX360)

View File

@ -22,6 +22,8 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
#if !(WINDOWS_PHONE || XBOX360)
namespace Nuclex.Support.Collections { namespace Nuclex.Support.Collections {
/// <summary>Wraps a set and prevents it from being modified</summary> /// <summary>Wraps a set and prevents it from being modified</summary>
@ -210,3 +212,5 @@ namespace Nuclex.Support.Collections {
} }
} // namespace Nuclex.Support.Collections } // namespace Nuclex.Support.Collections
#endif // !(WINDOWS_PHONE || XBOX360)