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