From 5bff7415441d2e3943229a759ef963d45e165ceb Mon Sep 17 00:00:00 2001
From: SignpostMarv
Date: Sun, 4 Nov 2012 11:13:03 +0000
Subject: marking IRegionModule interface as obsolete via
System.ObsoleteAttribute, intentionally triggering a bunch of warnings in
compiler output in hopes of encouraging other developers to refactor built-in
modules when they have free time.
---
OpenSim/Region/Framework/Interfaces/IRegionModule.cs | 2 ++
1 file changed, 2 insertions(+)
(limited to 'OpenSim/Region/Framework')
diff --git a/OpenSim/Region/Framework/Interfaces/IRegionModule.cs b/OpenSim/Region/Framework/Interfaces/IRegionModule.cs
index 2bb0c75..aacc26b 100644
--- a/OpenSim/Region/Framework/Interfaces/IRegionModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IRegionModule.cs
@@ -24,6 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+using System;
using Nini.Config;
using OpenSim.Region.Framework.Scenes;
@@ -33,6 +34,7 @@ namespace OpenSim.Region.Framework.Interfaces
///
/// DEPRECATED! Use INonSharedRegionModule or ISharedRegionModule instead
///
+ [Obsolete("Use INonSharedRegionModule or ISharedRegionModule instead", false)]
public interface IRegionModule
{
///
--
cgit v1.1