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); }
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)); }