4 instantiations of SynthesizedDelegateKey
Microsoft.CodeAnalysis.CSharp (4)
13 references to SynthesizedDelegateKey
Microsoft.CodeAnalysis.CSharp (13)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (13)
38private ConcurrentDictionary<SynthesizedDelegateKey, AnonymousDelegateTemplateSymbol> _lazyAnonymousDelegates;
40private readonly struct SynthesizedDelegateKey : IEquatable<SynthesizedDelegateKey>
62return obj is SynthesizedDelegateKey && Equals((SynthesizedDelegateKey)obj);
65public bool Equals(SynthesizedDelegateKey other)
137private ConcurrentDictionary<SynthesizedDelegateKey, AnonymousDelegateTemplateSymbol> AnonymousDelegates
150? new ConcurrentDictionary<SynthesizedDelegateKey, AnonymousDelegateTemplateSymbol>()
151: new ConcurrentDictionary<SynthesizedDelegateKey, AnonymousDelegateTemplateSymbol>(previousCache),
165var key = new SynthesizedDelegateKey(parameterCount, refKinds, returnsVoid, generation);
249var key = new SynthesizedDelegateKey(genericTypeDescr);
278var key = getTemplateKey(typeDescr, typeParameters);
339static SynthesizedDelegateKey getTemplateKey(AnonymousTypeDescriptor typeDescr, ImmutableArray<TypeParameterSymbol> typeParameters)
577var delegateKey = new SynthesizedDelegateKey(parameterCount, refKinds, returnsVoid, generation);