Base:
property
ContainingType
Microsoft.CodeAnalysis.VisualBasic.Microsoft.CodeAnalysis.VisualBasic.Symbol.ContainingType
6 overrides of ContainingType
Microsoft.CodeAnalysis.VisualBasic (6)
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
152Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
251Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
336Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1214Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
167Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (1)
95Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
69 references to ContainingType
Microsoft.CodeAnalysis.VisualBasic (69)
Emit\NamedTypeSymbolAdapter.vb (11)
112If AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.ContainingType Is Nothing Then 123If AdaptedNamedTypeSymbol.ContainingType Is Nothing AndAlso AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.ContainingModule.Equals(moduleBeingBuilt.SourceModule) Then 132If AdaptedNamedTypeSymbol.ContainingType IsNot Nothing Then 147If AdaptedNamedTypeSymbol.ContainingType IsNot Nothing AndAlso AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.ContainingModule.Equals(moduleBeingBuilt.SourceModule) Then 158Debug.Assert(AdaptedNamedTypeSymbol.ContainingType IsNot Nothing AndAlso AdaptedNamedTypeSymbol.ContainingType.IsOrInGenericType()) 197If AdaptedNamedTypeSymbol.ContainingType Is Nothing Then 808Return moduleBeingBuilt.Translate(AdaptedNamedTypeSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=AdaptedNamedTypeSymbol.IsDefinition) 815Debug.Assert(AdaptedNamedTypeSymbol.ContainingType IsNot Nothing) 818Return AdaptedNamedTypeSymbol.ContainingType.GetCciAdapter() 825Debug.Assert(AdaptedNamedTypeSymbol.ContainingType IsNot Nothing)
Symbols\AssemblySymbol.vb (2)
725Debug.Assert(result.ContainingType Is Nothing OrElse IsValidWellKnownType(result.ContainingType),
Symbols\BaseTypeAnalysis.vb (1)
221chain = GetDependenceChain(visited, root, currentNamedType.ContainingType)
Symbols\InstanceTypeSymbol.vb (4)
96newContainer = DirectCast(Me.ContainingType.InternalSubstituteTypeParameters(substitution.Parent).AsTypeSymbolOnly(), NamedTypeSymbol) 98newContainer = DirectCast(Me.ContainingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly(), NamedTypeSymbol) 101Debug.Assert(Me.ContainingType IsNot Nothing) 212Dim containing = Me.ContainingType
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
77Dim containingType = namedType.ContainingType
Symbols\Metadata\PE\MetadataDecoder.vb (1)
226symbol = symbol.ContainingType
Symbols\Metadata\PE\SymbolFactory.vb (1)
105typeToCheck = typeToCheck.ContainingType
Symbols\Metadata\PE\TupleTypeDecoder.vb (2)
178Dim containingType = type.ContainingType 226Dim parentSubst = type.ConstructedFrom.ContainingType?.TypeSubstitution
Symbols\MissingMetadataTypeSymbol.vb (1)
68Return If(TryCast(ContainingType, ErrorTypeSymbol)?.ErrorInfo,
Symbols\NamedTypeSymbol.vb (4)
871If ContainingType IsNot Nothing Then 872Dim tmp = ContainingType.BaseTypeNoUseSiteDiagnostics 948p = p.ContainingType 1037currentType = currentType.ContainingType
Symbols\NamedTypeSymbolExtensions.vb (1)
90current = current.ContainingType
Symbols\Retargeting\RetargetingSymbolTranslator.vb (10)
218Dim container = type.ContainingType 224container = container.ContainingType 354Dim containingType As NamedTypeSymbol = type.ContainingType 410Debug.Assert(type.ContainingType Is Nothing OrElse Not type.ContainingType.IsUnboundGenericType) 439genericType = genericType.ContainingType 483genericType = genericType.ContainingType 569namedType = namedType.ContainingType 1012containingType = containingType.ContainingType 1013retargetedContainingType = retargetedContainingType.ContainingType
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
389container = container.ContainingType 840container = container.ContainingType 851container = container.ContainingType 945namedType = namedType.ContainingType
Symbols\Source\SourceMemberMethodSymbol.vb (1)
240container = container.ContainingType
Symbols\Source\SourceNamedTypeSymbol.vb (2)
2570Dim container2 As NamedTypeSymbol = container1.ContainingType 2576container2 = container1.ContainingType
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
178container = container.ContainingType
Symbols\SubstitutedErrorType.vb (3)
81Debug.Assert(substitution IsNot Nothing AndAlso substitution.TargetGenericDefinition Is Me.ContainingType.OriginalDefinition) 237hash = Roslyn.Utilities.Hash.Combine(ContainingType, hash) 272Dim containingType = Me.ContainingType
Symbols\SubstitutedMethodSymbol.vb (1)
656containerToCheck = containerToCheck.ContainingType
Symbols\SubstitutedNamedType.vb (4)
508hash = Roslyn.Utilities.Hash.Combine(ContainingType, hash) 544Dim containingType = Me.ContainingType 764containerToCheck = containerToCheck.ContainingType 1072Dim containedType As NamedTypeSymbol = definition.ContainingType
Symbols\SymbolExtensions.vb (2)
409While upperLevelType.ContainingType IsNot Nothing 410upperLevelType = upperLevelType.ContainingType
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
419container = container.ContainingType
Symbols\TypeSubstitution.vb (1)
470container = container.ContainingType
Symbols\TypeSymbolExtensions.vb (8)
540inner = inner.ContainingType 1152Return type.ContainingType Is Nothing 1162If type.ContainingType Is Nothing Then 1177Dim containingType = type.ContainingType 1194type = type.ContainingType 1219type = type.ContainingType 1307namedTypeSymbol.ContainingType Is Nothing AndAlso 1318namedTypeSymbol.ContainingType Is Nothing AndAlso
Symbols\UnboundGenericType.vb (2)
397Dim originalDefinitionContainingType As NamedTypeSymbol = OriginalDefinition.ContainingType 420Dim originalDefinitionContainingType As NamedTypeSymbol = OriginalDefinition.ContainingType