Base:
property
TypeKind
Microsoft.CodeAnalysis.VisualBasic.Symbols.TypeSymbol.TypeKind
54 references to TypeKind
Microsoft.CodeAnalysis.VisualBasic (52)
Binding\Binder_Utils.vb (2)
1160
Select Case container.
TypeKind
1240
Select Case container.
TypeKind
Compilation\DocumentationComments\DocumentationCommentCompiler.NamedType.vb (5)
107
If namedType.
TypeKind
= TypeKind.Delegate Then
116
If namedType.
TypeKind
= TypeKind.Delegate Then
127
If namedType.
TypeKind
= TypeKind.Enum Then
132
ElseIf namedType.
TypeKind
= TypeKind.Enum OrElse namedType.
TypeKind
= TypeKind.Module Then
Compilation\MethodCompiler.vb (1)
856
If sourceTypeSymbol.
TypeKind
= TypeKind.Class AndAlso sourceTypeSymbol.GetAttributes().IndexOfAttribute(sourceTypeSymbol, AttributeDescription.DesignerGeneratedAttribute) > -1 Then
Compilation\VisualBasicCompilation.vb (3)
1538
If 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)
15
Debug.Assert(targetType.
TypeKind
= TypeKind.Submission)
Symbols\BaseTypeAnalysis.vb (1)
124
If this.
TypeKind
= TypeKind.Class Then
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
58
Return If(Me.
TypeKind
= TypeKind.Submission, Nothing, baseType)
Symbols\Source\OverrideHidingHelper.vb (1)
26
Select Case container.
TypeKind
Symbols\Source\SourceMemberContainerTypeSymbol.vb (15)
243
If type.
TypeKind
= TypeKind.Module Then
336
Select Case Me.
TypeKind
348
Throw ExceptionUtilities.UnexpectedValue(Me.
TypeKind
)
1276
Return Me.
TypeKind
= TypeKind.Interface
1654
If
TypeKind
<> TypeKind.Delegate Then
2714
If
TypeKind
= TypeKind.Submission Then
2727
ElseIf
TypeKind
= TypeKind.Class OrElse
2728
TypeKind
= TypeKind.Structure OrElse
2729
TypeKind
= TypeKind.Enum OrElse
2730
(
TypeKind
= TypeKind.Module AndAlso isShared) Then
2778
If
TypeKind
<> TypeKind.Structure OrElse isShared Then
2793
If
TypeKind
= TypeKind.Submission Then
2796
ElseIf
TypeKind
= TypeKind.Class OrElse
TypeKind
= TypeKind.Module Then
3489
Dim myTypeKind As TypeKind = Me.
TypeKind
Symbols\Source\SourceMemberFieldSymbol.vb (1)
515
If container.
TypeKind
= TypeKind.Structure AndAlso
Symbols\Source\SourceMethodSymbol.vb (4)
97
If container.
TypeKind
= TYPEKIND.Structure Then
230
If container.
TypeKind
= TYPEKIND.Module Then
238
ElseIf container.
TypeKind
= TYPEKIND.Structure Then
406
If container.
TypeKind
= TYPEKIND.Structure AndAlso methodSym.ParameterCount = 0 Then
Symbols\Source\SourceNamedTypeSymbol.vb (13)
240
If
TypeKind
= TypeKind.Delegate Then
268
ElseIf
TypeKind
= TypeKind.Enum Then
1374
Select Case
TypeKind
1400
Throw ExceptionUtilities.UnexpectedValue(
TypeKind
)
1498
Debug.Assert(Me.
TypeKind
<> TypeKind.Interface)
1500
If
TypeKind
= TypeKind.Enum Then
1503
ElseIf
TypeKind
= TypeKind.Delegate Then
2177
Select Case Me.
TypeKind
2260
Dim defaultAutoLayoutSize = If(Me.
TypeKind
= TypeKind.Structure, 1, 0)
2391
If Me.
TypeKind
= TypeKind.Module Then
2441
If Me.
TypeKind
= TypeKind.Structure Then
2484
If Me.
TypeKind
= TypeKind.Module Then
2609
If Me.
TypeKind
= TypeKind.Class AndAlso Not Me.IsGenericType Then
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (4)
17
If Me.
TypeKind
= TypeKind.Class AndAlso Not Me.IsGenericType Then
250
named.
TypeKind
= TypeKind.Class AndAlso
301
If Me.
TypeKind
= TypeKind.Class Then
309
Debug.Assert(Me.
TypeKind
= TypeKind.Class)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolsTests\Retargeting\RetargetingTests.vb (2)
1013
Assert.Equal(TypeKind.Delegate, CType(sourceType.GetMembers.Item(1), SourceNamedTypeSymbol).
TypeKind
)
1014
Assert.Equal(TypeKind.Delegate, CType(sourceType.GetMembers.Item(2), SourceNamedTypeSymbol).
TypeKind
)