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.

integration
SignpostMarv 2012-11-04 11:13:03 +00:00 committed by Diva Canto
parent 61b816ebba
commit 5bff741544
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
using System;
using Nini.Config; using Nini.Config;
using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Scenes;
@ -33,6 +34,7 @@ namespace OpenSim.Region.Framework.Interfaces
/// <summary> /// <summary>
/// DEPRECATED! Use INonSharedRegionModule or ISharedRegionModule instead /// DEPRECATED! Use INonSharedRegionModule or ISharedRegionModule instead
/// </summary> /// </summary>
[Obsolete("Use INonSharedRegionModule or ISharedRegionModule instead", false)]
public interface IRegionModule public interface IRegionModule
{ {
/// <summary> /// <summary>