Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (ReferenceEquals(this, obj))
            {
                return(true);
            }

            MissingModuleSymbolWithName other = obj as MissingModuleSymbolWithName;

            return((object)other != null && assembly.Equals(other.assembly) && string.Equals(name, other.name, StringComparison.OrdinalIgnoreCase));
        }
Exemplo n.º 2
0
        public override bool Equals(Symbol obj, TypeCompareKind compareKind)
        {
            if (ReferenceEquals(this, obj))
            {
                return true;
            }

            MissingModuleSymbolWithName other = obj as MissingModuleSymbolWithName;

            return (object)other != null && assembly.Equals(other.assembly, compareKind) && string.Equals(_name, other._name, StringComparison.OrdinalIgnoreCase);
        }