13 references to IsModuleType
Microsoft.CodeAnalysis.VisualBasic (12)
Binding\Binder_Expressions.vb (4)
2214
Me.ContainingType.
IsModuleType
2218
Me.ContainingType.
IsModuleType
OrElse
2243
If(containingType IsNot Nothing AndAlso containingType.
IsModuleType
,
2303
If Me.ContainingType IsNot Nothing AndAlso Me.ContainingType.
IsModuleType
Then
Binding\Binder_Lookup.vb (2)
955
Debug.Assert(type.IsClassType OrElse type.
IsModuleType
OrElse type.IsStructureType OrElse type.IsDelegateType)
1169
Not container.
IsModuleType
()
Binding\Binder_Symbols.vb (1)
67
ElseIf type.
IsModuleType
Then
Symbols\Source\ImplementsHelper.vb (1)
111
ElseIf container.
IsModuleType
Then
Symbols\Source\SourceEventSymbol.vb (1)
261
ElseIf IsShared AndAlso Not _containingType.
IsModuleType
Then
Symbols\Source\SourceMemberMethodSymbol.vb (2)
395
If Me.IsShared And Not ContainingType.
IsModuleType
Then
611
If Me.ContainingType.
IsModuleType
AndAlso singleHandleClause.EventContainer.Kind <> SyntaxKind.WithEventsEventContainer Then
Symbols\Source\SourcePropertySymbol.vb (1)
1106
If prop.IsShared And Not containingType.
IsModuleType
Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\GetSemanticInfoTests.vb (1)
1275
Assert.True(a.
IsModuleType
)