// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System.Globalization;
using System.Runtime.InteropServices;
[ComVisible (false)]
public abstract class IdentityReference {
+ // yep, this means it cannot be inherited outside corlib
+ // not sure if this is "by design" reported as FDBK30180
+ internal IdentityReference ()
+ {
+ }
+
+
public abstract string Value {
get;
}
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