39 references to GetBinder
Microsoft.CodeAnalysis.CSharp (37)
Binder\Binder_Crefs.cs (1)
962
this.Compilation.GetBinderFactory(typeSyntax.SyntaxTree).
GetBinder
(typeSyntax).Flags ==
Binder\Binder_Initializers.cs (3)
107
Binder parentBinder = binderFactory.
GetBinder
(initializerNode);
129
firstDebugImports = binderFactory.
GetBinder
(parameterSyntax).ImportChain;
206
Binder scriptClassBinder = binderFactory.
GetBinder
(syntax);
Binder\Binder_Statements.cs (1)
3792
outerBinder = binderFactory.
GetBinder
(ctorDecl.ParameterList);
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1353
: factory.
GetBinder
(memberSyntax);
Compilation\CSharpCompilation.cs (1)
2348
return GetBinderFactory(syntax.SyntaxTree).
GetBinder
(syntax);
Compilation\SyntaxTreeSemanticModel.cs (2)
1068
Binder defaultOuter() => _binderFactory.
GetBinder
(node).WithAdditionalFlags(this.IgnoresAccessibility ? BinderFlags.IgnoreAccessibility : BinderFlags.None);
1723
return ExplicitInterfaceHelpers.GetMemberName(_binderFactory.
GetBinder
(declaration), explicitInterfaceSpecifierOpt, memberName);
Compiler\DocumentationCommentCompiler.DocumentationCommentWalker.cs (1)
150
Binder binder = factory.
GetBinder
(cref);
FlowAnalysis\NullableWalker.cs (1)
1333
compilation.GetBinderFactory(node.SyntaxTree).
GetBinder
(node.Syntax);
Symbols\AliasSymbol.cs (1)
407
.
GetBinder
(syntax)
Symbols\ConstantValueUtils.cs (1)
38
var binder = binderFactory.
GetBinder
(equalsValueNode);
Symbols\Source\GlobalExpressionVariable.cs (1)
87
var binder = binderFactory.
GetBinder
(typeSyntax ?? SyntaxNode);
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)
298
binder = binderFactory.
GetBinder
(syntax);
Symbols\Source\SourceConstructorSymbolBase.cs (1)
42
var bodyBinder = binderFactory.
GetBinder
(parameterList, syntax, this).WithContainingMemberOrLambda(this);
Symbols\Source\SourceDestructorSymbol.cs (1)
72
var bodyBinder = this.DeclaringCompilation.GetBinderFactory(syntaxReferenceOpt.SyntaxTree).
GetBinder
(syntax, syntax, this);
Symbols\Source\SourceFixedFieldSymbol.cs (1)
86
Binder binder = binderFactory.
GetBinder
(sizeExpression);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
479
var binder = binderFactory.
GetBinder
(typeSyntax);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
638
Binder result = (binderFactoryOpt ?? this.DeclaringCompilation.GetBinderFactory(contextNode.SyntaxTree)).
GetBinder
(contextNode);
Symbols\Source\SourceNamedTypeSymbol.cs (5)
345
binder = binderFactory.
GetBinder
(typeParameterList.Parameters[0]);
351
binder = binderFactory.
GetBinder
(constraintClauses[0]);
426
binder = binderFactory.
GetBinder
(typeParameterList.Parameters[0]);
431
binder = binderFactory.
GetBinder
(constraintClauses[0]);
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);
320
.
GetBinder
(syntax.ReturnType, syntax, this);
345
.
GetBinder
(syntax.ReturnType, syntax, this);
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
409
return binderFactory.
GetBinder
(syntax);
Symbols\Source\SourcePropertySymbol.cs (1)
432
var binder = binderFactory.
GetBinder
(syntax, syntax, this);
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);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
DocumentationComments\CrefTests.cs (2)
5517
var binder = factory.
GetBinder
(cref);
6636
var binder = binderFactory.
GetBinder
(crefSyntax);