bool BundlesContainRawFileReference(string path) { using (bundles.GetReadLock()) { return(RawFileReferenceFinder.RawFileReferenceExists(path, bundles)); } }
bool RawFileReferenceExists(string path) { readOnlyBundlesLock.EnterReadLock(); try { return(RawFileReferenceFinder.RawFileReferenceExists(path, readOnlyBundles)); } finally { readOnlyBundlesLock.ExitReadLock(); } }