// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System.Globalization;
using System.Runtime.InteropServices;
public static bool operator== (IdentityReference left, IdentityReference right)
{
- if (left == null)
- return (right == null);
- if (right == null)
+ if (((object)left) == null)
+ return (((object)right) == null);
+ if (((object)right) == null)
return false;
return (left.Value == right.Value);
}
public static bool operator!= (IdentityReference left, IdentityReference right)
{
- if (left == null)
- return (right != null);
- if (right == null)
+ if (((object)left) == null)
+ return (((object)right) != null);
+ if (((object)right) == null)
return true;
return (left.Value != right.Value);
}
}
}
-#endif