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)
58private static readonly ObjectPool<BinderFactoryVisitor> s_binderFactoryVisitorPool 59= new ObjectPool<BinderFactoryVisitor>(static () => new BinderFactoryVisitor(), 64); 61private readonly ObjectPool<BinderFactoryVisitor> _binderFactoryVisitorPool; 63internal BinderFactory(CSharpCompilation compilation, SyntaxTree syntaxTree, bool ignoreAccessibility, ObjectPool<BinderFactoryVisitor> binderFactoryVisitorPoolOpt = null) 102/// If provided, the <see cref="BinderFactoryVisitor"/> will use the member symbol rather 134BinderFactoryVisitor visitor = GetBinderFactoryVisitor(position, memberDeclarationOpt, memberOpt); 141private BinderFactoryVisitor GetBinderFactoryVisitor(int position, CSharpSyntaxNode memberDeclarationOpt, Symbol memberOpt) 143BinderFactoryVisitor visitor = _binderFactoryVisitorPool.Allocate(); 149private void ClearBinderFactoryVisitor(BinderFactoryVisitor visitor) 161var key = BinderFactoryVisitor.CreateBinderCacheKey(typeDecl, extraInfo); 177BinderFactoryVisitor visitor = GetBinderFactoryVisitor(position: typeDecl.SpanStart, memberDeclarationOpt: null, memberOpt: null); 191BinderFactoryVisitor visitor = GetBinderFactoryVisitor(0, null, null); 200BinderFactoryVisitor visitor = GetBinderFactoryVisitor(0, null, null);