1 instantiation of BinderCacheKey
Microsoft.CodeAnalysis.CSharp (1)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1053return new BinderCacheKey(node, usage);
22 references to BinderCacheKey
Microsoft.CodeAnalysis.CSharp (22)
Binder\BinderFactory.BinderFactoryVisitor.cs (16)
69private ConcurrentCache<BinderCacheKey, Binder> binderCache 114var key = CreateBinderCacheKey(compilationUnit, NodeUsage.MethodBody); 158var key = CreateBinderCacheKey(methodDecl, usage); 206var key = CreateBinderCacheKey(parent, extraInfo); 243var key = CreateBinderCacheKey(parent, usage: NodeUsage.Normal); 272var key = CreateBinderCacheKey(parent, extraInfo); 340var key = CreateBinderCacheKey(parent, extraInfo); 410var key = CreateBinderCacheKey(parent, NodeUsage.AccessorBody); 669var key = CreateBinderCacheKey(parent, usage: NodeUsage.Normal); 704var key = CreateBinderCacheKey(parent, usage: NodeUsage.Normal); 760var key = CreateBinderCacheKey(parent, extraInfo); 858var key = CreateBinderCacheKey(parent, extraInfo); 949var key = CreateBinderCacheKey(compilationUnit, extraInfo); 1050internal static BinderCacheKey CreateBinderCacheKey(CSharpSyntaxNode node, NodeUsage usage) 1146var key = CreateBinderCacheKey(parent, extraInfo); 1195var key = CreateBinderCacheKey(GetEnclosingDocumentationComment(parent), extraInfo);
Binder\BinderFactory.cs (6)
20internal readonly struct BinderCacheKey : IEquatable<BinderCacheKey> 31bool IEquatable<BinderCacheKey>.Equals(BinderCacheKey other) 49private readonly ConcurrentCache<BinderCacheKey, Binder> _binderCache; 77_binderCache = new ConcurrentCache<BinderCacheKey, Binder>(50); 161var key = BinderFactoryVisitor.CreateBinderCacheKey(typeDecl, extraInfo);