10 overrides of ContainingMember
Microsoft.CodeAnalysis.VisualBasic (10)
Binding\BackstopBinder.vb (1)
61Public Overrides ReadOnly Property ContainingMember As Symbol
Binding\Binder_Query.vb (1)
2658Public Overrides ReadOnly Property ContainingMember As Symbol
Binding\ConstantFieldsInProgressBinder.vb (1)
34Public Overrides ReadOnly Property ContainingMember As Symbol
Binding\DeclarationInitializerBinder.vb (1)
54Public Overrides ReadOnly Property ContainingMember As Symbol
Binding\EarlyWellKnownAttributeBinder.vb (1)
32Public Overrides ReadOnly Property ContainingMember As Symbol
Binding\ImportAliasesBinder.vb (1)
81Public Overrides ReadOnly Property ContainingMember As Symbol
Binding\LocationSpecificBinder.vb (1)
45Public Overrides ReadOnly Property ContainingMember As Symbol
Binding\NamedTypeBinder.vb (1)
166Public Overrides ReadOnly Property ContainingMember As Symbol
Binding\NamespaceBinder.vb (1)
52Public Overrides ReadOnly Property ContainingMember As Symbol
Binding\SubOrFunctionBodyBinder.vb (1)
47Public Overrides ReadOnly Property ContainingMember As Symbol
86 references to ContainingMember
Microsoft.CodeAnalysis.VisualBasic (86)
Binding\Binder.vb (7)
328Return m_containingBinder.ContainingMember 346Dim containingMember = Me.ContainingMember 365Debug.Assert(ContainingMember IsNot Nothing) 366Return ContainingMember.IsLambdaMethod 398Dim containingMember = Me.ContainingMember 553Return GetSpecialTypeMember(Me.ContainingMember.ContainingAssembly, member, syntax, diagnostics) 951ReportDiagnosticsIfObsolete(diagnostics, Me.ContainingMember, symbol, node)
Binding\Binder_AnonymousTypes.vb (3)
346local = New SynthesizedLocal(Me.ContainingMember, Me._fields(fieldIndex).Type, SynthesizedLocalKind.LoweringTemp) 432If Me.ContainingMember IsNot accessingBinder.ContainingMember Then
Binding\Binder_Conversions.vb (1)
1146If Me.ContainingMember Is convKind.Value Then
Binding\Binder_Expressions.vb (17)
1141If ContainingType Is classType AndAlso Not ContainingMember.IsShared Then 1895Me.ContainingMember.ContainingSymbol Is field.ContainingSymbol, 1896Me.ContainingMember.ContainingSymbol.OriginalDefinition Is field.ContainingSymbol.OriginalDefinition) 1903Dim containingMember = Me.ContainingMember 2234Dim containingMember = Me.ContainingMember 2349Dim containingMethod = TryCast(ContainingMember, MethodSymbol) 2367Dim containingMethod = TryCast(ContainingMember, MethodSymbol) 2379Dim containingMethod = TryCast(ContainingMember, MethodSymbol) 2563receiver = TryBindInteractiveReceiver(node, Me.ContainingMember, containingType, memberDeclaringType) 3267If ContainingMember IsNot localSymbolContainingSymbol Then 3270If IsTopMostEnclosingLambdaAQueryLambda(ContainingMember, localSymbolContainingSymbol) Then 4629Return ContainingMember.Kind = SymbolKind.Method AndAlso DirectCast(ContainingMember, MethodSymbol).IsAsync 4633Return ContainingMember.Kind = SymbolKind.Method AndAlso DirectCast(ContainingMember, MethodSymbol).IsIterator 4960ElseIf ContainingMember.Kind = SymbolKind.Method Then 4961Dim method = DirectCast(ContainingMember, MethodSymbol)
Binding\Binder_Invocation.vb (6)
58If Me.ContainingMember.Kind = SymbolKind.Method AndAlso DirectCast(Me.ContainingMember, MethodSymbol).MethodKind = MethodKind.Constructor Then 907If method.IsUserDefinedOperator() AndAlso Me.ContainingMember Is method Then 995If [property].GetMethod Is ContainingMember Then 999ElseIf [property].SetMethod Is ContainingMember Then 3123Dim container As Symbol = ContainingMember
Binding\Binder_Lambda.vb (3)
31parameters = DecodeParameterList(Me.ContainingMember, True, modifiers, node.SubOrFunctionHeader.ParameterList, diagnostics) 673Dim containingMember As Symbol = Me.ContainingMember 724Debug.Assert(binderForExpressionContainingLambda.ContainingMember Is containingMember)
Binding\Binder_Lookup.vb (1)
1961Dim containingMethod = TryCast(binder.ContainingMember, MethodSymbol)
Binding\Binder_Statements.vb (18)
295Dim methodSymbol = DirectCast(ContainingMember, MethodSymbol) 350If InitializerRewriter.HasExplicitMeConstructorCall(body, ContainingMember.ContainingType, hasMyBaseConstructorCall) OrElse hasMyBaseConstructorCall Then 1006ElseIf Me.ContainingMember.Kind = SymbolKind.Method AndAlso DirectCast(Me.ContainingMember, MethodSymbol).IsGenericMethod Then 2319If method = Me.ContainingMember Then 2575If fireMethod = Me.ContainingMember Then 4964Dim method As MethodSymbol = TryCast(Me.ContainingMember, MethodSymbol) 5041Debug.Assert(Me.ContainingMember.Kind = SymbolKind.Method AndAlso DirectCast(Me.ContainingMember, MethodSymbol).MethodKind = MethodKind.LambdaMethod) 5052Debug.Assert(Me.ContainingMember.Kind = SymbolKind.Method AndAlso DirectCast(Me.ContainingMember, MethodSymbol).MethodKind = MethodKind.LambdaMethod) 5082Debug.Assert(Me.ContainingMember.Kind = SymbolKind.Method AndAlso DirectCast(Me.ContainingMember, MethodSymbol).MethodKind = MethodKind.LambdaMethod) 5095Dim method As MethodSymbol = TryCast(Me.ContainingMember, MethodSymbol) 5150Debug.Assert(Me.ContainingMember.Kind = SymbolKind.Method AndAlso DirectCast(Me.ContainingMember, MethodSymbol).MethodKind = MethodKind.LambdaMethod) 5162Debug.Assert(Me.ContainingMember.Kind = SymbolKind.Method AndAlso DirectCast(Me.ContainingMember, MethodSymbol).MethodKind = MethodKind.LambdaMethod)
Binding\Binder_WithBlock.vb (4)
230(New WithExpressionRewriter(Me._withBlockSyntax.WithStatement)).AnalyzeWithExpression(Me.ContainingMember, boundExpression, 322Dim containingMethod = TryCast(ContainingMember, MethodSymbol) 375If Me.ContainingMember IsNot accessingBinder.ContainingMember Then
Binding\CatchBlockBinder.vb (1)
52Dim localVar = LocalSymbol.Create(Me.ContainingMember,
Binding\DescendantBinderFactory.vb (1)
85Dim builder As New LocalBinderBuilder(DirectCast(_rootBinder.ContainingMember, MethodSymbol))
Binding\DocumentationCommentBinder.vb (1)
43Dim binderContainingMember As Symbol = containingBinder.ContainingMember
Binding\DocumentationCommentCrefBinder.vb (1)
688Dim containingSymbol As Symbol = Me.ContainingMember
Binding\EarlyWellKnownAttributeBinder.vb (1)
34Return If(_owner, MyBase.ContainingMember)
Binding\ExecutableCodeBinder.vb (1)
53Dim syntaxVisitor = New LabelVisitor(labels, DirectCast(ContainingMember, MethodSymbol), Me)
Binding\ForOrForEachBlockBinder.vb (3)
64localVar = LocalSymbol.Create(Me.ContainingMember, Me, 111Dim localVar = LocalSymbol.CreateInferredForFromTo(Me.ContainingMember, 122Dim localVar = LocalSymbol.CreateInferredForEach(Me.ContainingMember,
Binding\InitializerSemanticModel.vb (3)
148Dim parameterSymbol = DirectCast(Me.RootBinder.ContainingMember, SourceComplexParameterSymbol) 170Dim fieldSymbol = TryCast(Me.RootBinder.ContainingMember, SourceFieldSymbol) 175Dim propertySymbol = TryCast(Me.RootBinder.ContainingMember, SourcePropertySymbol)
Binding\LocationSpecificBinder.vb (1)
47Return If(_owner, MyBase.ContainingMember)
Binding\MemberSemanticModel.vb (1)
1183Return RootBinder.ContainingMember
Binding\SpeculativeBinder.vb (1)
30containingBinder = New ImplicitVariableBinder(containingBinder, containingBinder.ContainingMember)
Binding\StatementListBinder.vb (1)
76Dim localVar = LocalSymbol.Create(Me.ContainingMember, Me,
Binding\UsingBlockBinder.vb (1)
60localsBuilder.Add(LocalSymbol.Create(Me.ContainingMember, Me,
Compilation\SemanticModel.vb (2)
1122Dim containingMember = binder.ContainingMember 2987Return If(binder Is Nothing, Nothing, binder.ContainingMember)
Lowering\Diagnostics\DiagnosticsPass.vb (1)
134If withBlockBinder.ContainingMember IsNot _containingSymbol Then
Semantics\OverloadResolution.vb (1)
970Dim possiblyConstructor = TryCast(binder.ContainingMember, MethodSymbol)
Symbols\PropertySymbol.vb (3)
171Dim containingMember As Symbol = containingBinder.ContainingMember 180While currentBinder IsNot Nothing AndAlso currentBinder.ContainingMember Is containingMember 208Dim fromMember = containingBinder.ContainingMember
Symbols\Source\LambdaSymbol.vb (1)
115Return _binder.ContainingMember
Symbols\Source\RangeVariableSymbol.vb (1)
42Return m_Binder.ContainingMember