예제 #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));
        }
예제 #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);
        }