public IList <IDeclaration> GetDeclarationsIn(IPsiSourceFile sourceFile) { if (this.filesScope.Contains(sourceFile) && this.GetSourceFile() != sourceFile) { return(EmptyList <IDeclaration> .InstanceList); } return(UriIdentifierDeclaredElement.GetDeclarationsIn(sourceFile, this)); }
public IList <IDeclaration> GetDeclarations() { if (this.ScopeToMainFile) { return(UriIdentifierDeclaredElement.GetDeclarationsIn(this.GetSourceFile(), this)); } return(UriIdentifierDeclaredElement.GetDeclarations(this)); }
public IList <IDeclaration> GetDeclarationsIn(IPsiSourceFile sourceFile) { return(UriIdentifierDeclaredElement.GetDeclarationsIn(sourceFile, this)); }