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