14 overrides of TypeKind
Microsoft.CodeAnalysis.VisualBasic (14)
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
63
Public MustOverride Overrides ReadOnly Property
TypeKind
As TYPEKIND
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
120
Public MustOverride Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\ArrayTypeSymbol.vb (1)
256
Public Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\ErrorTypeSymbol.vb (1)
109
Public NotOverridable Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
996
Public Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
413
Public Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1259
Public Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
956
Public Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\SubstitutedNamedType.vb (1)
206
Public NotOverridable Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
360
Public Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (1)
265
Public Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\TypeParameterSymbol.vb (1)
146
Public NotOverridable Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\UnboundGenericType.vb (1)
203
Public Overrides ReadOnly Property
TypeKind
As TypeKind
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (1)
78
Public Overrides ReadOnly Property
TypeKind
As TypeKind
75 references to TypeKind
Microsoft.CodeAnalysis.VisualBasic (75)
Emit\NamedTypeSymbolAdapter.vb (4)
42
Return AdaptedNamedTypeSymbol.
TypeKind
= TypeKind.Enum
236
If AdaptedNamedTypeSymbol.
TypeKind
= TypeKind.Submission Then
454
Select Case AdaptedNamedTypeSymbol.
TypeKind
965
Select Case Me.
TypeKind
Symbols\ArrayTypeSymbol.vb (1)
356
While (current.
TypeKind
= TypeKind.Array)
Symbols\AssemblySymbol.vb (1)
721
If result Is Nothing OrElse result.
TypeKind
= TypeKind.Error Then
Symbols\BaseTypeAnalysis.vb (1)
233
If currentNamedType.
TypeKind
= TypeKind.Class Then
Symbols\ConstraintsHelper.vb (12)
161
Select Case constraintType.
TypeKind
259
Throw ExceptionUtilities.UnexpectedValue(constraintType.
TypeKind
)
836
Select Case baseType.
TypeKind
844
Debug.Assert(baseType.
TypeKind
<> TypeKind.TypeParameter)
938
Select Case typeArgument.
TypeKind
954
Dim isStructure As Boolean = typeArgument.
TypeKind
= TypeKind.Structure
958
If typeArgument.
TypeKind
= TypeKind.Class OrElse isStructure Then
1122
If type.
TypeKind
= TypeKind.TypeParameter Then
1166
Debug.Assert(type.
TypeKind
= TypeKind.Class OrElse type.
TypeKind
= TypeKind.Structure)
1168
Dim sourceClass = If(type.
TypeKind
= TypeKind.Class, TryCast(type, SourceNamedTypeSymbol), Nothing)
1195
If Not type.
TypeKind
= TypeKind.Structure Then
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (2)
333
Debug.Assert(type.
TypeKind
= TypeKind.Module OrElse type.
TypeKind
= TypeKind.Class AndAlso type.IsNotInheritable)
Symbols\EventSymbol.vb (1)
170
If type IsNot Nothing AndAlso type.
TypeKind
= TypeKind.Delegate Then
Symbols\Metadata\PE\MetadataDecoder.vb (1)
348
Select Case candidate.
TypeKind
Symbols\Metadata\PE\TupleTypeDecoder.vb (1)
166
Throw ExceptionUtilities.UnexpectedValue(type.
TypeKind
)
Symbols\MethodSymbol.vb (1)
587
If firstType.
TypeKind
<> TypeKind.Array Then
Symbols\NamedTypeSymbol.vb (13)
232
If
TypeKind
<> TypeKind.Delegate Then
444
Return
TypeKind
<> TypeKind.Enum AndAlso
TypeKind
<> TypeKind.Structure AndAlso
445
TypeKind
<> TypeKind.Error
457
Return
TypeKind
= TypeKind.Enum OrElse
TypeKind
= TypeKind.Structure
572
Return
TypeKind
= TypeKind.Submission
588
Dim name = If(
TypeKind
= TypeKind.Submission, SynthesizedEntryPointSymbol.FactoryName, SynthesizedEntryPointSymbol.MainName)
820
If Me.
TypeKind
= TypeKind.Interface Then
1086
''' Requires less computation than <see cref="TypeSymbol.
TypeKind
"/>== <see cref="
TypeKind
.Interface"/>.
1271
Select Case fieldType.
TypeKind
1274
ExceptionUtilities.UnexpectedValue(fieldType.
TypeKind
)
Symbols\NamedTypeSymbolExtensions.vb (1)
110
Return container.
TypeKind
= TypeKind.Module OrElse container.IsScriptClass
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
415
Return _underlyingType.
TypeKind
Symbols\Source\ImplementsHelper.vb (1)
396
ElseIf interfaceType.
TypeKind
= TypeKind.Error Then
Symbols\Source\SourceDeclareMethodSymbol.vb (1)
44
If ContainingType.
TypeKind
<> TypeKind.Module Then
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
2673
propertySymbol.ContainingType.
TypeKind
= TypeKind.Structure Then
Symbols\Source\SourceMemberMethodSymbol.vb (2)
755
Select Case ContainingType.
TypeKind
764
Throw ExceptionUtilities.UnexpectedValue(ContainingType.
TypeKind
)
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
216
If named.
TypeKind
= TypeKind.Class AndAlso Not named.IsNotInheritable Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
90
Select Case propertySymbol.ContainingType.
TypeKind
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (1)
27
Debug.Assert(container.
TypeKind
= TypeKind.Submission)
Symbols\SubstitutedNamedType.vb (1)
208
Return OriginalDefinition.
TypeKind
Symbols\SymbolExtensions.vb (1)
34
Select Case DirectCast(target, TypeSymbol).
TypeKind
Symbols\TypeParameterSymbol.vb (1)
246
If (constraint.
TypeKind
= TypeKind.TypeParameter) Then
Symbols\TypeSymbol.vb (1)
583
Return Me.
TypeKind
Symbols\TypeSymbolExtensions.vb (21)
118
Return type.
TypeKind
= TypeKind.Enum
140
Return type.
TypeKind
= TypeKind.Class
146
Return type.
TypeKind
= TypeKind.Structure
152
Return type.
TypeKind
= TypeKind.Module
233
Return type.
TypeKind
= TypeKind.Delegate
409
Select Case this.
TypeKind
417
Throw ExceptionUtilities.UnexpectedValue(this.
TypeKind
)
634
Select Case derivedType.
TypeKind
735
fieldType.
TypeKind
= TypeKind.Enum
746
If type.
TypeKind
= TypeKind.TypeParameter Then
761
Return (type.
TypeKind
= TypeKind.TypeParameter) AndAlso
774
Return (type.
TypeKind
= TypeKind.TypeParameter) AndAlso
828
Select Case current.
TypeKind
853
Select Case current.
TypeKind
888
Throw ExceptionUtilities.UnexpectedValue(current.
TypeKind
)
1060
If type.
TypeKind
= TypeKind.Class Then
1066
If typeArgument.
TypeKind
= TypeKind.Delegate Then
1082
If type.
TypeKind
= TypeKind.Delegate Then
1096
If type.
TypeKind
= TypeKind.Delegate Then
1131
If type.
TypeKind
= TypeKind.TypeParameter Then
1139
If type.
TypeKind
= TypeKind.TypeParameter Then
Symbols\UnboundGenericType.vb (1)
205
Return OriginalDefinition.
TypeKind
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (1)
80
Return Me._underlyingType.
TypeKind