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