5 overrides of ContainingType
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\BackstopBinder.vb (1)
86Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Binding\NamedTypeBinder.vb (1)
160Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Binding\NamespaceBinder.vb (1)
46Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (2)
Binders\EENamedTypeBinder.vb (1)
28Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Binders\ParametersAndLocalsBinder.vb (1)
68Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
41 references to ContainingType
Microsoft.CodeAnalysis.VisualBasic (39)
Binding\Binder.vb (1)
389Return m_containingBinder.ContainingType
Binding\Binder_Expressions.vb (19)
1120If ContainingType Is classType AndAlso Not ContainingMember.IsShared Then 1297Return ContainingType 2214Me.ContainingType.IsModuleType 2218Me.ContainingType.IsModuleType OrElse 2230Dim containingType = Me.ContainingType 2267If ContainingType.IsStructureType Then 2273Debug.Assert(ContainingType.IsClassType) 2303If Me.ContainingType IsNot Nothing AndAlso Me.ContainingType.IsModuleType Then 2316Return New BoundMeReference(node, If(Me.ContainingType, ErrorTypeSymbol.UnknownResultType), hasErrors:=True) 2325Dim result = New BoundMeReference(node, If(Me.ContainingType, ErrorTypeSymbol.UnknownResultType)) 2339Return New BoundMyBaseReference(node, If(Me.ContainingType IsNot Nothing, Me.ContainingType.BaseTypeNoUseSiteDiagnostics, ErrorTypeSymbol.UnknownResultType), hasErrors:=True) 2343Return New BoundMyBaseReference(node, If(Me.ContainingType IsNot Nothing, Me.ContainingType.BaseTypeNoUseSiteDiagnostics, ErrorTypeSymbol.UnknownResultType)) 2351Return New BoundMyClassReference(node, If(Me.ContainingType, ErrorTypeSymbol.UnknownResultType), hasErrors:=True) 2355Return New BoundMyClassReference(node, If(Me.ContainingType, ErrorTypeSymbol.UnknownResultType)) 2532Dim containingType = Me.ContainingType 2720If isInstanceMember AndAlso (Not CanAccessMe(implicitReference:=True, errorId:=err) OrElse Not BindSimpleNameIsMemberOfType(leftSymbol, ContainingType)) Then
Binding\Binder_Statements.vb (5)
970If Me.ContainingType IsNot Nothing AndAlso Me.ContainingType.TypeKind = TYPEKIND.Structure Then 2437ReportDiagnostic(diagnostics, node.Name, ERRID.ERR_NameNotEvent2, node.Name.ToString, Me.ContainingType) 2461If Not IsAccessible(eventField, useSiteInfo, Me.ContainingType) Then 2525If Not TypeSymbol.Equals(fireMethod.ContainingType, Me.ContainingType, TypeCompareKind.ConsiderEverything) Then
Binding\Binder_Symbols.vb (1)
714Dim typeWithBaseBeingResolved As NamedTypeSymbol = binder.ContainingType
Binding\BinderFactory.vb (6)
171Debug.Assert(TypeOf containingBinder Is NamedTypeBinder AndAlso containingBinder.ContainingType.IsScriptClass) 172Return New TopLevelCodeBinder(containingBinder.ContainingType.InstanceConstructors.Single(), containingBinder) 531If containingBinder.ContainingType IsNot Nothing Then 533DirectCast(parent, MethodBaseSyntax), _tree, containingBinder.ContainingType) 539If containingBinder.ContainingType IsNot Nothing Then 541DirectCast(parent, MethodBaseSyntax), _tree, containingBinder.ContainingType)
Binding\DocumentationCommentCrefBinder.vb (1)
517CollectOperatorsAndConversionsInType(reference, argCount, Me.ContainingType, symbols, useSiteInfo)
Compilation\SemanticModel.vb (2)
1117Dim containingType As NamedTypeSymbol = binder.ContainingType 1833Dim containingType = binder.ContainingType
Compilation\SyntaxTreeSemanticModel.vb (3)
888Return CheckSymbolLocationsAgainstSyntax(DirectCast(binder.ContainingType, NamedTypeSymbol), declarationSyntax) 907Return CheckSymbolLocationsAgainstSyntax(DirectCast(binder.ContainingType, NamedTypeSymbol), declarationSyntax) 926Return CheckSymbolLocationsAgainstSyntax(DirectCast(binder.ContainingType, NamedTypeSymbol), declarationSyntax)
Lowering\Diagnostics\DiagnosticsPass.vb (1)
140Dim containingType = withBlockBinder.ContainingType
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (2)
Binders\EENamedTypeBinder.vb (2)
30Return _sourceBinder.ContainingType 87_sourceBinder.ContainingType.AppendProbableExtensionMethods(name, methods)