aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_Types.cs25
1 files changed, 17 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
index b008acb..0ae7a0a 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
@@ -599,14 +599,23 @@ namespace OpenSim.Region.ScriptEngine.Common
599 return new LSLString(s); 599 return new LSLString(s);
600 } 600 }
601 601
602 public static bool operator ==(LSLString s1, LSLString s2) 602 // Commented out:
603 { 603 /*
604 return s1.m_string == s2.m_string; 604 [echo] Build Directory is /home/tedd/opensim/trunk/OpenSim/Region/ScriptEngine/Common/bin/Debug
605 } 605 [csc] Compiling 5 files to '/home/tedd/opensim/trunk/OpenSim/Region/ScriptEngine/Common/bin/Debug/OpenSim.Region.ScriptEngine.Common.dll'.
606 public static bool operator !=(LSLString s1, LSLString s2) 606 [csc] error CS0121: The call is ambiguous between the following methods or properties: `OpenSim.Region.ScriptEngine.Common.LSL_Types.LSLString.operator /(OpenSim.Region.ScriptEngine.Common.LSL_Types.LSLString, OpenSim.Region.ScriptEngine.Common.LSL_Types.LSLString)' and `string.operator /(string, string)'
607 { 607 [csc] /home/tedd/opensim/trunk/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs(602,32): (Location of the symbol related to previous error)
608 return s1.m_string != s2.m_string; 608 [csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to previous error)
609 } 609 [csc] Compilation failed: 1 error(s), 0 warnings
610 */
611 //public static bool operator ==(LSLString s1, LSLString s2)
612 //{
613 // return s1.m_string == s2.m_string;
614 //}
615 //public static bool operator !=(LSLString s1, LSLString s2)
616 //{
617 // return s1.m_string != s2.m_string;
618 //}
610 #endregion 619 #endregion
611 620
612 #region Overriders 621 #region Overriders