public override bool FileExists(string name) { lock (this) { return(cache.FileExists(name) || @delegate.FileExists(name)); } }
public override bool FileExists(string name) { UninterruptableMonitor.Enter(this); try { return(cache.FileExists(name) || @delegate.FileExists(name)); } finally { UninterruptableMonitor.Exit(this); } }