mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
can improve a tiny bit, thanks Plugh
This commit is contained in:
@@ -928,18 +928,14 @@ namespace OpenSim.Region.ScriptEngine.Shared
|
||||
{
|
||||
if (b is null)
|
||||
return (a is null);
|
||||
if (a is null)
|
||||
return (b is null);
|
||||
return a.Length == b.Length;
|
||||
return (a is null) ? false : a.Length == b.Length;
|
||||
}
|
||||
|
||||
public static bool operator !=(list a, list b)
|
||||
{
|
||||
if (b is null)
|
||||
return !(a is null);
|
||||
if (a is null)
|
||||
return !(b is null);
|
||||
return a.Length != b.Length;
|
||||
return (a is null) ? true : a.Length != b.Length;
|
||||
}
|
||||
|
||||
public void Add(object o)
|
||||
|
||||
Reference in New Issue
Block a user