4 instantiations of SynthesizedDelegateKey
Microsoft.CodeAnalysis.CSharp (4)
13 references to SynthesizedDelegateKey
Microsoft.CodeAnalysis.CSharp (13)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (13)
37private ConcurrentDictionary<SynthesizedDelegateKey, AnonymousDelegateTemplateSymbol> _lazyAnonymousDelegates;
39private readonly struct SynthesizedDelegateKey : IEquatable<SynthesizedDelegateKey>
61return obj is SynthesizedDelegateKey && Equals((SynthesizedDelegateKey)obj);
64public bool Equals(SynthesizedDelegateKey other)
136private ConcurrentDictionary<SynthesizedDelegateKey, AnonymousDelegateTemplateSymbol> AnonymousDelegates
149? new ConcurrentDictionary<SynthesizedDelegateKey, AnonymousDelegateTemplateSymbol>()
150: new ConcurrentDictionary<SynthesizedDelegateKey, AnonymousDelegateTemplateSymbol>(previousCache),
164var key = new SynthesizedDelegateKey(parameterCount, refKinds, returnsVoid, generation);
244var key = new SynthesizedDelegateKey(genericTypeDescr);
273var key = getTemplateKey(typeDescr, typeParameters);
333static SynthesizedDelegateKey getTemplateKey(AnonymousTypeDescriptor typeDescr, ImmutableArray<TypeParameterSymbol> typeParameters)
571var delegateKey = new SynthesizedDelegateKey(parameterCount, refKinds, returnsVoid, generation);