40 references to GetBinder
Microsoft.CodeAnalysis.CSharp (38)
Binder\Binder_Crefs.cs (1)
1165
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)
3932
outerBinder = binderFactory.
GetBinder
(ctorDecl.ParameterList);
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1396
: factory.
GetBinder
(memberSyntax);
Compilation\CSharpCompilation.cs (1)
2663
return GetBinderFactory(syntax.SyntaxTree).
GetBinder
(syntax);
Compilation\SyntaxTreeSemanticModel.cs (2)
1072
Binder defaultOuter() => _binderFactory.
GetBinder
(node).WithAdditionalFlags(this.IgnoresAccessibility ? BinderFlags.IgnoreAccessibility : BinderFlags.None);
1744
return ExplicitInterfaceHelpers.GetMemberName(_binderFactory.
GetBinder
(declaration), explicitInterfaceSpecifierOpt, memberName);
Compiler\DocumentationCommentCompiler.DocumentationCommentWalker.cs (1)
150
Binder binder = factory.
GetBinder
(cref);
FlowAnalysis\NullableWalker.cs (1)
1493
compilation.GetBinderFactory(node.SyntaxTree).
GetBinder
(node.Syntax);
Symbols\AliasSymbol.cs (1)
402
.
GetBinder
(syntax)
Symbols\ConstantValueUtils.cs (1)
38
var binder = binderFactory.
GetBinder
(equalsValueNode);
Symbols\Extensions\SynthesizedExtensionMarker.cs (1)
76
var withTypeParamsBinder = binderFactory.
GetBinder
(parameterList);
Symbols\Source\GlobalExpressionVariable.cs (1)
89
var binder = binderFactory.
GetBinder
(typeSyntax ?? SyntaxNode);
Symbols\Source\SourceAssemblySymbol.cs (4)
1684
QuickAttributeChecker checker = this.DeclaringCompilation.GetBinderFactory(node.SyntaxTree).
GetBinder
(node).QuickAttributeChecker;
1690
QuickAttributeChecker checker = this.DeclaringCompilation.GetBinderFactory(node.SyntaxTree).
GetBinder
(node).QuickAttributeChecker;
1696
QuickAttributeChecker checker = this.DeclaringCompilation.GetBinderFactory(node.SyntaxTree).
GetBinder
(node).QuickAttributeChecker;
1763
this.DeclaringCompilation.GetBinderFactory(node.SyntaxTree).
GetBinder
(node).QuickAttributeChecker;
Symbols\Source\SourceComplexParameterSymbol.cs (1)
312
binder = binderFactory.
GetBinder
(syntax);
Symbols\Source\SourceConstructorSymbolBase.cs (1)
43
var bodyBinder = binderFactory.
GetBinder
(parameterList, syntax, this).WithContainingMemberOrLambda(this);
Symbols\Source\SourceDestructorSymbol.cs (1)
85
var bodyBinder = this.DeclaringCompilation.GetBinderFactory(syntaxReferenceOpt.SyntaxTree).
GetBinder
(syntax, syntax, this);
Symbols\Source\SourceFixedFieldSymbol.cs (1)
87
Binder binder = binderFactory.
GetBinder
(sizeExpression);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
494
var binder = binderFactory.
GetBinder
(typeSyntax);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
773
Binder result = (binderFactoryOpt ?? this.DeclaringCompilation.GetBinderFactory(contextNode.SyntaxTree)).
GetBinder
(contextNode);
Symbols\Source\SourceNamedTypeSymbol.cs (5)
344
binder = binderFactory.
GetBinder
(typeParameterList.Parameters[0]);
350
binder = binderFactory.
GetBinder
(constraintClauses[0]);
425
binder = binderFactory.
GetBinder
(typeParameterList.Parameters[0]);
430
binder = binderFactory.
GetBinder
(constraintClauses[0]);
1281
QuickAttributeChecker checker = this.DeclaringCompilation.GetBinderFactory(list.Node.SyntaxTree).
GetBinder
(list.Node).QuickAttributeChecker;
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
765
declarationBinder ??= compilation.GetBinderFactory(declarationSyntax.SyntaxTree).
GetBinder
(usingDirective.NamespaceOrType).WithAdditionalFlags(flags);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (3)
117
var withTypeParamsBinder = this.DeclaringCompilation.GetBinderFactory(syntax.SyntaxTree).
GetBinder
(syntax.ReturnType, syntax, this);
1083
.
GetBinder
(syntax.ReturnType, syntax, this);
1110
.
GetBinder
(syntax.ReturnType, syntax, this);
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
409
return binderFactory.
GetBinder
(syntax);
Symbols\Source\SourcePropertySymbol.cs (1)
558
var binder = binderFactory.
GetBinder
(syntax, syntax, this);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
316
GetBinderFactory(declarationSyntax.SyntaxTree).
GetBinder
(returnTypeSyntax, declarationSyntax, this);
Symbols\Symbol_Attributes.cs (1)
671
var binder = rootBinder ?? compilation.GetBinderFactory(attributeDeclarationSyntaxList.Node!.SyntaxTree).
GetBinder
(attributeDeclarationSyntaxList.Node);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
DocumentationComments\CrefTests.cs (1)
5517
var binder = factory.
GetBinder
(cref);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
2408
var binder = binderFactory.
GetBinder
(crefSyntax);