1 instantiation of BinderFactoryVisitor
Microsoft.CodeAnalysis.CSharp (1)
Binder\BinderFactory.cs (1)
59
= new ObjectPool<BinderFactoryVisitor>(static () => new
BinderFactoryVisitor
(), 64);
13 references to BinderFactoryVisitor
Microsoft.CodeAnalysis.CSharp (13)
Binder\BinderFactory.cs (13)
58
private static readonly ObjectPool<
BinderFactoryVisitor
> s_binderFactoryVisitorPool
59
= new ObjectPool<
BinderFactoryVisitor
>(static () => new BinderFactoryVisitor(), 64);
61
private readonly ObjectPool<
BinderFactoryVisitor
> _binderFactoryVisitorPool;
63
internal BinderFactory(CSharpCompilation compilation, SyntaxTree syntaxTree, bool ignoreAccessibility, ObjectPool<
BinderFactoryVisitor
> binderFactoryVisitorPoolOpt = null)
102
/// If provided, the <see cref="
BinderFactoryVisitor
"/> will use the member symbol rather
134
BinderFactoryVisitor
visitor = GetBinderFactoryVisitor(position, memberDeclarationOpt, memberOpt);
141
private
BinderFactoryVisitor
GetBinderFactoryVisitor(int position, CSharpSyntaxNode memberDeclarationOpt, Symbol memberOpt)
143
BinderFactoryVisitor
visitor = _binderFactoryVisitorPool.Allocate();
149
private void ClearBinderFactoryVisitor(
BinderFactoryVisitor
visitor)
161
var key =
BinderFactoryVisitor
.CreateBinderCacheKey(typeDecl, extraInfo);
177
BinderFactoryVisitor
visitor = GetBinderFactoryVisitor(position: typeDecl.SpanStart, memberDeclarationOpt: null, memberOpt: null);
191
BinderFactoryVisitor
visitor = GetBinderFactoryVisitor(0, null, null);
200
BinderFactoryVisitor
visitor = GetBinderFactoryVisitor(0, null, null);