*** empty log message ***
[m17n/m17n-lib-cs.git] / XmlExpr.cs
index 6eb42d0..ba46189 100644 (file)
@@ -6,7 +6,7 @@ using System.Xml;
 
 namespace System.Xml.Expression
 {
-  public class XmlName : IEquatable<XmlName>
+public class XmlName : IEquatable<XmlName>
   {
     private static NameTable nt = new NameTable ();
 
@@ -22,14 +22,14 @@ namespace System.Xml.Expression
       return new XmlName (str);
     }
 
-    public static bool operator== (object obj, XmlName nam)
+    public static bool operator== (XmlName n1, XmlName n2)
       {
-       return obj == nam.name;
+       return n1.name == n2.name;
       }
 
-    public static bool operator!= (object obj, XmlName nam)
+    public static bool operator!= (XmlName n1, XmlName n2)
       {
-       return obj != nam.name;
+       return n1.name != n2.name;
       }
 
     public bool Equals (XmlName other) { return name == other.name; }