Base:
property
TypeKind
Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol.TypeKind
131 references to TypeKind
Microsoft.CodeAnalysis.VisualBasic (131)
Binding\Binder_Utils.vb (2)
1160Select Case container.TypeKind 1240Select Case container.TypeKind
Compilation\DocumentationComments\DocumentationCommentCompiler.NamedType.vb (5)
107If namedType.TypeKind = TypeKind.Delegate Then 116If namedType.TypeKind = TypeKind.Delegate Then 127If namedType.TypeKind = TypeKind.Enum Then 132ElseIf namedType.TypeKind = TypeKind.Enum OrElse namedType.TypeKind = TypeKind.Module Then
Compilation\MethodCompiler.vb (1)
866If sourceTypeSymbol.TypeKind = TypeKind.Class AndAlso sourceTypeSymbol.GetAttributes().IndexOfAttribute(AttributeDescription.DesignerGeneratedAttribute) > -1 Then
Compilation\VisualBasicCompilation.vb (3)
1545If mainType Is Nothing OrElse (mainType.TypeKind <> TYPEKIND.Class AndAlso mainType.TypeKind <> TYPEKIND.Structure AndAlso mainType.TypeKind <> TYPEKIND.Module) Then
Lowering\LocalRewriter\LocalRewriter_PreviousSubmissionReference.vb (1)
15Debug.Assert(targetType.TypeKind = TypeKind.Submission)
Symbols\BaseTypeAnalysis.vb (1)
124If this.TypeKind = TypeKind.Class Then
Symbols\Source\ImplicitNamedTypeSymbol.vb (2)
59Return If(Me.TypeKind = TypeKind.Submission, Nothing, baseType)
Symbols\Source\OverrideHidingHelper.vb (1)
26Select Case container.TypeKind
Symbols\Source\SourceMemberContainerTypeSymbol.vb (48)
35[Class] = CUShort(TypeKind.Class) << TypeKindShift 36[Structure] = CUShort(TypeKind.Structure) << TypeKindShift 37[Interface] = CUShort(TypeKind.Interface) << TypeKindShift 38[Enum] = CUShort(TypeKind.Enum) << TypeKindShift 39[Delegate] = CUShort(TypeKind.Delegate) << TypeKindShift 40[Module] = CUShort(TypeKind.Module) << TypeKindShift 41Submission = CUShort(TypeKind.Submission) << TypeKindShift 245If type.TypeKind = TypeKind.Module Then 338Select Case Me.TypeKind 339Case TypeKind.Interface 342Case TypeKind.Delegate 345Case TypeKind.Class, TypeKind.Enum, TypeKind.Structure 348Case TypeKind.Module, TypeKind.Submission 350Throw ExceptionUtilities.UnexpectedValue(Me.TypeKind) 1269Return Me.TypeKind = TypeKind.Interface 1647If TypeKind <> TypeKind.Delegate Then 2675propertySymbol.ContainingType.TypeKind = TypeKind.Structure Then 2726If TypeKind = TypeKind.Submission Then 2739ElseIf TypeKind = TypeKind.Class OrElse 2740TypeKind = TypeKind.Structure OrElse 2741TypeKind = TypeKind.Enum OrElse 2742(TypeKind = TypeKind.Module AndAlso isShared) Then 2790If TypeKind <> TypeKind.Structure OrElse isShared Then 2805If TypeKind = TypeKind.Submission Then 2808ElseIf TypeKind = TypeKind.Class OrElse TypeKind = TypeKind.Module Then 3501Dim myTypeKind As TypeKind = Me.TypeKind 3504If myTypeKind = TypeKind.Class OrElse myTypeKind = TypeKind.Interface OrElse myTypeKind = TypeKind.Structure OrElse myTypeKind = TypeKind.Module Then 3508Dim canDeclareOperators As Boolean = (myTypeKind <> TypeKind.Module AndAlso myTypeKind <> TypeKind.Interface)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
529If container.TypeKind = TypeKind.Structure AndAlso
Symbols\Source\SourceMethodSymbol.vb (4)
98If container.TypeKind = TYPEKIND.Structure Then 231If container.TypeKind = TYPEKIND.Module Then 239ElseIf container.TypeKind = TYPEKIND.Structure Then 407If container.TypeKind = TYPEKIND.Structure AndAlso methodSym.ParameterCount = 0 Then
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (9)
17If Me.TypeKind = TypeKind.Class AndAlso Not Me.IsGenericType Then 216If named.TypeKind = TypeKind.Class AndAlso Not named.IsNotInheritable Then 250named.TypeKind = TypeKind.Class AndAlso 292Debug.Assert(candidate.TypeKind = TypeKind.Class) 315Debug.Assert(Me.TypeKind = TypeKind.Class)
Symbols\Source\SourceNamedTypeSymbol.vb (53)
247If TypeKind = TypeKind.Delegate Then 275ElseIf TypeKind = TypeKind.Enum Then 1117Case TypeKind.TypeParameter 1121Case TypeKind.Interface, TypeKind.Enum, TypeKind.Delegate, TypeKind.Structure, TypeKind.Module, TypeKind.Array ' array can't really occur 1125Case TypeKind.Error, TypeKind.Unknown 1128Case TypeKind.Class 1188Case TypeKind.TypeParameter 1192Case TypeKind.Unknown 1195Case TypeKind.Interface, TypeKind.Error 1239Case TypeKind.TypeParameter 1243Case TypeKind.Unknown 1246Case TypeKind.Interface, TypeKind.Error 1381Select Case TypeKind 1382Case TypeKind.Submission 1388Case TypeKind.Class 1391Case TypeKind.Interface 1394Case TypeKind.Enum 1397Case TypeKind.Structure 1400Case TypeKind.Delegate 1403Case TypeKind.Module 1407Throw ExceptionUtilities.UnexpectedValue(TypeKind) 1510Debug.Assert(Me.TypeKind <> TypeKind.Interface) 1512If TypeKind = TypeKind.Enum Then 1515ElseIf TypeKind = TypeKind.Delegate Then 1724TypeKind <> TypeKind.Class OrElse 2266Select Case Me.TypeKind 2267Case TypeKind.Class 2294Case TypeKind.Interface 2314Case TypeKind.Module 2349Dim defaultAutoLayoutSize = If(Me.TypeKind = TypeKind.Structure, 1, 0) 2484If Me.TypeKind = TypeKind.Module Then 2539If Me.TypeKind = TypeKind.Structure Then 2589If Me.TypeKind = TypeKind.Module Then 2735If Me.TypeKind = TypeKind.Class AndAlso Not Me.IsGenericType Then