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)
41private readonly ImmutableArray<PreCompCacheKey> _preCompKeys; 49ImmutableArray<PreCompCacheKey> preCompKeys) 85private readonly ArrayBuilder<PreCompCacheKey> _preCompKeys = ArrayBuilder<PreCompCacheKey>.GetInstance(); 131return new CompilationCache(_compilationWithPostInit, _inputCompilation, ImmutableArray<SyntaxTree>.Empty, ImmutableArray<PreCompCacheKey>.Empty); 182internal readonly struct PreCompCacheKey : IEquatable<PreCompCacheKey> 197public bool Equals(PreCompCacheKey other) => 203public override bool Equals(object? obj) => obj is PreCompCacheKey k && Equals(k);