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)
145Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
244Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
333Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1213Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
166Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (1)
94Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
69 references to ContainingType
Microsoft.CodeAnalysis.VisualBasic (69)
Emit\NamedTypeSymbolAdapter.vb (11)
111If AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.ContainingType Is Nothing Then 122If AdaptedNamedTypeSymbol.ContainingType Is Nothing AndAlso AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.ContainingModule.Equals(moduleBeingBuilt.SourceModule) Then 131If AdaptedNamedTypeSymbol.ContainingType IsNot Nothing Then 146If AdaptedNamedTypeSymbol.ContainingType IsNot Nothing AndAlso AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.ContainingModule.Equals(moduleBeingBuilt.SourceModule) Then 157Debug.Assert(AdaptedNamedTypeSymbol.ContainingType IsNot Nothing AndAlso AdaptedNamedTypeSymbol.ContainingType.IsOrInGenericType()) 196If AdaptedNamedTypeSymbol.ContainingType Is Nothing Then 807Return moduleBeingBuilt.Translate(AdaptedNamedTypeSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=AdaptedNamedTypeSymbol.IsDefinition) 814Debug.Assert(AdaptedNamedTypeSymbol.ContainingType IsNot Nothing) 817Return AdaptedNamedTypeSymbol.ContainingType.GetCciAdapter() 824Debug.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)
869If ContainingType IsNot Nothing Then 870Dim tmp = ContainingType.BaseTypeNoUseSiteDiagnostics 946p = p.ContainingType 1035currentType = currentType.ContainingType
Symbols\NamedTypeSymbolExtensions.vb (1)
90current = current.ContainingType
Symbols\Retargeting\RetargetingSymbolTranslator.vb (10)
221Dim container = type.ContainingType 227container = container.ContainingType 357Dim containingType As NamedTypeSymbol = type.ContainingType 413Debug.Assert(type.ContainingType Is Nothing OrElse Not type.ContainingType.IsUnboundGenericType) 442genericType = genericType.ContainingType 486genericType = genericType.ContainingType 572namedType = namedType.ContainingType 1015containingType = containingType.ContainingType 1016retargetedContainingType = retargetedContainingType.ContainingType
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
388container = container.ContainingType 839container = container.ContainingType 850container = container.ContainingType 944namedType = namedType.ContainingType
Symbols\Source\SourceMemberMethodSymbol.vb (1)
239container = container.ContainingType
Symbols\Source\SourceNamedTypeSymbol.vb (2)
2519Dim container2 As NamedTypeSymbol = container1.ContainingType 2525container2 = container1.ContainingType
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
176container = 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)
502hash = Roslyn.Utilities.Hash.Combine(ContainingType, hash) 538Dim containingType = Me.ContainingType 758containerToCheck = containerToCheck.ContainingType 1066Dim containedType As NamedTypeSymbol = definition.ContainingType
Symbols\SymbolExtensions.vb (2)
409While upperLevelType.ContainingType IsNot Nothing 410upperLevelType = upperLevelType.ContainingType
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
412container = 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)
390Dim originalDefinitionContainingType As NamedTypeSymbol = OriginalDefinition.ContainingType 413Dim originalDefinitionContainingType As NamedTypeSymbol = OriginalDefinition.ContainingType