Base:
property
ContainingType
Microsoft.CodeAnalysis.VisualBasic.Symbol.ContainingType
7 overrides of ContainingType
Microsoft.CodeAnalysis.VisualBasic (7)
Lowering\StateMachineRewriter\SynthesizedContainer.vb (1)
250Public NotOverridable Overrides ReadOnly Property ContainingType As NamedTypeSymbol
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)
1215Public 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
107 references to ContainingType
Microsoft.CodeAnalysis.VisualBasic (107)
Binding\Binder_Attributes.vb (1)
345container = container.ContainingType
Binding\Binder_Conversions.vb (2)
889source = source.ContainingType 890destination = destination.ContainingType
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.vb (1)
116curr = curr.ContainingType
Emit\GenericNestedTypeInstanceReference.vb (1)
23Return (DirectCast(context.Module, PEModuleBuilder)).Translate(m_UnderlyingNamedType.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
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 153If AdaptedNamedTypeSymbol.ContainingType IsNot Nothing AndAlso AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.ContainingModule.Equals(moduleBeingBuilt.SourceModule) Then 164Debug.Assert(AdaptedNamedTypeSymbol.ContainingType IsNot Nothing AndAlso AdaptedNamedTypeSymbol.ContainingType.IsOrInGenericType()) 203If AdaptedNamedTypeSymbol.ContainingType Is Nothing Then 814Return moduleBeingBuilt.Translate(AdaptedNamedTypeSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=AdaptedNamedTypeSymbol.IsDefinition) 821Debug.Assert(AdaptedNamedTypeSymbol.ContainingType IsNot Nothing) 824Return AdaptedNamedTypeSymbol.ContainingType.GetCciAdapter() 831Debug.Assert(AdaptedNamedTypeSymbol.ContainingType IsNot Nothing)
Emit\NoPia\EmbeddedTypesManager.vb (1)
277If type.ContainingType IsNot Nothing Then
Emit\PEModuleBuilder.vb (2)
440If type.ContainingType IsNot Nothing Then 539Debug.Assert(originalDefinition.ContainingType Is Nothing, "How did a nested type get forwarded?")
Emit\SpecializedNestedTypeReference.vb (1)
37Return (DirectCast(context.Module, PEModuleBuilder)).Translate(m_UnderlyingNamedType.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\SymbolTranslator.vb (1)
167Dim container As NamedTypeSymbol = namedTypeSymbol.ContainingType
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
128containingType = containingType.ContainingType
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
141containingType = containingType.ContainingType
Semantics\AccessCheck.vb (11)
163Dim containingType As NamedTypeSymbol = typeSym.ContainingType 168Return CheckMemberAccessibility(typeSym.ContainingType, typeSym.DeclaredAccessibility, within, Nothing, basesBeingResolved, useSiteInfo) 362current = current.ContainingType 399current = current.ContainingType 625possiblyGeneric = possiblyGeneric.ContainingType 699containingType = containingType.ContainingType 803enclosingType = enclosingType.ContainingType 829Dim containingType As NamedTypeSymbol = probablyNestedType.ContainingType 836containingType = containingType.ContainingType 938Dim containerOfType As NamedTypeSymbol = type.ContainingType 1008Dim nextEnclosingType = enclosingType.ContainingType
Semantics\Conversions.vb (2)
2838source = source.ContainingType 2839destination = destination.ContainingType
Semantics\OverloadResolution.vb (1)
5070symbol = symbol.ContainingType
Semantics\TypeInference\TypeArgumentInference.vb (4)
1108possiblyGenericType = possiblyGenericType.ContainingType 1333possiblyGenericType = possiblyGenericType.ContainingType 1527parameterTypeAsNamedType = parameterTypeAsNamedType.ContainingType 1528argumentTypeAsNamedType = argumentTypeAsNamedType.ContainingType
Symbols\AssemblySymbol.vb (2)
745Debug.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\MethodSymbol.vb (1)
557type = type.ContainingType
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)
390container = container.ContainingType 841container = container.ContainingType 852container = container.ContainingType 946namedType = namedType.ContainingType
Symbols\Source\SourceMemberMethodSymbol.vb (1)
240container = container.ContainingType
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
178container = container.ContainingType
Symbols\Source\SourceNamedTypeSymbol.vb (2)
2614Dim container2 As NamedTypeSymbol = container1.ContainingType 2620container2 = container1.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\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
Symbols\WellKnownMembers.vb (2)
591If named.ContainingType IsNot Nothing Then 606If named.ContainingType IsNot Nothing Then
Utilities\TypeUnification.vb (4)
148Return nt1.ContainingType Is Nothing OrElse CanUnifyHelper(containingGenericType, New TypeWithModifiers(nt1.ContainingType), New TypeWithModifiers(nt2.ContainingType), substitution) 253namedType = namedType.ContainingType
Utilities\VarianceAmbiguity.vb (2)
76nestingType1 = nestingType1.ContainingType 77nestingType2 = nestingType2.ContainingType