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