public Map<String, Ref> getAllRefs() {try {return getRefDatabase().getRefs(RefDatabase.ALL);} catch (IOException e) {throw new UncheckedIOException(e);}}

public virtual IDictionary<string, Ref> GetAllRefs(){try{return RefDatabase.GetRefs(NGit.RefDatabase.ALL);}catch (IOException){return new Dictionary<string, Ref>();}}
