Base:
property
ContainingType
Microsoft.CodeAnalysis.VisualBasic.Microsoft.CodeAnalysis.VisualBasic.Symbol.ContainingType
30 references to ContainingType
Microsoft.CodeAnalysis.VisualBasic (30)
Symbols\Source\CustomEventAccessorSymbol.vb (1)
65Dim type = DirectCast(Me.ContainingType, SourceMemberContainerTypeSymbol)
Symbols\Source\SourceDeclareMethodSymbol.vb (1)
44If ContainingType.TypeKind <> TypeKind.Module Then
Symbols\Source\SourceDelegateMethodSymbol.vb (2)
281MyBase.New(invoke.ContainingType, 327MyBase.New(invoke.ContainingType,
Symbols\Source\SourceMemberMethodSymbol.vb (17)
222Not methodImpl.ContainingType.IsInterfaceType() Then 224Dim container As NamedTypeSymbol = methodImpl.ContainingType 333Dim containingSourceType = TryCast(ContainingType, SourceNamedTypeSymbol) 394Dim binder As Binder = BinderBuilder.CreateBinderForType(sourceModule, Me.SyntaxTree, ContainingType) 395If Me.IsShared And Not ContainingType.IsModuleType Then 405Return ProcessImplementsClause(Of MethodSymbol)(syntax.ImplementsClause, Me, DirectCast(ContainingType, SourceMemberContainerTypeSymbol), binder, diagBag) 611If Me.ContainingType.IsModuleType AndAlso singleHandleClause.EventContainer.Kind <> SyntaxKind.WithEventsEventContainer Then 623eventContainingType = Me.ContainingType 627eventContainingType = Me.ContainingType 631eventContainingType = Me.ContainingType.BaseTypeNoUseSiteDiagnostics 658Dim isFromBase = Not TypeSymbol.Equals(witheventsProperty.ContainingType, Me.ContainingType, TypeCompareKind.ConsiderEverything) 695witheventsPropertyInCurrentClass = DirectCast(Me.ContainingType, SourceNamedTypeSymbol).GetOrAddWithEventsOverride(witheventsProperty) 755Select Case ContainingType.TypeKind 764Throw ExceptionUtilities.UnexpectedValue(ContainingType.TypeKind) 778hookupMethod = Me.ContainingType.SharedConstructors(0) ' There will only be one in a correct program. 781Dim instanceCtors = Me.ContainingType.InstanceConstructors 794receiverOpt = New BoundMeReference(singleHandleClause, Me.ContainingType).MakeCompilerGenerated
Symbols\Source\SourceMethodSymbol.vb (9)
1223Dim containingType = DirectCast(Me.ContainingType, SourceNamedTypeSymbol) 1788If Me.ContainingType IsNot Nothing AndAlso Me.ContainingType.IsInterface Then 1793If Me.IsGenericMethod OrElse (Me.ContainingType IsNot Nothing AndAlso Me.ContainingType.IsGenericType) Then 1807Not methodImpl.ContainingType.IsInterfaceType() Then 1908If ContainingType.IsComImport AndAlso Not ContainingType.IsInterface Then 1951Return Me.ContainingType.IsInterface AndAlso