1 instantiation of PreCompCacheKey
Microsoft.CodeAnalysis (1)
SourceGeneration\CompilationCache.cs (1)
108
_preCompKeys.Add(new
PreCompCacheKey
(generatorIndex, tree.HintName, tree.Text, tree.Tree.Options));
8 references to PreCompCacheKey
Microsoft.CodeAnalysis (8)
SourceGeneration\CompilationCache.cs (8)
41
private readonly ImmutableArray<
PreCompCacheKey
> _preCompKeys;
49
ImmutableArray<
PreCompCacheKey
> preCompKeys)
85
private readonly ArrayBuilder<
PreCompCacheKey
> _preCompKeys = ArrayBuilder<
PreCompCacheKey
>.GetInstance();
131
return new CompilationCache(_compilationWithPostInit, _inputCompilation, ImmutableArray<SyntaxTree>.Empty, ImmutableArray<
PreCompCacheKey
>.Empty);
182
internal readonly struct PreCompCacheKey : IEquatable<
PreCompCacheKey
>
197
public bool Equals(
PreCompCacheKey
other) =>
203
public override bool Equals(object? obj) => obj is
PreCompCacheKey
k && Equals(k);