Base:
property
ContainingType
Microsoft.CodeAnalysis.VisualBasic.Symbol.ContainingType
7 overrides of ContainingType
Microsoft.CodeAnalysis.VisualBasic (7)
Lowering\StateMachineRewriter\SynthesizedContainer.vb (1)
250
Public NotOverridable Overrides ReadOnly Property
ContainingType
As NamedTypeSymbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
152
Public Overrides ReadOnly Property
ContainingType
As NamedTypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
251
Public Overrides ReadOnly Property
ContainingType
As NamedTypeSymbol
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
336
Public Overrides ReadOnly Property
ContainingType
As NamedTypeSymbol
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1215
Public Overrides ReadOnly Property
ContainingType
As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
167
Public Overrides ReadOnly Property
ContainingType
As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (1)
95
Public Overrides ReadOnly Property
ContainingType
As NamedTypeSymbol
107 references to ContainingType
Microsoft.CodeAnalysis.VisualBasic (107)
Binding\Binder_Attributes.vb (1)
345
container = container.
ContainingType
Binding\Binder_Conversions.vb (2)
889
source = source.
ContainingType
890
destination = destination.
ContainingType
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.vb (1)
116
curr = curr.
ContainingType
Emit\GenericNestedTypeInstanceReference.vb (1)
23
Return (DirectCast(context.Module, PEModuleBuilder)).Translate(m_UnderlyingNamedType.
ContainingType
, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\NamedTypeSymbolAdapter.vb (11)
112
If AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.
ContainingType
Is Nothing Then
123
If AdaptedNamedTypeSymbol.
ContainingType
Is Nothing AndAlso AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.ContainingModule.Equals(moduleBeingBuilt.SourceModule) Then
132
If AdaptedNamedTypeSymbol.
ContainingType
IsNot Nothing Then
153
If AdaptedNamedTypeSymbol.
ContainingType
IsNot Nothing AndAlso AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.ContainingModule.Equals(moduleBeingBuilt.SourceModule) Then
164
Debug.Assert(AdaptedNamedTypeSymbol.
ContainingType
IsNot Nothing AndAlso AdaptedNamedTypeSymbol.
ContainingType
.IsOrInGenericType())
203
If AdaptedNamedTypeSymbol.
ContainingType
Is Nothing Then
814
Return moduleBeingBuilt.Translate(AdaptedNamedTypeSymbol.
ContainingType
, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=AdaptedNamedTypeSymbol.IsDefinition)
821
Debug.Assert(AdaptedNamedTypeSymbol.
ContainingType
IsNot Nothing)
824
Return AdaptedNamedTypeSymbol.
ContainingType
.GetCciAdapter()
831
Debug.Assert(AdaptedNamedTypeSymbol.
ContainingType
IsNot Nothing)
Emit\NoPia\EmbeddedTypesManager.vb (1)
277
If type.
ContainingType
IsNot Nothing Then
Emit\PEModuleBuilder.vb (2)
440
If type.
ContainingType
IsNot Nothing Then
539
Debug.Assert(originalDefinition.
ContainingType
Is Nothing, "How did a nested type get forwarded?")
Emit\SpecializedNestedTypeReference.vb (1)
37
Return (DirectCast(context.Module, PEModuleBuilder)).Translate(m_UnderlyingNamedType.
ContainingType
, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\SymbolTranslator.vb (1)
167
Dim container As NamedTypeSymbol = namedTypeSymbol.
ContainingType
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
128
containingType = containingType.
ContainingType
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
141
containingType = containingType.
ContainingType
Semantics\AccessCheck.vb (11)
163
Dim containingType As NamedTypeSymbol = typeSym.
ContainingType
168
Return CheckMemberAccessibility(typeSym.
ContainingType
, typeSym.DeclaredAccessibility, within, Nothing, basesBeingResolved, useSiteInfo)
362
current = current.
ContainingType
399
current = current.
ContainingType
625
possiblyGeneric = possiblyGeneric.
ContainingType
699
containingType = containingType.
ContainingType
803
enclosingType = enclosingType.
ContainingType
829
Dim containingType As NamedTypeSymbol = probablyNestedType.
ContainingType
836
containingType = containingType.
ContainingType
938
Dim containerOfType As NamedTypeSymbol = type.
ContainingType
1008
Dim nextEnclosingType = enclosingType.
ContainingType
Semantics\Conversions.vb (2)
2838
source = source.
ContainingType
2839
destination = destination.
ContainingType
Semantics\OverloadResolution.vb (1)
5070
symbol = symbol.
ContainingType
Semantics\TypeInference\TypeArgumentInference.vb (4)
1108
possiblyGenericType = possiblyGenericType.
ContainingType
1333
possiblyGenericType = possiblyGenericType.
ContainingType
1527
parameterTypeAsNamedType = parameterTypeAsNamedType.
ContainingType
1528
argumentTypeAsNamedType = argumentTypeAsNamedType.
ContainingType
Symbols\AssemblySymbol.vb (2)
745
Debug.Assert(result.
ContainingType
Is Nothing OrElse IsValidWellKnownType(result.
ContainingType
),
Symbols\BaseTypeAnalysis.vb (1)
221
chain = GetDependenceChain(visited, root, currentNamedType.
ContainingType
)
Symbols\InstanceTypeSymbol.vb (4)
96
newContainer = DirectCast(Me.
ContainingType
.InternalSubstituteTypeParameters(substitution.Parent).AsTypeSymbolOnly(), NamedTypeSymbol)
98
newContainer = DirectCast(Me.
ContainingType
.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
101
Debug.Assert(Me.
ContainingType
IsNot Nothing)
212
Dim containing = Me.
ContainingType
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
77
Dim containingType = namedType.
ContainingType
Symbols\Metadata\PE\MetadataDecoder.vb (1)
226
symbol = symbol.
ContainingType
Symbols\Metadata\PE\SymbolFactory.vb (1)
105
typeToCheck = typeToCheck.
ContainingType
Symbols\Metadata\PE\TupleTypeDecoder.vb (2)
178
Dim containingType = type.
ContainingType
226
Dim parentSubst = type.ConstructedFrom.
ContainingType
?.TypeSubstitution
Symbols\MethodSymbol.vb (1)
557
type = type.
ContainingType
Symbols\MissingMetadataTypeSymbol.vb (1)
68
Return If(TryCast(
ContainingType
, ErrorTypeSymbol)?.ErrorInfo,
Symbols\NamedTypeSymbol.vb (4)
871
If
ContainingType
IsNot Nothing Then
872
Dim tmp =
ContainingType
.BaseTypeNoUseSiteDiagnostics
948
p = p.
ContainingType
1037
currentType = currentType.
ContainingType
Symbols\NamedTypeSymbolExtensions.vb (1)
90
current = current.
ContainingType
Symbols\Retargeting\RetargetingSymbolTranslator.vb (10)
218
Dim container = type.
ContainingType
224
container = container.
ContainingType
354
Dim containingType As NamedTypeSymbol = type.
ContainingType
410
Debug.Assert(type.
ContainingType
Is Nothing OrElse Not type.
ContainingType
.IsUnboundGenericType)
439
genericType = genericType.
ContainingType
483
genericType = genericType.
ContainingType
569
namedType = namedType.
ContainingType
1012
containingType = containingType.
ContainingType
1013
retargetedContainingType = retargetedContainingType.
ContainingType
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
390
container = container.
ContainingType
841
container = container.
ContainingType
852
container = container.
ContainingType
946
namedType = namedType.
ContainingType
Symbols\Source\SourceMemberMethodSymbol.vb (1)
240
container = container.
ContainingType
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
178
container = container.
ContainingType
Symbols\Source\SourceNamedTypeSymbol.vb (2)
2614
Dim container2 As NamedTypeSymbol = container1.
ContainingType
2620
container2 = container1.
ContainingType
Symbols\SubstitutedErrorType.vb (3)
81
Debug.Assert(substitution IsNot Nothing AndAlso substitution.TargetGenericDefinition Is Me.
ContainingType
.OriginalDefinition)
237
hash = Roslyn.Utilities.Hash.Combine(
ContainingType
, hash)
272
Dim containingType = Me.
ContainingType
Symbols\SubstitutedMethodSymbol.vb (1)
656
containerToCheck = containerToCheck.
ContainingType
Symbols\SubstitutedNamedType.vb (4)
508
hash = Roslyn.Utilities.Hash.Combine(
ContainingType
, hash)
544
Dim containingType = Me.
ContainingType
764
containerToCheck = containerToCheck.
ContainingType
1072
Dim containedType As NamedTypeSymbol = definition.
ContainingType
Symbols\SymbolExtensions.vb (2)
409
While upperLevelType.
ContainingType
IsNot Nothing
410
upperLevelType = upperLevelType.
ContainingType
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
419
container = container.
ContainingType
Symbols\TypeSymbolExtensions.vb (8)
540
inner = inner.
ContainingType
1152
Return type.
ContainingType
Is Nothing
1162
If type.
ContainingType
Is Nothing Then
1177
Dim containingType = type.
ContainingType
1194
type = type.
ContainingType
1219
type = type.
ContainingType
1307
namedTypeSymbol.
ContainingType
Is Nothing AndAlso
1318
namedTypeSymbol.
ContainingType
Is Nothing AndAlso
Symbols\UnboundGenericType.vb (2)
397
Dim originalDefinitionContainingType As NamedTypeSymbol = OriginalDefinition.
ContainingType
420
Dim originalDefinitionContainingType As NamedTypeSymbol = OriginalDefinition.
ContainingType
Symbols\WellKnownMembers.vb (2)
591
If named.
ContainingType
IsNot Nothing Then
606
If named.
ContainingType
IsNot Nothing Then
Utilities\TypeUnification.vb (4)
148
Return nt1.
ContainingType
Is Nothing OrElse CanUnifyHelper(containingGenericType, New TypeWithModifiers(nt1.
ContainingType
), New TypeWithModifiers(nt2.
ContainingType
), substitution)
253
namedType = namedType.
ContainingType
Utilities\VarianceAmbiguity.vb (2)
76
nestingType1 = nestingType1.
ContainingType
77
nestingType2 = nestingType2.
ContainingType