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