From 313f7f60fda81c987e0ac4da4dc8c2f5def46b72 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Mon, 30 Jun 2008 11:57:47 +0000 Subject: properly explaining each #pragma warning disable massaging OSHttpRequestPump to not abort on exceptions... --- OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/World/NPC') diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs index 5d94407..a8ad56f 100644 --- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs @@ -139,8 +139,9 @@ namespace OpenSim.Region.Environment.Modules.World.NPC #endregion #region Event Definitions IGNORE -#pragma warning disable 67 +// disable warning: public events constituting public API +#pragma warning disable 67 public event Action OnLogout; public event ObjectPermissions OnObjectPermissions; @@ -294,8 +295,8 @@ namespace OpenSim.Region.Environment.Modules.World.NPC public event GetScriptRunning OnGetScriptRunning; public event SetScriptRunning OnSetScriptRunning; public event UpdateVector OnAutoPilotGo; - #pragma warning restore 67 + #endregion #region Overrriden Methods IGNORE -- cgit v1.1