60 references to ContainingBinder
Microsoft.CodeAnalysis.VisualBasic (60)
Binding\Binder.vb (2)
243Return Me.ContainingBinder.LookupLabelByNameToken(labelName) 824binder = binder.ContainingBinder
Binding\Binder_AnonymousTypes.vb (1)
385Dim creationBinder = DirectCast(ContainingBinder, AnonymousTypeCreationBinder)
Binding\Binder_ConditionalAccess.vb (3)
72Debug.Assert(Me.ContainingBinder IsNot Nothing) 73Return Me.ContainingBinder.TryBindOmittedLeftForConditionalAccess(node, accessingBinder, diagnostics) 89Return Me.ContainingBinder.TryGetConditionalAccessReceiver(node)
Binding\Binder_DocumentationComments.vb (3)
15Return Me.ContainingBinder.BindInsideCrefAttributeValue(name, preserveAliases, diagnosticBag, useSiteInfo) 19Return Me.ContainingBinder.BindInsideCrefAttributeValue(reference, preserveAliases, diagnosticBag, useSiteInfo) 23Return Me.ContainingBinder.BindXmlNameAttributeValue(identifier, useSiteInfo)
Binding\Binder_Expressions.vb (7)
2224Return Me.ContainingBinder.IsInsideChainedConstructorCallArguments 2984Debug.Assert(Me.ContainingBinder IsNot Nothing) 2985Return Me.ContainingBinder.TryBindOmittedLeftForMemberAccess(node, diagnostics, accessingBinder, wholeMemberAccessExpressionBound) 2991Debug.Assert(Me.ContainingBinder IsNot Nothing) 2992Return Me.ContainingBinder.TryBindOmittedLeftForXmlMemberAccess(node, diagnostics, accessingBinder) 3718Debug.Assert(Me.ContainingBinder IsNot Nothing) 3719Return Me.ContainingBinder.TryBindOmittedLeftForDictionaryAccess(node, accessingBinder, diagnostics)
Binding\Binder_Lambda.vb (2)
414If ContainingBinder.OptionExplicit = False AndAlso Not ContainingBinder.ImplicitVariableDeclarationAllowed Then
Binding\Binder_Query.vb (3)
2751Dim rangeVar As RangeVariableSymbol = Me.BindExpressionRangeVariable(item, requireRangeVariable, Me.ContainingBinder, Nothing, selector, diagnostics) 2776Dim rangeVar As RangeVariableSymbol = Me.BindExpressionRangeVariable(selectVariables(i), True, Me.ContainingBinder, declaredNames, selectors(i), diagnostics) 3921Dim aggregationLambdaSymbol = Me.ContainingBinder.CreateQueryLambdaSymbol(
Binding\Binder_Statements.vb (8)
648currentBinder = currentBinder.ContainingBinder 1099current = current.ContainingBinder 1808Dim container = Me.ContainingBinder 1919container = container.ContainingBinder 3078currentBinder = currentBinder.ContainingBinder 3082currentBinder = currentBinder.ContainingBinder 4412Return Me.ContainingBinder.CreateBoundWithBlock(node, boundBlockBinder, diagnostics) 4549currentBinder = currentBinder.ContainingBinder
Binding\Binder_WithBlock.vb (2)
212Dim boundExpression As BoundExpression = Me.ContainingBinder.BindValue(Me.Expression, diagnostics) 233binder:=Me.ContainingBinder,
Binding\Binder_XmlLiterals.vb (2)
533Return ContainingBinder.MatchesXmlnsImport(prefix, value) 1498ContainingBinder.GetInScopeXmlNamespaces(builder)
Binding\BinderFactory.vb (2)
597namedTypeBinder = DirectCast(methodDeclarationBinder.ContainingBinder, NamedTypeBinder) 685containingBinder = containingBinder.ContainingBinder
Binding\BlockStatementBinders.vb (3)
48Return ContainingBinder.GetContinueLabel(continueSyntaxKind) 56Return ContainingBinder.GetExitLabel(exitSyntaxKind) 73Return ContainingBinder.GetReturnLabel()
Binding\DocumentationCommentBinder.vb (1)
170Return ContainingBinder.BinderSpecificLookupOptions(options) Or LookupOptions.UseBaseReferenceAccessibility
Binding\EarlyWellKnownAttributeBinder.vb (1)
222Return ContainingBinder.BinderSpecificLookupOptions(options) Or LookupOptions.IgnoreExtensionMethods
Binding\FinallyBlockBinder.vb (2)
26Return ContainingBinder.ContainingBinder.GetExitLabel(exitSyntaxKind)
Binding\ForOrForEachBlockBinder.vb (1)
82ContainingBinder.Lookup(result, identifier.ValueText, 0, LookupOptions.AllMethodsOfAnyArity, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
Binding\IgnoreAccessibilityBinder.vb (1)
17Return ContainingBinder.BinderSpecificLookupOptions(options) Or LookupOptions.IgnoreAccessibility
Binding\ImplicitVariableBinder.vb (2)
75Return Me.ContainingBinder.BindGroupAggregationExpression(group, diagnostics) 80Return Me.ContainingBinder.BindFunctionAggregationExpression([function], diagnostics)
Binding\ImportAliasesBinder.vb (5)
39TypeOf containingBinder.ContainingBinder Is TypesOfImportedNamespacesMembersBinder AndAlso 40(TypeOf containingBinder.ContainingBinder.ContainingBinder Is SourceFileBinder OrElse 41TypeOf containingBinder.ContainingBinder.ContainingBinder Is SourceModuleBinder)))
Binding\MemberSemanticModel.vb (2)
2034Dim binder As Binder = Me.ContainingBinder.GetBinder(node) 2049Dim binder As Binder = Me.ContainingBinder.GetBinder(list)
Binding\MethodBodySemanticModel.vb (1)
53containingBinder = containingBinder.ContainingBinder
Binding\SpeculativeBinder.vb (2)
44Return Me.ContainingBinder.BindGroupAggregationExpression(group, diagnostics) 49Return Me.ContainingBinder.BindFunctionAggregationExpression([function], diagnostics)
Compilation\SemanticModel.vb (3)
3050Return If(TypeOf binder Is SemanticModelBinder, binder.ContainingBinder, binder) 3479AddImportScopes(binder.ContainingBinder, scopes) 3487binder = binder.ContainingBinder
Symbols\PropertySymbol.vb (1)
190currentBinder = currentBinder.ContainingBinder