41 references to GetBinderFactory
Microsoft.CodeAnalysis.CSharp (38)
Binder\Binder_Crefs.cs (1)
962
this.Compilation.
GetBinderFactory
(typeSyntax.SyntaxTree).GetBinder(typeSyntax).Flags ==
Binder\Binder_Initializers.cs (3)
104
binderFactory = compilation.
GetBinderFactory
(syntaxRef.SyntaxTree);
126
binderFactory = compilation.
GetBinderFactory
(syntaxRef.SyntaxTree);
202
binderFactory = compilation.
GetBinderFactory
(syntaxTree);
Binder\Binder_Statements.cs (2)
3769
BinderFactory binderFactory = compilation.
GetBinderFactory
(containerNode.SyntaxTree);
3783
BinderFactory binderFactory = compilation.
GetBinderFactory
(sourceConstructor.SyntaxTree);
Compilation\CSharpCompilation.cs (1)
2348
return
GetBinderFactory
(syntax.SyntaxTree).GetBinder(syntax);
Compilation\SyntaxTreeSemanticModel.cs (2)
50
_binderFactory = compilation.
GetBinderFactory
(SyntaxTree, ignoreAccessibility);
57
_binderFactory = _compilation.
GetBinderFactory
(parentSyntaxTree, ignoreAccessibility);
Compiler\DocumentationCommentCompiler.DocumentationCommentWalker.cs (2)
149
BinderFactory factory = _compilation.
GetBinderFactory
(cref.SyntaxTree);
180
BinderFactory factory = _compilation.
GetBinderFactory
(nameAttr.SyntaxTree);
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
516
Binder binder = BinderFactory.MakeCrefBinder(crefSyntax, memberDeclSyntax, _compilation.
GetBinderFactory
(memberDeclSyntax.SyntaxTree));
FlowAnalysis\NullableWalker.cs (1)
1333
compilation.
GetBinderFactory
(node.SyntaxTree).GetBinder(node.Syntax);
Symbols\AliasSymbol.cs (1)
406
.
GetBinderFactory
(syntax.SyntaxTree)
Symbols\ConstantValueUtils.cs (1)
37
var binderFactory = compilation.
GetBinderFactory
((SyntaxTree)symbol.Locations[0].SourceTree);
Symbols\Source\GlobalExpressionVariable.cs (1)
86
var binderFactory = compilation.
GetBinderFactory
(SyntaxTree);
Symbols\Source\SourceAssemblySymbol.cs (4)
1674
QuickAttributeChecker checker = this.DeclaringCompilation.
GetBinderFactory
(node.SyntaxTree).GetBinder(node).QuickAttributeChecker;
1680
QuickAttributeChecker checker = this.DeclaringCompilation.
GetBinderFactory
(node.SyntaxTree).GetBinder(node).QuickAttributeChecker;
1686
QuickAttributeChecker checker = this.DeclaringCompilation.
GetBinderFactory
(node.SyntaxTree).GetBinder(node).QuickAttributeChecker;
1753
this.DeclaringCompilation.
GetBinderFactory
(node.SyntaxTree).GetBinder(node).QuickAttributeChecker;
Symbols\Source\SourceComplexParameterSymbol.cs (1)
297
var binderFactory = compilation.
GetBinderFactory
(syntax.SyntaxTree);
Symbols\Source\SourceConstructorSymbolBase.cs (1)
36
var binderFactory = this.DeclaringCompilation.
GetBinderFactory
(syntax.SyntaxTree);
Symbols\Source\SourceDestructorSymbol.cs (1)
72
var bodyBinder = this.DeclaringCompilation.
GetBinderFactory
(syntaxReferenceOpt.SyntaxTree).GetBinder(syntax, syntax, this);
Symbols\Source\SourceFixedFieldSymbol.cs (1)
85
BinderFactory binderFactory = this.DeclaringCompilation.
GetBinderFactory
(SyntaxTree);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
478
var binderFactory = compilation.
GetBinderFactory
(SyntaxTree);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
638
Binder result = (binderFactoryOpt ?? this.DeclaringCompilation.
GetBinderFactory
(contextNode.SyntaxTree)).GetBinder(contextNode);
Symbols\Source\SourceNamedTypeSymbol.cs (3)
339
var binderFactory = this.DeclaringCompilation.
GetBinderFactory
(syntaxRef.SyntaxTree);
420
var binderFactory = this.DeclaringCompilation.
GetBinderFactory
(syntaxRef.SyntaxTree);
1192
QuickAttributeChecker checker = this.DeclaringCompilation.
GetBinderFactory
(list.Node.SyntaxTree).GetBinder(list.Node).QuickAttributeChecker;
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
731
declarationBinder ??= compilation.
GetBinderFactory
(declarationSyntax.SyntaxTree).GetBinder(usingDirective.NamespaceOrType).WithAdditionalFlags(BinderFlags.SuppressConstraintChecks);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (3)
125
var withTypeParamsBinder = this.DeclaringCompilation.
GetBinderFactory
(syntax.SyntaxTree).GetBinder(syntax.ReturnType, syntax, this);
319
.
GetBinderFactory
(syntax.SyntaxTree)
344
.
GetBinderFactory
(syntax.SyntaxTree)
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
408
var binderFactory = compilation.
GetBinderFactory
(syntax.SyntaxTree);
Symbols\Source\SourcePropertySymbol.cs (1)
431
var binderFactory = compilation.
GetBinderFactory
(syntaxTree);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
222
GetBinderFactory
(declarationSyntax.SyntaxTree).GetBinder(returnTypeSyntax, declarationSyntax, this);
Symbols\Symbol_Attributes.cs (1)
650
var binder = rootBinder ?? compilation.
GetBinderFactory
(attributeDeclarationSyntaxList.Node!.SyntaxTree).GetBinder(attributeDeclarationSyntaxList.Node);
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
70
InMethodBinder result = (binderFactoryOpt ?? this.DeclaringCompilation.
GetBinderFactory
(typeDecl.SyntaxTree)).GetPrimaryConstructorInMethodBinder(this);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\ImportsTests.cs (2)
113
var binder = comp.
GetBinderFactory
(tree).GetInNamespaceBinder((CSharpSyntaxNode)tree.GetRoot());
149
var factories = trees.Select(tree => comp.
GetBinderFactory
(tree));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
DocumentationComments\CrefTests.cs (1)
6635
var binderFactory = compilation.
GetBinderFactory
(crefSyntax.SyntaxTree);