90 overrides of ContainingSymbol
Microsoft.CodeAnalysis.VisualBasic (90)
Emit\SynthesizedNamespaceSymbol.vb (1)
32
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\AliasSymbol.vb (1)
223
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicSymbol.vb (1)
65
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
139
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (1)
131
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
238
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTypeParameterSymbol.vb (1)
33
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\ArrayTypeSymbol.vb (1)
266
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\AssemblySymbol.vb (1)
235
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\ErrorMethodSymbol.vb (1)
42
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\ErrorTypeSymbol.vb (1)
121
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\IndexedTypeParameterSymbol.vb (1)
149
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\InstanceErrorTypeSymbol.vb (1)
218
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\LabelSymbol.vb (1)
84
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\MergedNamespaceSymbol.vb (1)
325
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PEEventSymbol.vb (1)
117
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
96
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PEGlobalNamespaceSymbol.vb (1)
27
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
290
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PEModuleSymbol.vb (1)
135
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
327
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PENestedNamespaceSymbol.vb (1)
84
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PEParameterSymbol.vb (1)
312
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
141
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Metadata\PE\PETypeParameterSymbol.vb (1)
131
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\MissingModuleSymbol.vb (1)
68
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\MissingNamespaceSymbol.vb (1)
49
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\PreprocessingSymbol.vb (1)
46
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\ReducedExtensionMethodSymbol.vb (3)
341
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
738
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
887
Public MustOverride Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
67
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
94
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
250
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Retargeting\RetargetingModuleSymbol.vb (1)
120
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
425
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (1)
120
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Retargeting\RetargetingParameterSymbol.vb (1)
198
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
83
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Retargeting\RetargetingTypeParameterSymbol.vb (1)
119
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SignatureOnlyMethodSymbol.vb (1)
118
Public Overrides ReadOnly Property
ContainingSymbol
() As Symbol
Symbols\SignatureOnlyParameterSymbol.vb (1)
137
Public Overrides ReadOnly Property
ContainingSymbol
() As Symbol
Symbols\SignatureOnlyPropertySymbol.vb (1)
63
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\BoundLambdaParameterSymbol.vb (1)
41
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\CrefTypeParameterSymbol.vb (1)
98
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\LambdaSymbol.vb (1)
113
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\LocalSymbol.vb (1)
200
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\MeParameterSymbol.vb (1)
54
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\RangeVariableSymbol.vb (1)
40
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourceEventSymbol.vb (1)
421
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourceFieldSymbol.vb (1)
113
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1207
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourceMethodSymbol.vb (1)
596
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourceModuleSymbol.vb (1)
127
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (4)
736
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
1109
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
1440
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
1716
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourceNamespaceSymbol.vb (1)
101
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourceParameterSymbolBase.vb (1)
32
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourcePropertySymbol.vb (1)
428
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SourceTypeParameterSymbol.vb (2)
276
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
320
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SynthesizedFieldSymbol.vb (1)
120
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\SynthesizedMyGroupCollectionPropertySymbol.vb (1)
77
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Source\UnboundLambdaParameterSymbol.vb (1)
56
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SubstitutedEventSymbol.vb (1)
91
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SubstitutedFieldSymbol.vb (1)
32
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SubstitutedMethodSymbol.vb (1)
152
Public MustOverride Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SubstitutedNamedType.vb (2)
630
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
965
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SubstitutedParameterSymbol.vb (1)
50
Public MustOverride Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SubstitutedPropertySymbol.vb (1)
81
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SubstitutedTypeParameterSymbol.vb (1)
107
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
67
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SynthesizedSymbols\SynthesizedClonedTypeParameterSymbol.vb (1)
85
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (1)
95
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
160
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
212
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (1)
88
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SynthesizedSymbols\SynthesizedMethodBase.vb (1)
44
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
88
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (1)
42
Public NotOverridable Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Tuples\TupleEventSymbol.vb (1)
32
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Tuples\TupleFieldSymbol.vb (1)
68
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Tuples\TupleMethodSymbol.vb (1)
50
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Tuples\TupleParameterSymbol.vb (1)
14
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Tuples\TuplePropertySymbol.vb (1)
86
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\Tuples\TupleTypeSymbol.vb (1)
152
Public Overrides ReadOnly Property
ContainingSymbol
As Symbol
Symbols\UnboundGenericType.vb (1)
101
Public MustOverride Overrides ReadOnly Property
ContainingSymbol
As Symbol
116 references to ContainingSymbol
Microsoft.CodeAnalysis.VisualBasic (116)
Binding\Binder_Expressions.vb (3)
1895
Me.ContainingMember.
ContainingSymbol
Is field.ContainingSymbol,
1896
Me.ContainingMember.
ContainingSymbol
.OriginalDefinition Is field.ContainingSymbol.OriginalDefinition)
3568
currentContainer = currentContainer.
ContainingSymbol
Binding\Binder_Invocation.vb (3)
1442
Dim container As Symbol = candidate.
ContainingSymbol
3132
container = container.
ContainingSymbol
3144
container = container.
ContainingSymbol
Binding\Binder_Lambda.vb (1)
723
containingMember = containingMember.
ContainingSymbol
Binding\Binder_Lookup.vb (4)
252
If unwrappedSym.Kind = SymbolKind.Method AndAlso unwrappedSym.
ContainingSymbol
IsNot Nothing Then
255
sym.
ContainingSymbol
.Name,
1127
Dim containingSymbolA = symbolA.
ContainingSymbol
1131
Dim containingSymbolB = symbolB.
ContainingSymbol
Binding\Binder_Statements.vb (2)
1873
If DirectCast(altSymbol.
ContainingSymbol
, MethodSymbol).MethodKind = MethodKind.LambdaMethod Then
2451
Dim container = If(exprSymbol IsNot Nothing, exprSymbol.
ContainingSymbol
, Compilation.GetSpecialType(SpecialType.System_Object))
Binding\Binder_Symbols.vb (1)
736
currentSymbol = currentSymbol.
ContainingSymbol
Binding\BinderBuilder.vb (1)
277
containingType = target.
ContainingSymbol
.ContainingType
Binding\LookupResult.vb (5)
753
Dim container As Symbol = syms(0).
ContainingSymbol
947
If first.
ContainingSymbol
Is second.
ContainingSymbol
Then
999
For Each sibling In DirectCast(type.
ContainingSymbol
, NamespaceSymbol).GetMembers(type.Name)
1013
Dim container As Symbol = syms(0).
ContainingSymbol
Emit\TypeParameterSymbolAdapter.vb (9)
63
If AdaptedTypeParameterSymbol.
ContainingSymbol
.Kind = SymbolKind.Method Then
74
If AdaptedTypeParameterSymbol.
ContainingSymbol
.Kind = SymbolKind.Method Then
92
If AdaptedTypeParameterSymbol.
ContainingSymbol
.Kind = SymbolKind.NamedType Then
104
If AdaptedTypeParameterSymbol.
ContainingSymbol
.Kind = SymbolKind.NamedType Then
144
Dim kind As SymbolKind = AdaptedTypeParameterSymbol.
ContainingSymbol
.Kind
189
Return DirectCast(AdaptedTypeParameterSymbol.
ContainingSymbol
, MethodSymbol).GetCciAdapter()
196
Return DirectCast(AdaptedTypeParameterSymbol.
ContainingSymbol
, NamedTypeSymbol).GetCciAdapter()
269
Return DirectCast(AdaptedTypeParameterSymbol.
ContainingSymbol
, MethodSymbol).GetCciAdapter()
277
Return DirectCast(AdaptedTypeParameterSymbol.
ContainingSymbol
, NamedTypeSymbol).GetCciAdapter()
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (2)
417
Dim container = variableOrParameter.
ContainingSymbol
458
If Binder.IsTopMostEnclosingLambdaAQueryLambda(_currentParent, variableOrParameter.
ContainingSymbol
) Then
Semantics\OverloadResolution.vb (1)
3533
Dim container As Symbol = info.Candidate.UnderlyingSymbol.
ContainingSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegate_ParameterSymbol.vb (1)
35
Return DirectCast(_container.
ContainingSymbol
, AnonymousTypeOrDelegateTemplateSymbol).GetAdjustedName(CorrespondingInvokeParameterOrProperty)
Symbols\BaseTypeAnalysis.vb (1)
70
Dim isContainment As Boolean = previous IsNot Nothing AndAlso head.
ContainingSymbol
Is previous
Symbols\ConstraintsHelper.vb (4)
103
Dim containingSymbol = typeParameter.
ContainingSymbol
225
If constraintTypeParameter.
ContainingSymbol
= containingSymbol Then
653
(typeParameter.
ContainingSymbol
Is constructedSymbol.OriginalDefinition))
977
diagnosticsBuilder.Add(New TypeParameterDiagnosticInfo(typeParameter, ErrorFactory.ErrorInfo(ERRID.ERR_NewConstraintCannotHaveRequiredMembers, typeParameter.
ContainingSymbol
, typeParameter, typeArgument)))
Symbols\EventSymbol.vb (1)
255
Return Me.
ContainingSymbol
.EmbeddedSymbolKind
Symbols\FieldSymbol.vb (2)
331
Return Me.
ContainingSymbol
.EmbeddedSymbolKind
396
Debug.Assert(newOwner.OriginalDefinition Is Me.
ContainingSymbol
.OriginalDefinition)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
174
s = s.
ContainingSymbol
Symbols\MethodSymbol.vb (2)
810
Return If(Me.
ContainingSymbol
Is Nothing, EmbeddedSymbolKind.None, Me.
ContainingSymbol
.EmbeddedSymbolKind)
Symbols\ModuleSymbol.vb (1)
98
Return DirectCast(
ContainingSymbol
, AssemblySymbol)
Symbols\NamedTypeSymbol.vb (2)
113
Return TryCast(Me.
ContainingSymbol
, NamedTypeSymbol)
1523
If(
ContainingSymbol
?.Kind = SymbolKind.Namespace, False) AndAlso
Symbols\ObsoleteAttributeHelpers.vb (1)
64
symbol = symbol.
ContainingSymbol
Symbols\ParameterSymbol.vb (1)
261
Return Me.
ContainingSymbol
.EmbeddedSymbolKind
Symbols\PEOrSourceOrMergedNamespaceSymbol.vb (2)
66
Dim parent = TryCast(Me.
ContainingSymbol
, PEOrSourceOrMergedNamespaceSymbol)
72
parent = TryCast(parent.
ContainingSymbol
, PEOrSourceOrMergedNamespaceSymbol)
Symbols\PropertySymbol.vb (1)
489
Return Me.
ContainingSymbol
.EmbeddedSymbolKind
Symbols\ReducedExtensionMethodSymbol.vb (2)
281
If reducedFromTypeParameter.
ContainingSymbol
<> _curriedFromMethod Then
343
Return _curriedFromMethod.
ContainingSymbol
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
69
Return RetargetingTranslator.Retarget(_underlyingEvent.
ContainingSymbol
)
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
96
Return RetargetingTranslator.Retarget(_underlyingField.
ContainingSymbol
)
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
252
Return RetargetingTranslator.Retarget(_underlyingMethod.
ContainingSymbol
)
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
427
Return RetargetingTranslator.Retarget(_underlyingType.
ContainingSymbol
)
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (1)
122
Return RetargetingTranslator.Retarget(_underlyingNamespace.
ContainingSymbol
)
Symbols\Retargeting\RetargetingParameterSymbol.vb (1)
200
Return RetargetingTranslator.Retarget(_underlyingParameter.
ContainingSymbol
)
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
85
Return RetargetingTranslator.Retarget(_underlyingProperty.
ContainingSymbol
)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (4)
69
Dim container = typeParameter.
ContainingSymbol
248
If type.
ContainingSymbol
.Kind <> SymbolKind.NamedType AndAlso
1000
Debug.Assert(typeParameter.
ContainingSymbol
Is _toFind)
1011
If containingType Is typeParameter.
ContainingSymbol
Then
Symbols\Retargeting\RetargetingTypeParameterSymbol.vb (1)
121
Return RetargetingTranslator.Retarget(_underlyingTypeParameter.
ContainingSymbol
)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
1466
Return DirectCast(_container.
ContainingSymbol
, SynthesizedComInterface).IsEventInterface
Symbols\Source\SourceTypeParameterSymbol.vb (2)
106
Debug.Assert(Not inProgress.Any() OrElse inProgress.Head.ContainingSymbol Is
ContainingSymbol
)
222
Return Me.
ContainingSymbol
.IsImplicitlyDeclared
Symbols\SubstitutedMethodSymbol.vb (2)
586
container.TypeSubstitution.TargetGenericDefinition Is originalDefinition.
ContainingSymbol
)
852
Return Me.OriginalDefinition.
ContainingSymbol
Symbols\SubstitutedNamedType.vb (6)
296
Debug.Assert(memberType.IsDefinition AndAlso memberType.
ContainingSymbol
Is Me.OriginalDefinition)
692
container.TypeSubstitution.TargetGenericDefinition Is fullInstanceType.
ContainingSymbol
)
859
Debug.Assert(parentsTypeSubstitution.TargetGenericDefinition Is fullInstanceType.
ContainingSymbol
)
937
Debug.Assert(newContainer.TypeSubstitution Is Nothing AndAlso definition.
ContainingSymbol
Is newContainer)
967
Return ConstructedFrom.
ContainingSymbol
1171
Debug.Assert(newSubstitution.Parent Is Nothing AndAlso fullInstanceType.
ContainingSymbol
Is newContainer AndAlso
Symbols\SubstitutedTypeParameterSymbol.vb (1)
191
Return other IsNot Nothing AndAlso Me.OriginalDefinition.Equals(other.OriginalDefinition) AndAlso Me.ContainingSymbol.Equals(other.
ContainingSymbol
, comparison)
Symbols\Symbol.vb (11)
159
Dim container = Me.
ContainingSymbol
165
container = container.
ContainingSymbol
176
Dim container As Symbol = Me.
ContainingSymbol
204
Dim container = Me.
ContainingSymbol
209
Return DirectCast(
ContainingSymbol
, NamespaceSymbol)
211
Return DirectCast(
ContainingSymbol
, NamedTypeSymbol)
226
Dim container As Symbol = Me.
ContainingSymbol
280
Dim container As Symbol = Me.
ContainingSymbol
901
Return Me.
ContainingSymbol
.IsDefinedInSourceTree(tree, definedWithinSpan, cancellationToken)
1213
Return Me.
ContainingSymbol
1219
Return Me.
ContainingSymbol
Symbols\Symbol_Attributes.vb (1)
636
Me.
ContainingSymbol
?.ForceCompleteObsoleteAttribute()
Symbols\SymbolExtensions.vb (2)
230
Dim containingSourceType = TryCast(definition.
ContainingSymbol
, SourceNamedTypeSymbol)
457
member = member.
ContainingSymbol
Symbols\SynthesizedSymbols\SynthesizedClonedTypeParameterSymbol.vb (1)
42
Debug.Assert(correspondingMethodTypeParameter.
ContainingSymbol
<> container)
Symbols\Tuples\TupleTypeSymbol.vb (2)
154
Return Me._underlyingType.
ContainingSymbol
896
Debug.Assert(associatedField.
ContainingSymbol
Is Me._underlyingType)
Symbols\TypeParameterSymbol.vb (3)
98
Return TryCast(Me.
ContainingSymbol
, MethodSymbol)
107
Return TryCast(Me.
ContainingSymbol
, NamedTypeSymbol)
357
Return Me.
ContainingSymbol
.EmbeddedSymbolKind
Symbols\TypeSubstitution.vb (10)
131
Debug.Assert(tp.IsDefinition OrElse TargetGenericDefinition Is tp.
ContainingSymbol
)
133
Dim containingSymbol As Symbol = tp.
ContainingSymbol
194
If current.TargetGenericDefinition Is originalDefinition.
ContainingSymbol
Then
421
If currentContainer IsNot param.
ContainingSymbol
Then
428
currentContainer = param.
ContainingSymbol
571
Debug.Assert(parent Is Nothing OrElse targetGenericDefinition.
ContainingSymbol
Is parent.TargetGenericDefinition)
590
Dim memberDefinition As Symbol = alphaRenamedTypeParameters(0).OriginalDefinition.
ContainingSymbol
592
Debug.Assert(parent.TargetGenericDefinition Is memberDefinition.
ContainingSymbol
)
646
If typeParameter.Ordinal = i AndAlso typeParameter.
ContainingSymbol
Is targetMethod Then
675
If typeParameter.Ordinal = i AndAlso typeParameter.
ContainingSymbol
Is targetMethod AndAlso argument.CustomModifiers.IsDefaultOrEmpty Then
Symbols\TypeSymbolExtensions.vb (4)
775
type.
ContainingSymbol
.Equals(method)
1008
Dim container As Symbol = typeArgument.
ContainingSymbol
1028
Dim container As Symbol = typeArgument.
ContainingSymbol
1233
Dim container = type.
ContainingSymbol
Symbols\UnboundGenericType.vb (1)
399
result = OriginalDefinition.
ContainingSymbol
Symbols\Wrapped\WrappedTypeParameterSymbol.vb (3)
98
Debug.Assert(Me.TypeParameterKind = If(TypeOf Me.
ContainingSymbol
Is MethodSymbol, TypeParameterKind.Method,
99
If(TypeOf Me.
ContainingSymbol
Is NamedTypeSymbol, TypeParameterKind.Type,
101
$"Container is {Me.
ContainingSymbol
?.Kind}, TypeParameterKind is {Me.TypeParameterKind}")