コード例 #1
0
        public MissingModuleSymbol(AssemblySymbol assembly, int ordinal)
        {
            Debug.Assert((object)assembly != null);
            Debug.Assert(ordinal >= -1);

            this.assembly   = assembly;
            this.ordinal    = ordinal;
            globalNamespace = new MissingNamespaceSymbol(this);
        }
コード例 #2
0
        public override bool Equals(object obj)
        {
            if (ReferenceEquals(this, obj))
            {
                return(true);
            }

            MissingNamespaceSymbol other = obj as MissingNamespaceSymbol;

            return((object)other != null && _name.Equals(other._name) && _containingSymbol.Equals(other._containingSymbol));
        }