text: public virtual void Add(DirCacheEntry newEntry){if (newEntry.RawMode == 0){throw new ArgumentException(MessageFormat.Format(JGitText.Get().fileModeNotSetForPath, newEntry.PathString));}BeforeAdd(newEntry);FastAdd(newEntry);}