2 instantiations of FileKey
Microsoft.CodeAnalysis (1)
FileKey.cs (1)
40return new FileKey(fullPath, FileUtilities.GetFileTimeStamp(fullPath));
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (1)
317key = new FileKey(fullPath, FileUtilities.GetFileTimeStamp(newCopy.Public.PrimaryModule.FullPath));
20 references to FileKey
Microsoft.CodeAnalysis (5)
FileKey.cs (5)
11internal readonly struct FileKey : IEquatable<FileKey> 38public static FileKey Create(string fullPath) 52return obj is FileKey && Equals((FileKey)obj); 60public bool Equals(FileKey other)
Microsoft.CodeAnalysis.Scripting (10)
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (10)
52private readonly Dictionary<FileKey, CacheEntry<MetadataShadowCopy>> _shadowCopies = new Dictionary<FileKey, CacheEntry<MetadataShadowCopy>>(); 56private readonly Dictionary<FileKey, CacheEntry<Metadata>> _noShadowCopyCache = new Dictionary<FileKey, CacheEntry<Metadata>>(); 237FileKey key = FileKey.Create(fullPath); 259key = FileKey.Create(fullPath); 300FileKey key = FileKey.Create(fullPath); 343private bool CopyExistsOrIsSuppressed(FileKey key, out CacheEntry<MetadataShadowCopy> existing)
VBCSCompiler (5)
src\Compilers\Server\VBCSCompiler\MetadataCache.cs (5)
20private readonly ConcurrentLruCache<FileKey, Metadata> _metadataCache = 21new ConcurrentLruCache<FileKey, Metadata>(CacheSize); 59FileKey? fileKey = GetUniqueFileKey(fullPath); 96private FileKey? GetUniqueFileKey(string filePath) 100return FileKey.Create(filePath);